Linux Today: Linux News On Internet Time.

Separate Content From Presentation With XSLT and SimpleXML

Oct 09, 2008, 07:35 (0 Talkback[s])
(Other stories by Jake Miles)

[ Thanks to jmalasko for this link. ]

"Most Web applications take user data, translate it into a form storable in a database, and then take that database data and translate it into a Web page. When creating a Web page from data, one approach is to create a single PHP page that acts as a template for the Web page, which contains all of the database queries and other logic necessary to restructure the data into a form usable by the page. One problem with this approach, however, is that it mixes concerns together:
Free registration required--ed."

Complete Story

Related Stories: