Thanks Dylan, Joshua and Nick (and Amit), for the info!
Talk about 6-degrees of separation between the backend and presentation
:)
I'm currently facilitating a class learning HTML/CSS/JavaScript as part
of a Certificate IV in WebDesign. We've been learning XHTML 1.0 from the
start, separating
Hi Michael,
One thing I'd suggest if you're learning PHP is to from the very start
try as much as possible to avoid having PHP generate your HTML (as in
your example).
I started coding PHP over 4 years ago using an e-commerce system that
generated large amounts of the HTML and I still now
Couldn't agree more. One other suggestion, though, is to extend that
separation a little further by generating XML with PHP, and then parsing
that XML into whatever templating engine you end up using. This just
provides another degree of separation, and reduces the temptation to
hard-code ANY
... a bit much to ask?
Just wondering if anyone knew of any such tutorials. Those on php.net
seem as if they were written by C programmers wanting to learn php. Yet
those on webmonkey are so old that they still use things like:
echo FONT COLOR='red'Hi there;
Makes it very hard to help HTML