Everytime i see a code snippet it's full of HTML <? --- ?> HTML <? --- ?> HTML <? --- ?>
I would rather use objects and classes for everything (session/authentication management, querys, rendering html tables, forms etc...). But it seems that people are "scripting" instead of "coding" and I wonder why's that?
Does php loose (a lot of) performance each time you include a 'my_class.inc' and each time you do '$my_thing = new thing()' ????
If so, how do I measure (predict) the performance of my application if I'm working at my home machine?
If 3 months from now I have 10000 page hits per hour on an application server, do I have to re-write everthing in the old "<TD><?=$data_cell?></td>" way?
Thanks a lot.
André