Re: WYSIWIG CMS Part1
| From: | Kevin Waterson | Date: | Mon, 10 Feb 2003 21:54:53 +0000 |
| Subject: | Re: WYSIWIG CMS Part1 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135120@lists.php.net to get a copy of this message | ||
This one time, at band camp,
Hardik Doshi <php_hardik@yahoo.com> wrote:
> I know how to write XSL style sheet along with XML
> document. But i really dont know what contents should
> be in XML. If XML contains data (and it is true) then
> what is the need of MySQL? At last i can say i don't
> know application of XML and XSL for seperating PHP and
> HTML code.
I am putting together a cms as we speak
I use PHP for my logic, and MySQL for dynamic content storage
I extract info from the db using PEAR sql2xml class to put
all the info in a XML string and then
use xslt/sablotron to call the xsl template and render the
page
Kind regards
Kevin
--
______
(_____ \
_____) ) ____ ____ ____ ____
| ____/ / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia