RE: [fw-general] Abstracting model queries

2007-10-04 Thread Adam Torrino
x27;post_id = ?', (int) $post_id); return $this->_queryActive($select)->fetchOne(); } } Note I also removed the default value for the $post_id parameter, instead making that parameter mandatory. Do you really want to allow this method to be called without a post id?

[fw-general] Abstracting model queries

2007-10-04 Thread Adam Torrino
Hey, Quick question for the design gurus of large web apps using ZF (or similar framework): In situations where an app has many special data requirements and non-trivial queries, as well as the wish to optimize queries as much as possible, it may make sense to use raw queries rather than things

Re: [fw-general] ZVE dispatch controller action

2007-09-19 Thread Adam Torrino
setResponse($response); } -Adam - Original Message From: Pádraic Brady <[EMAIL PROTECTED]> To: Adam Torrino <[EMAIL PROTECTED]> Cc: Zend Framework General Sent: Wednesday, September 19, 2007 10:33:49 AM Subject: Re: [fw-general] ZVE dispatch controller action Hi Adam, The way the c

[fw-general] ZVE dispatch controller action

2007-09-19 Thread Adam Torrino
Hi all, LOVE Zend_View Enhanced and have begun using it for a large project... only problem I've noticed is when trying to render the result of a controller action into a layout. The idea is to have a Sidebar controller just for this purpose, and each action being a separate sidebar "widget", a