Login   Register  
PHP Classes
elePHPant
Icontem

Star rating package: Process and show rating stars given by the user

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

  Author Author  
Picture of akash
Name: akash <e-mail contact>
Packages: 3 Browse all classes by akash Browse all classes by
Country: India India - PHP jobs in India
Age: ???
All time rank: 93246 in India India
Week rank: 1394 Down108 in India India Down
Innovation award
Innovation award
Nominee: 1x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz  
This class can be used to process and display rating stars given by the user to site content.

It can generate HTML and Javascript to let the user rate site content.

When the user rates content an AJAX request using Iframe is sent to the server to avoid page reloading.

The class updates the content ratings stored in a MySQL database and renders updated content ratings as response to the AJAX request.

  Classes of akash  >  Star rating package  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Star rating package
Base name: rating-package
Description: Process and show rating stars given by the user
Version: -
PHP version: 5.1
License: GNU General Public License (GPL)
All time users: 1458 users
All time rank: 2434
Week users: 1 user
Week rank: 1942 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Content management Components and tools to manage content View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes


  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.
  Files folder image Files  
File Role Description
Files folder imageimages (3 files)
Accessible without login Plain text file javascript.php Aux. includes javascript to the code and downloads the images required
Plain text file RatingManager.php Class PHP class which handles all the code and the requests
Accessible without login Plain text file set-item-rating.php Example Page used to save the rating for item
Accessible without login Plain text file sql.txt Data Rating table used for the rating system. Create this table in any database and rename the table name. Make the respective changes in the RatingManager.php constants also
Accessible without login Plain text file test.php Example Example page, run this page to test the functionality

  Files  /  Files folder image images  
File Role Description
  Accessible without login Image file star1.gif Icon Star image
  Accessible without login Image file star2.gif Icon Star image
  Accessible without login Image file star3.gif Icon Star image

Download Download all files: rating-package.tar.gz rating-package.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.