Star rating script with Php, MySql and JavaScript
0.0 (0 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
5 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Star rating script with Php, MySql and JavaScript to your Wishlist.

Add to Wishlist

Star rating script with Php, MySql and JavaScript

Create a fully functonal rating system which you can add to any website
0.0 (0 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
5 students enrolled
Created by Nevyan Neykov
Last updated 8/2017
English
Current price: $10 Original price: $35 Discount: 71% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 36 mins on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • create and integrate full-functioning star-rating system into their websites
  • learn basic concepts of integration between javascript, php and mysql
  • learn helpful programming techniques
View Curriculum
Requirements
  • Basic javascript, php, mysql knowledge
  • You should have php mysql and web server installed
Description

With simple design and programming techniques the step by step videos of this course will show you how to create optimized star rating system with the help of PHP, MySql and JavaScript languages and implement it in your website with no-to-basic previous knowledge required! The rating script also features registering of votes from unique IP addresses, making it harder to fake the votes. In the end you will gain solid knowledge on the overall real-life web developing process.

Who is the target audience?
  • beginners and intermediate students
  • anyone who wants to learn how to code web applications
Students Who Viewed This Course Also Viewed
Curriculum For This Course
+
Introduction
9 Lectures 35:31

In this lecture you will begin to create html/css mock-up design for the star-rating script.

Preview 04:13

We will refine the design and add CSS rules for doing simple animation when users hover their mouse over the stars.

Refining the design using CSS tricks
03:35

Using PHP will create helper functions for calculating number of stars based on provided rating.

Preview 04:12


We will output the star-rating HTML code, this time automatically using PHP.


Preview 03:00

In the lecture you will see how to interact with databases, create rating table and how to fetch data from.

Fetch rating data from mysql database
05:06

You will learn how to make AJAX requests to request data from PHP files. AJAX is helpful when we want to send data to server and the same time to stay on the same web page, just like when we vote.

Add interractive functionality to the rating system with JavaScript
05:06

This time we will handle events with event-listeners, attaching them to each and every star in order to capture the user vote.

Attach and handle events to the script
03:56

In the lecture you will see the main logic behind registering(saving) votes with the help of php. In order to accomplish this we will program three logical cases: when the user has voted, when not, as well as when the current star-rating element already has registered votes in the database.

Save star data into database using php
03:21

We continue with the coding exercise to encompass all the cased in which user can vote. Then we test the script to ensure it is properly working. The working source code is also included as a downloadable resource.

Saving the data continued
03:02
About the Instructor
Nevyan Neykov
5.0 Average rating
1 Review
14 Students
4 Courses
SEO and WebDevelopment consultant

I do web design, development and implementing SEO for more than 15 years. Have been working in various companies dealing mainly with PHP and JavaScript. 

Right now pursuing a computer science PhD in Bulgaria, where usually teach students on interactive web programming. 

Independently as well as in teams, am involved in design and development of an user friendly websites.