Ok – so what I thought I might try doing is using the Zend Navigation class to create a menu and sitemap. As described in the tutorial here
I was able to initiate the class and output the XML data into an array. However, im not sure how to use the Zend_Navigation menu function. In the tutorial they use $this->navigation()->menu(); to output a menu list, although i’m not sure how to do it in Yii.
Also, does anyone know the pros / cons of using xml? Is it better for seo, more server intensive, etc… ? I’m just wondering when it would be beneficial to use XML in your applicaton.
After doing some research I can now see the benefits of using XML extensively within an application. Making your data readily available to external sources is a good idea.
I’m going to experiment a bit with simpleXML and build my own xml interpreter to manage my navigation, breadcrumbs and sitemap. If anyone has already built a class to work with Yii and would like to share please get in touch!