SEARCH:
 
Home : All categories : XML and PHP : Menu Handling Class with SimpleXML and PHP

Menu Handling Class with SimpleXML and PHP



The big part of programming web applications is writing a lot of code - time-consuming. Classes are usefull to save time. This class is taking care of the menu handling. The XML file is easy to create: Main navigation and sub navigation differ only from the name of the node, the id of main and sub node must be the same to assign to each other. The menu class handles how and when to open and close the navigation elements. The script controls nine variables you deliver according to your environment and XML file by adapting the PHP code in the HTML file. The script is made of two parts: In the first part the class loops through the XML file counting all the values from the main nodes and sets text, Url and Id to access the corresponding sub elements. In part 2 there are three parts: First we read the id and set the corresponding main elements (if id is 2 we show only 2 main elements), second we show all sub elements with the same id and third we show the rest of the elements.


Visit site to download...

XML Parser
This can be seen as XML SAX parser framework. With it, you can easily create parsers for your custom
diggMonitor Live!
diggMonitor live! is a Web2.0 script that displays popular dugg items using AJAX. Features 100% Cros
Tam Tam news
Tam Tam news allow you to publish a news, vote for it, and let it published with an RSS feed (XML).
rbMyXml
rbmyxml is a PHP class to generate XML data files from generic SQL queries. It works with MySQL.
FeedCreator
Create RSS and other feeds with PHP. FeedCreator features an easy to use and well documented class i
SimplyGator
Free, open-source RSS aggregator with fast ajax-based interface. Sorting incoming feeds by categor
Free RSS Feed Generator
Now anyone can instantly and easily generate validated RSS feeds. Super fast php script with a MySQ
rssClient
rssClient lets you pull down an RSS feed, cache it locally, and extract the most commonly used bits
SimplePie
Fast and easy-to-use with complete function documentation, tutorials, and instructions. Developers
QuickHP
QuickHP is a kind of content management system with a new approach. It uses XML and XSLT to provide