Using PHP 4 DOMXML for Product Catalogue Display App
Posted: Sat Dec 03, 2005 8:27 am
Hello,
I thought i'd throw this idea that i had and get some views on this.
I want to develop a dynamic driven product catalogue display app. using an XML file as my database and PHP XSLT Processor and XSLT as my processing
My application processor appears simple in thoery
I have an xslt document that deals design and layout
and i have another one with processes on what data to get from the xml file
come of the basic xslt process are as follows
Heres where i want some feedback from.
in theory i propose that i will h ave a php process that takes url parameters that will be used to set some of the xsl variables needed to make the xslt processes work appropriately.
The php process consists for using the "XSLTProcessor" function to import the processing xslt and "resetting" its paramaters then including the xml file for output
so WALLA!!!! this is my project plan What do you guys think....See i dont really know how to implement xml into my php applications and how it should be implemented so this was one of my attempts.
What do you think?
Now bear in mind the following
I thought i'd throw this idea that i had and get some views on this.
I want to develop a dynamic driven product catalogue display app. using an XML file as my database and PHP XSLT Processor and XSLT as my processing
My application processor appears simple in thoery
I have an xslt document that deals design and layout
and i have another one with processes on what data to get from the xml file
come of the basic xslt process are as follows
- sort
- get item by id
- get items by category
- a limit of items to get
Heres where i want some feedback from.
in theory i propose that i will h ave a php process that takes url parameters that will be used to set some of the xsl variables needed to make the xslt processes work appropriately.
The php process consists for using the "XSLTProcessor" function to import the processing xslt and "resetting" its paramaters then including the xml file for output
so WALLA!!!! this is my project plan What do you guys think....See i dont really know how to implement xml into my php applications and how it should be implemented so this was one of my attempts.
What do you think?
Now bear in mind the following
- I wanted to a way to implement xml/php
- I wanted to have a site search which i found would have been complex to incorporate Mysql Database information into