Polling/Rating latest...

Posted by Steve Longdo Thu, 02 Feb 2006 03:24:00 GMT

Work has been slow going on my polling plugin. My day job has been sapping my energy for working on Rails projects when I get home.

That said I have been able to solve some of the issues I posted about earlier and some progress has been made. I have given the code for the Horizontal CSS bar graph to topfunky to include in his CSSGraphs plugin. I finally was able to get poll results to show up in the Typo sidebar. My local verison of Typo is severly hacked to accomplish this. Unfortunately this makes the polling code difficult to distribute. I have decided to rethink my entire approach to the project.

I am going to rewrite polling as a Rails engine to better facilitate code sharing and obviate the need for a hacked verison of Typo. I will make some sort of Typo integration with the polling engine available. Perhaps even making the polling information available through a web service. Before I do any of that though, I want to add a stripped down version of polling as a rating plugin for Rails. Rating will be implemented in the style of the acts_as_* ActiveRecord mixins. A model would have acts_as_rateable and the table would need a rating_id column. I have detailed this a bit better on my projects page. I may have to pursue rating as an engine since there would need to be some sort of rating input widget. The experiment continues...