• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Help with star rating system

 
Ranch Hand
Posts: 52
Netbeans IDE PHP Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Best, ranchers!

I need to come up with a good star rating system that uses decimal values with a range from 0-10 hence incremented with a step size of 0.1
Is this even possible? Most rating system uses a range of 1-5 stars.

What technologies out there do i need to accomplish this? I've seen that the most rating system uses JQuery, a part of javascript I don't
wan't to use in this case also many uses Ajax, which is a whole new science to me. I wonder if someone could point me in the right direction?
Maybe post some good links on tutorials or examples out there or some small code examples that can inspire me.

I am using php and mysql as main back end technologies.

Very kind regards,
Robert!
 
Marshal
Posts: 67289
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Robert,

Sounds like you are starting pretty much from scratch. So before getting into the details of the start rating system, you need to get some basics under your belt first.

You mentioned Ajax -- so I assume that you are using Ajax to get the rating value for a server? Start there.

If you are not using any other framework (Recat, Due, Angular, or son on), I'm not sure I understand the aversion to jQuery -- it'll make everything at least a single of order of magnitude easier.

So, write up some code to get your rating value via Ajax. From there we can help with whatever further action is need to get it to display in the manner you wish.
 
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!