You are free to browse all of the content on this site, however if you want to post comments or replies you will need to register for a free account. Becoming a registered member also disables some of the more annoying ads whilst you are logged in.

Home

My latest development project (Fall of empires: Intergalatic) is being built using the brand new Zend framework 2 and Doctorine ORM due to the youth of the former I was unable to find any documentation on how to setup authentication in zend framework 2 using the doctrine 2 authenication adapter, so to save others on scouring the code for clues on how to do it here it is.

In the wake of the Sandy Hook killings, there's been a flurry of activity on the activist front, from all over the spectrum. I've engaged in gun rights debates in assorted venues prior, and many of my friends and acquaintances were quick to want to revisit the debate as soon as an hour after reports began filtering in. At the same time, it scarcely took days before the various media talking heads and politicians began clamoring for more gun control, allowing teachers to carry firearms, or looked at those events as an excuse to promote their desire for a theocratic state. (In fairness, that last bit may have a touch of hyperbole to it.) I have largely held off commenting because, frankly, no one would be willing to have a serious discussion about it that wasn't infused with raw emotions and passions. Even now, as the debate continues at a rolling boil some weeks after the event, we have the wingnut brigade screaming "CONSPIRACY!!!" every chance they get.
...

I recently had the need to create a new form element to allow users the ability to select a rating out of 5 for various categories as part of a standard form. There are various ways in which this could be done - radio boxes, select box or a simple text input but my client was fairly set on having a star rating widget. Having looked around on the internet for something to use for this, all I could find was star rating widgets designed to act on their own and not as part of a form. Additionally, none of the solutions would work if javascript was disabled, this left me needing to create on of my own, which I thought I'd share.