Web Applications
ColorRating
A PHP/jQuery based 5-star Ajax rating script.
Easy To Deploy
ColorRating requires no database setup or administration as it comes with it's own SQLite database, making deployment as easy as unzipping the files.
ColorRating is small - only 5kbs of CSS/JS/PHP - and degrades gracefully for users without JavaScript.
Downloads
Demonstration
Documentation
Instructions:
Add the following to the head of your php/html document:
<link rel="stylesheet" type="text/css" href="rating/rating.css" media="screen"/>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" >google.load("jquery","1.3.2");</script>
<script type="text/javascript" src="rating/rating.js"></script>
<?php include('rating/rating.php'); ?>
Add the following to the body of your document for each instance of the rating script and replace "unique_table_name" with your own unique name for the object being scored:
<?php rating_form("unique_table_name"); ?>
You will need to make sure that you set write permissions for the database folder.
Requirements:
ColorRating requires the PDO extension for PHP with the sqlite driver enabled.
ColorRating works with or without javascript, but requires jQuery for Ajax functionality.
How to check if your hosting service provides sqlite support
Type <?php phpinfo(); ?> into a new .php file and save. Upload this to your host and open it in your browser. This should display your php configuration. Search the page for 'PDO' and check to confirm that it is 'enabled' and that 'sqlite' is listed as one of the drivers.

Released under the MIT License.
Author
Hi, I'm Jack Moore and I'm the designer/developer for this project and this website. You can follow me on twitter if you are interested in updates to my work.
I am also on the lookout for other meaningful projects to take on that can be shared with the community. If you are interested in contracting Color Powered to assist with a project, jQuery or otherwise, contact Alex or myself.