Re: [WSG] Standards-based PHP tutorials for beginners...

2004-09-09 Thread Michael Nelson
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

Re: [WSG] Standards-based PHP tutorials for beginners...

2004-09-08 Thread Nick Lo
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

Re: [WSG] Standards-based PHP tutorials for beginners...

2004-09-08 Thread Joshua Street
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