Ratings added to CFLib

This morning I pushed up ratings to CFLib. CFLib used to have ratings some time ago, so this is actually an old feature coming back. I used the same jQuery plugin that SlideSix uses (http://php.scripts.psu.edu/rja171/widgets/rating.php). To be honest, I really don't like this plugin. Turning off the cancel was a pain in the rear. I would have used the Spry rating widget instead, but I really wanted to give jQuery ratings a try. At the end of the day though it works, so I'll leave it be. One nice thing about it though - I can pass it a rating value of X.2 and it rounds it down to X starts. Pass it X.5 and it correctly shows a half star.

Later this week I'll be adding a right hand list of the top rated UDFs.

Oh, and in case folks are curious, I did not add any protection from multiple voting. I originally used code that stored your rankings in a session variable. I turned that off during testing and didn't bother re-enabling it. I figure it someone is so bored they want to cheat their UDF up, more power to em. ;)

Comments

salomoko's Gravatar quick concern.

is cflib.org written in any framework?
# Posted By salomoko | 12/30/08 9:10 PM
Raymond Camden's Gravatar Model-Glue and Transfer and ColdSpring.
# Posted By Raymond Camden | 12/30/08 9:19 PM
salomoko's Gravatar right on! obviously with some coldcourse action right...?

good job! I like it!

cheers
# Posted By salomoko | 12/30/08 9:23 PM
Raymond Camden's Gravatar I have to admit - I don't know what coldcourse is. Obviously I'm not using it. ;)
# Posted By Raymond Camden | 12/30/08 9:24 PM
salomoko's Gravatar hah! sorry I may have it wrong myself, but never the less, I was getting at how you handle your SES urls?

sorry
# Posted By salomoko | 12/30/08 9:34 PM
Raymond Camden's Gravatar On my local dev environment, I use Apache, and SES URLs are built in. Production is IIS and I use IIRF, a free URL rewriter plugin. In general I don't recommend using a different dev web server than production, but it's just my personal sites.
# Posted By Raymond Camden | 12/30/08 9:36 PM
salomoko's Gravatar cool thanks.

http://coldcourse.riaforge.org/

c'mon man, you don't know every single project by heart on riaforge? ;-)
# Posted By salomoko | 12/30/08 9:40 PM
existdissolve's Gravatar I've been using Spry's rating widget for a while now, and I've been quite pleased with it. As with all things Spry, it is ridiculously easy to implement, and works quite nicely with the server-side interactions as well.
# Posted By existdissolve | 12/30/08 10:31 PM
Erik Vold's Gravatar Sweet thanks!
# Posted By Erik Vold | 12/31/08 12:47 AM