|
Re: Best practices in a thin-controller application: msg#00129php.zend.framework.mvc
On Tue, Jul 22, 2008 at 11:34 AM, Adam Jensen <jazzslider-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote: And you're absolutely right about the varying subclasses of exceptions Which brings me to another question, maybe sort of OT. If your model's constructor requires an id parameter, how do you instantiate a "blank" object to be populated with data provided by the user and then -- excuse me for thinking database -- inserted into a table? I am thinking of RDMSes that have auto-incrementing.You find out the id after the insert.
-- David Mintz http://davidmintz.org/ The subtle source is clear and bright The tributary streams flow through the darkness |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Best practices in a thin-controller application: 00129, Bryce Lohr |
|---|---|
| Next by Date: | Zend_Paginator and Zend_Db_Table_Select objects: 00129, Hector Virgen |
| Previous by Thread: | Re: Best practices in a thin-controller applicationi: 00129, Bryce Lohr |
| Next by Thread: | Re: Best practices in a thin-controller application: 00129, Adam Jensen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |