Re: php+html mixup in displaying multidimensional array in html tables [message #176857 is a reply to message #176855] |
Sun, 29 January 2012 11:55 |
r.mariotti
Messages: 17 Registered: December 2011
Karma:
|
Junior Member |
|
|
After developing numerus commercial sites over the past decade+ all
the php I've created is by far mostly procedural. I personally never
leave php and output my pages with a "print <<<EOD" and the entire
page follows, variaables embededded and all.
Easy to create, read, follow, maintain, etc.
Just over a year ago I inherited a large Drupal site with over 10K
pages. Talk about dropping in/out of code... this site will do so
4,6,8 times per LINE. Its not only hard to follow the logic but even
harder to find the html one might be looking for. And to me the
killer is when they use things like this: <?php "}"?> to end a logic
block. Try and find those on a large page.
Do the drop in/out techniques work? Of course. But so does poorly
structured english written sentences. But they're almost impossible
to read.
Just my $.02 1/2 cents on this topic.
|
|
|