
June 13th, 2003, 02:34 PM
|
|
Junior Member
|
|
Join Date: Jun 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Separating Code and Content
I've been using ASP to create my database-driven websites for about 2 years now and I'm getting a little sick of always having the scripting code mixed in with how the page should look.
All I can imagine doing to solve the problem is to pre-build any content(with minimal html formatting) early on in the script and then output those strings in the desired spots on the html section.
I've also been told that I should use XSLT to separate code and content, but I'm a little hazy as to how the model works. The way I understand it, I change all my ASP to output ONLY XML and then I set up the server to run XSLT on the those XML pages based on style sheets that I design. Is this correct?
If so, what are the best programs to use to support this 'ideal' code and content separated form of development on the ASP platform?
ASPiring web developer,
Matias Nino
URL
|