Re: OT: CodeIgniter Routing

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Autor: Tom Haws
Data:  
Dla: Main PLUG discussion list
Temat: Re: OT: CodeIgniter Routing
I have a question/thought.

If a lot of the CRUD is repetitive (similar table structures), would it be
appropriate to create a models/generic_model.php that has the generic CRUD
functions/SQL and a set_table method or some other way of passing it a
table name to enhance DRY programming?

Tom
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss