Ever since I wrote the tutorial on Reddit-style Voting With PHP, MySQL and jQuery, I get around 300 visitors everyday with keywords like "php voting", "jquery votes", "jquery vote up down", "php vote tutorial", "votes php mysql" and many other keywords. So I thought about writing a round-up of voting scripts and tutorials using PHP as the server-side language. Here are the tutorials and scripts that might be of your use. If you think I missed anything, do let me know in the comment section. You can also have a look at the round-up section for more such round-ups. :-)

Scripts

1. ColorRating: A well-documented, easy to use voting script. Higly configurable and easy to integrate with your database. It uses jQuery for a nice animated effect.
2. PHP Voting by Richard Silvers: A "fairly" simple PHP voting script. It allows users to vote and view the total results of the vote.
3.Star Rating Widget: The Star Rating widget is a plugin for the jQuery javascript library that creates a non-obstrusive star rating control based on a set of radio buttons or select option.

Commercial Solutions

1. Ajax Feature Request and Voting ($14): It's simple and a lot like Dropbox's votebox page.
2. ThumbsUp ($17): This is probably the best commercial script that is available. It comes with a slew of options — in various shapes and sizes. AJAXed!

Tutorials

1. Voting system with jQuery, Ajax and PHP: A very detailed tutorial on Dzone like voting system with jQuery, Ajax and PHP. This script helps you to display user votes on blog post.
2. A Simple PHP Polling/Voting System: This article will illustrate how to create a very simple, clean polling or voting system using PHP 5.0 and the DOMDocument object model. This allows the polling system to read and write polling results to XML, instead of say, a MySQL database like many conventional polling systems.
3. Creating a simple file based polling script: This tutorial will show you how to create a simple, file based polling system where you can easily setup new polls. No database is required for this script and you only have to maintain one config file.
4. Creating a Dynamic Poll with jQuery and PHP: This tutorial shows how to create a simple polling system that doesn't need a page-refresh to show the results.
5. How to Build a Poll System with PHP and MySQL [Demo]: This is pretty simple tutorial that explains how to polling with PHP and MySQL works. It offers the source-code, too.
6. Sort & Vote – A jQuery Poll: This is a very detailed tutorial on an innovative concept of polling with jQuery. The end result lets users drag items in order of preference and then submit it for polling!

Bonus

Very Simple Rating System - AJAX via jQuery, JSON: I guess, it's in Russian. Digg-like voting using jQuery, JSON.

Labels: , ,

blog comments powered by Disqus