PHP Classes
Icontem

Class: Sortable Elements


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sean Dempsey  >  Sortable Elements  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Sortable Elements Support forum
Base name: sortable_elements
Description: Display MySQL records in a sortable HTML table
Related top rated classes:
Version: 1.0
Required PHP version: 3.0
License: GNU General Public License (GPL)
All time users: 1735 users
All time rank: 1566
Week users: 6 users
Week rank: 1363
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

Screenshots

screenshot - no action
File Role Description
Accessible without login Image file screenshot1.gif Screen screenshot - no action
Accessible without login Image file screenshot2.gif Screen screenshot - drag item
Accessible without login Image file screenshot3.gif Screen screenshot - editing item

Author

Picture of Sean Dempsey
Name: Sean Dempsey <e-mail contact>
Published packages: 3 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Home page: http://www.seandempsey.com/
Age: 25
All time rank: 529
Week rank: 193

Innovation Award

PHP Programming Innovation award nominee
February 2008
Number 2
There are plenty of solutions to display data from databases in table grids that allow the user to according to the values a given column.

This package provides a solution to different problem, which is the need that certain applications have to let their users sort data to their own criteria.

The package provides an elegant user interface that lets users drag the entries of the listed database records and drop them in whatever position the users want. The class uses AJAX to commit the sorting changes without reloading the current page.

Manuel Lemos

Groups

Group folder image HTML HTML generation and processing View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes

Detailed description

This class can be used to display MySQL database table records in an HTML table that can be sorted by dragging rows.

It generates HTML and Javascript to display the records of a MySQL table in HTML table rows that can be dragged to sort the table elements.

The class sends AJAX requests to send changes of the table elements to the server so the changes can be stored in the MySQL table without having to reload the page.

Freshmeat project

Sortable Elements
Project record: sortable_elements
Popularity score: 7.14
Vitality score: 0.0

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
Class Walkthough / Demo Detailed walkthough of how to use the class.
Download Working Demo A working demo with all files in proper directories (with scriptaculous included)

Files

File Role Description
Plain text file ajax_save.php Aux. ajax file to allow asyncronous editing
Plain text file db.php Example sample database connectivity script (with excellent functions for querying a mysql db)
Plain text file example.php Example Test script
Files folder image js
  Plain text file ajax_functions.js Data javascript base ajax functions
  Plain text file javascript_functions.js Data base javascript functions
Files folder image scriptaculous
  Plain text file builder.js Data part of scriptaculous package
  Plain text file controls.js Data part of scriptaculous package
  Plain text file dragdrop.js Data part of scriptaculous package
  Plain text file effects.js Data part of scriptaculous package
  Plain text file prototype.js Data part of scriptaculous package
  Plain text file scriptaculous.js Data part of scriptaculous package
  Plain text file slider.js Data part of scriptaculous package
  Plain text file sound.js Data part of scriptaculous package
  Plain text file unittest.js Data part of scriptaculous package
Plain text file sortable_elements.css Data css file to assist visualization of sorting
Plain text file sorting.inc.php Class Class file
Image file warning.gif Icon icon to go with report or error message
Download all files: sortable_elements.tar.gz sortable_elements.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products