New Member
I know that there are various technologies out there for templating the presentation layer of a web application and keeping it separate from the business logic. If I remember right, Joomla CMS, which the TechLDS website appears to be running, uses CSS, XHTML, and a series of calls to Joomla specific PHP functions that produce the dynamic content. Other PHP applications use Smarty.
In the web application development at the company where I work, we have chosen to use XSLT for our presentation layer. So the business logic and MVC framework of our web application only produce XML documents. Then the resulting XML is passed to an XSLT parser along with the XSL template to use to transform the XML into an XHTML, CSS, Javascript webpage. This way our presentation logic is not only separated from the business logic itself, but is also largely language independent. Right now our code is primary written in Object Oriented PHP5, with a PostgreSQL data model. Theoretically, if we decide that we need to change portions or all of the backend application to use different technologies, as long as those technologies produce the same XML documents, the presentation layer should work with little modification. Of course, practically, different XSLT parsers will likely not work the same.
What technologies does the church currently use to separate its presentation from its business code? Are there other approaches in the works?
And out of curiosity, what do other LDS web application programmers out there use?
In the web application development at the company where I work, we have chosen to use XSLT for our presentation layer. So the business logic and MVC framework of our web application only produce XML documents. Then the resulting XML is passed to an XSLT parser along with the XSL template to use to transform the XML into an XHTML, CSS, Javascript webpage. This way our presentation logic is not only separated from the business logic itself, but is also largely language independent. Right now our code is primary written in Object Oriented PHP5, with a PostgreSQL data model. Theoretically, if we decide that we need to change portions or all of the backend application to use different technologies, as long as those technologies produce the same XML documents, the presentation layer should work with little modification. Of course, practically, different XSLT parsers will likely not work the same.
What technologies does the church currently use to separate its presentation from its business code? Are there other approaches in the works?
And out of curiosity, what do other LDS web application programmers out there use?