|
| Title |
Author |
Notes |
Category |
Posted |
Tags |
Rating |
| Quick List/Update/Create table snippet |
benigno |
I do not particularly like having a function for each of the standard operations (select, update, create) on a single table. Moreso when I am prototyping or just want quick cruds. Not only do they clutter the controller a lot but they also end up being nasty URIs.
So here is a little piece of very basic code, that I find myself reusing again and again. I hope it is useful for you too. |
Controller |
2009-12-09
|
snippet
|
0
|
|
|
mr.freeze
mr.freeze
jumi
paulgerrard