Archive | January, 2009

sfPokaYokePlugin symfony Client Side Validation

The sfPokaYokePlugin (pronounced with the ‘e’ on the end e.g. poka-yoki). Simply put it is the use of simple mechanisms that stop mistakes being made. sfPokaYoke provides client-side form validation based on existing action.yml validation files. This validator will provide fully configurable inline errors on blur events and listed errors once the form is submitted.

This plugin was built after reading “Designing the Obvious” by Robert Hoekman, jr. and working with a number of unsatisfactory validation libraries. It is intended that this plugin will allow you to configure the validation and feedback to make your forms poka yoke devices i.e. impossible for users to make any errors while entering data.

Thanks to Alon Noy for a starting point for the validators! The following symfony validators have been ported to JavaScript implemented in the plugin:

  • sfStringValidator
  • sfNumberValidator
  • sfRegexValidator
  • sfEmailValidator
  • sfCompareValidator

I also plan to implement a client side callback validator that will allow you to call your own client side validators or even call ajax function to run server side validation in real time. Read More…

Hello world!

Welcome to yet another wordpress blog. I have spent the last few months trying to complete my symflex cms project but have just not had the time to complete it. So rather than wait any longer and continue to delay my foray into the world of blog writing I have quickly uploaded wordpress and following the 5 minute install guide it is completely up and running.So here we are, yet another blog, yet another developer with something to say? Well I hope that a some point I write something that will be of use to someone. Here is a sneak peak at what I hope to write about over the next few posts.

  • PokaYoke – one of my contributions to the symfony framework. Client side validation component that integrates with the symfony framework or that can equally well be used with any project that requires simple and very configurable clientside validation.
  • Eclipse PDT – setting up the ideal combination of eclipse plugins for web development
  • Parallels Virtual Appliance – setting up a Fedora based virtual machine to use as your development machine.

So there you have it. Welcome to my blog and feel free to pass judgment