• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FormIgniter.org launched - Easy form generator - source code now available

#1
[eluser]Ollie Rattue[/eluser]
Here is something I put together over the Easter weekend.

The problem

Building validated forms in Code Igniter takes too long because names and values need to be entered multiple times. To build a form with the form validator and form libraries you need to enter the same value in multiple places; 3 times in the view, the label, the fields error message, and the field itself, again in the controller, once more in the model, and finally you need to setup the database schema to accept these values. This is repetitive and dull.

The Solution

Build a little application to automate the large majority of this process.

Considerations

Forms tend to have some bespoke element (AJAX, sessions, custom callbacks etc). Often libraries and scripts tend to try and do the whole process and thus force you into a mold. FormIgniter should simply write 4 files; the MVC and the db schema and then get out of the way.

Where can I find this?

The live application is at http://formigniter.org/app

Further explanation and source code can be found at http://formigniter.org.

Closing Words

Let me know what you think, and any bugs you may find. I don't intend to add much to it (simplicity is key), but will be tweaking the interface over the next couple of weeks to make it a little slicker.

Thanks,


Messages In This Thread
FormIgniter.org launched - Easy form generator - source code now available - by El Forum - 04-13-2009, 03:18 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.