PHP Classes
elePHPant
Icontem

AJAX Treeview: Update tree view on demand without page reloading

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (12)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-11-20 (9 years ago) RSS 2.0 feedStarStarStar 59%Total: 7,686 This week: 1All time: 223 This week: 616Down
Version License PHP version Categories
ajax-treeview 1.0GNU General Publi...5HTML, PHP 5, Databases, AJAX
Description Author

This package can be used to generate and update an hierarchical tree of elements from MySQL database content.

A HTML page with some Javascript performs an AJAX request to obtain the list of elements of the tree from a MySQL database query.

The tree of elements is returned to the browser in JSON format.

Name: Neeraj Thakur <contact>
Classes: 5 packages by
Country: India India
Age: 38
All time rank: 103 in India India
Week rank: 244 Down28 in India India Down

Details
Class : AjaxTreeview

AjaxTreeview class fetches data from datatable for the requested parent category id. The data is then stored in array and converted into JSON format. This JSON format is then used by javascript code for populating tree view. JSON ( Javascript Object Notation ) is used as transitional language though XML based version is also available. JSON is used to make processing fast as compared to XML. For component AjaxTreeview JSON support must be available on server side. The component is multibrowser, cross database, cross server side language, fast, flexible and is very easy to implement.

For Installaton ..
	
	1. Run db.sql file on your local or remote database..
	2. Change the configuration settings for host, database name, username and password  inside services.php file.
	3. Run index.php file using php compatible web server.


About myself:

I am a PHP programmer working as Sr. Developer in Classic Informatics.

Please rate this class If you find it useful. Please feel free to contact me for queries related to this class. I would feel gratefull if i can sort out your issues related to PHP.

Thanks in advance.

Neeraj Thakur
Sr. Developer

Emails:
	neeraj_th@yahoo.com
	neerajth@gmail.com
Screenshots  
  • screen_shot.jpg
  Files folder image Files  
File Role Description
Plain text file ajax.js Data Passing AJAX request to server
Plain text file css.css Data Cascading style sheet
Plain text file db.sql Data Databasse table script
Plain text file index.php Data Demo script
Plain text file readme.txt Doc. It consist usage manual.
Image file screenshot.JPG Screen Screen Shot
Plain text file services.php Class Server side class
Plain text file tree.js Data Populating treeview

 Version Control Unique User Downloads Download Rankings  
 0%
Total:7,686
This week:1
All time:223
This week:616Down
User Ratings User Comments (6)
 All time
Utility:89%StarStarStarStarStar
Consistency:82%StarStarStarStarStar
Documentation:68%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1311
 
the package is good but it is old and yet out of date.
1 month ago (zinsou A.A.E.Moïse)
47%StarStarStar
This is very good script to show tree-view structure.
9 years ago (Bhupender Singh)
70%StarStarStarStar
There are samples! But they donīt work.
9 years ago (Alex Waller)
35%StarStar
Eazy to implement, great ;)
9 years ago (honda2)
57%StarStarStar
Good job
9 years ago (Gustavo Arcila)
70%StarStarStarStar
Easy + simple = perfect_starter
9 years ago (Rolf Andersson)
70%StarStarStarStar