Login   Register  
PHP Classes
elePHPant
Icontem

Sortable Elements

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Sean Dempsey
Name: Sean Dempsey <e-mail contact>
Packages: 3 Browse all classes by Sean Dempsey Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 28
All time rank: 27530 in United States United States
Week rank: 92 Up5 in United States United States Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Sean Dempsey  >  Sortable Elements  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Sortable Elements
Base name: sortable_elements
Description: Display MySQL records in a sortable HTML table
Version: 1.0
PHP version: 3.0
License: GNU General Public License (GPL)
All time users: 2194 users
All time rank: 1583
Week users: 0 users
Week rank: 2173 Equal
 
  Groups   Screenshots Screenshots   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

  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

  Files folder image 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


  Innovation Award  
PHP Programming Innovation award nominee
February 2008
Number 2

Prize: One book of choice by Packt
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

  Freshmeat project  
Sortable Elements
Project record: sortable_elements
Popularity score: 8.54
Vitality score: 44.17

  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 folder image Files  
File Role Description
Files folder imagejs (2 files)
Files folder imagescriptaculous (9 files)
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
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

  Files  /  Files folder image js  
File Role Description
  Plain text file ajax_functions.js Data javascript base ajax functions
  Plain text file javascript_functions.js Data base javascript functions

  Files  /  Files folder image scriptaculous  
File Role Description
  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

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.