RE: [PHP] Joining a team, where no wiki or docs are available
| From: | Daevid Vincent | Date: | Mon, 24 Sep 2012 22:07:23 +0000 |
| Subject: | RE: [PHP] Joining a team, where no wiki or docs are available | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319239@lists.php.net to get a copy of this message | ||
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@gmail.com]
Sent: Monday, September 24, 2012 12:47 PM
To: Daevid Vincent
Cc: PHP General Mailing List
Subject: Re: [PHP] 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?