View Single Post
Old 01-14-2007, 10:28 AM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
In what situations to use a while loop vs. a for loop?

How much overhead is there when including PHP files - should one try and limit the separation of code so there's less inclusion or is the overhead so negligible that even one function can go inside a file that's included when necessary?

Is it wrong in an MVC structure to use procedural code to implement objects for the purpose at hand? Like if I have a controller file that uses procedural code to work with objects created, to handle what needs to be done.

I've always wondered shit like that, but never had time to do performance tests.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote