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