RE: Joining a team, where no wiki or docs are available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That is a good point. We do not do unit tests here. Nothing against them, it’s just a bit overkill for our needs. We build lots of websites, not one massive SaaS.
 
But I’m not saying do not use OOP. I’m just saying not everything has to be OOP. It’s a subtle but significant difference.
We have OOP classes for our database connection (and of course the helper routines), memecache access/purging/etc., and then objects for actors, movies, scenes, search results, HTML templates, email, tickets, etc…  again, use the right tool for the job. When all you have is a hammer, everything is a nail. Build a toolbox. ;-)
 
From: AmirBehzad Eslami [mailto:behzad.eslami@xxxxxxxxx] 
Sent: Monday, September 24, 2012 12:47 PM
To: Daevid Vincent
Cc: PHP General Mailing List
Subject: Re:  Joining a team, where no wiki or docs are available
 
Wow. David. That was a great help with every detail !
Thanks for sharing that with us.

One side question: 
Without OOP, how do you handle Unit Tests?
Do you know a Testing framework for procedural code?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux