SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: CRUD code...
-
Mar 21, 2007, 08:28 #1
CRUD code...
In the book there is only the code for "Create" operations of the Story model (actually the form code). If i have to edit and delete those model objects which method (code) is the best? Can i generate a scaffold code to that model and take ispiration (or even the same code) from that to create a complete crud interface to my model?
-
Mar 21, 2007, 10:39 #2
- Join Date
- Aug 2005
- Posts
- 986
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yes.
-
Mar 21, 2007, 10:51 #3
-
Mar 21, 2007, 13:31 #4
- Join Date
- Aug 2005
- Posts
- 986
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you don't want to customize it, yes. You probably want to protect the create/update/destroy actions, for example.
Bookmarks