Php Ajax Tree View See document for full information! Introduction A universal control which can be placed on any webpage which shows a tree view with editable nodes. The node information is stored in a MySQL database and the web page should run in a Web 2.0 Ajax stylee. Architecture • Php • Ajaxified • Web 2.0 • My SQL Database TreeViewConrol Class (TVC) The TVC should have the following public inputs, which then will retrieve the hierarchial inputs from the database. Public Properties • OwnerID • RootNodeID • DatabaseConnection Public Methods • Refresh() • OwnerID • RootNodeID When a node is clicked it turns into a Web 2.0 style input box and should allow the user to enter data, a checkbox should be presented to allow specification of public of private data, also optional is the ability to add a “due date?? for the item being selected. At the root of each node the word “insert?? should appear which changes into a text box to allow the user to enter additional nodes into the current tree. Tree items can be moved using a drag and drop interface. All submissions should be controlled by ajax, no postbacks should occur. The visuals of the tree view control should be similar to the look of facebook ([url removed, login to view]) but not an exact copy of the styling. Database Class The interaction with the database should be a solely separate class. The visual layer should show no explicit database connection information; it should just refer to the database object.
Platform, Linux OS Should run in all main browsers. Php, MySQL, Ajax Deliverables • Overview technical document • Installation Guide • Tree View Control Class • Database Class • Web page to demonstrate the control. • SQL Scripts to install the database objects, and necessary static data.