Darren Ferguson - Weblog
20 July 2006
Poll Macro needs improving
A while back I posted a Poll macro for Umbraco. There was a reasonable amount of interest, so I posted the source.
As the original post says, this was just a very quick demo and I thought that the method of storing responses would need improving.
Niels posted a link to the demo on the Umbraco site and as a result it got several hundred responses which slows down Umbraco when trying to acess the node where the responses are stored in the GUI.
This post is just to advise against using this Macro on production systems until I (or someone else) get the chance to improve it.
I found this on codeproject http://www.codeproject.com/useritems/Site_Poll_Control.asp. Not had a play myself but looks ok.
Regards
Ismail
21 July 2006 at 16:23:28
Did anybody tell you the actual count of nodes that slowed the gui?
Best,
Jesper
09 August 2006 at 23:54:26
10 August 2006 at 09:04:53
Another solution could be to do the same as the Blog package which is to add an actionhandler that organize the votes in subnodes - one for each day ...
Jesper
10 August 2006 at 21:03:20
Why not use the autoform/document type approach for polls?
It might be a slight modified autoform control if you want to ensure that members only vote once and such but it could be cool.
Jesper
10 August 2006 at 21:08:05