Hello,

I've been working on something for the last week or so that I think
will make everyone's Cake development easier. To me, the most
frustrating part of starting a new Cake application is going through
each model and writing out the $validate array. Therefore, I created
php script that helps you actually write the $validate array so that
it's minimal work on your part. It's fairly self-explanatory how it
works. Just type out your field names and select the validation rules
you want. When you click submit, PHP will output a text page that
contains the $validate array. You can then simply copy this array to
your Cake model and move on with life

I spent absolutely zero time on look and feel, so don't be
disappointed that I haven't used pretty colors and rounded corners. It
does its job, and (if I do say so myself) it does it quite well.

The script is here: http://javavideotutes.com/oldsite/temp/cakemvalidate/

Please note that I have only tested this with Google Chrome. Please
post replies if you find any bugs (I'm sure there are a few).

The source PHP (approx 650 lines) can be viewed here:
http://javavideotutes.com/oldsite/te.../index.php.txt

Let me know what you think!

Cheers,
Trevor

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to