Re: [fw-general] No error output on page with ZF 0.9.1, just blank page

2007-03-29 Thread Jeunejean Pierre
Thank you so much Philippe $controller->throwExceptions(true) did resolve the problem. So basically, when $controller->throwExceptions() is not set to true, only parse errors are showned, but all throwned exceptions are not displayed on page or logged, but trapped in a Response object, as me

[fw-general] Re: [fw-mvc] routing optimization

2007-03-29 Thread Michał Minicki
Ivan Shumkov <[EMAIL PROTECTED]> napisał(a): >> What do you mean exactly? What's your idea of regex without >> requirements? To allow zero length string? > if requirements not present, use !empty($uriPart), if present - use > regexp. It's not that easy to implement but it's worth thinking about

Re: [fw-general] Zend_view or Smarty?

2007-03-29 Thread Shekar C Reddy
For the most performance, the one with the least overhead. Although Smarty offers several features and does a nice caching, the overhead of its huge libraries cannot simply be overlooked. On 3/26/07, Binzy Wu <[EMAIL PROTECTED]> wrote: No best, just find one which is suitable to your require

Re: [fw-general] Zend_view or Smarty?

2007-03-29 Thread frederic wolf
Shekar C Reddy a écrit : For the most performance, the one with the least overhead. Although Smarty offers several features and does a nice caching, the overhead of its huge libraries cannot simply be overlooked. Try Template lite, it offers almost the same features and does a nice caching t

[fw-general] Zend Framework is licensed ???

2007-03-29 Thread Nahalingam N. Kanakavel
Hi, Please any one help me to understand one thing very clearly, I am trying to adopt with this zend framework for my PHP development. so I just want to know whether it was licensed and if yes, what license it is. Thanks in advance. -- with regds, Nahalingam N. Kanakavel. (http://www.nahalingam

Re: [fw-general] Zend Framework is licensed ???

2007-03-29 Thread Andries Seutens
Nahalingam N. Kanakavel schreef: Hi, Please any one help me to understand one thing very clearly, I am trying to adopt with this zend framework for my PHP development. so I just want to know whether it was licensed and if yes, what license it is. Thanks in advance. -- with regds, Nahalingam

[fw-general] Conventional Modular Layout and application wide view scripts

2007-03-29 Thread Martin Carpentier
Hi everyone, I'm currently in the process of upgrading our application to ZF 0.9.1 from 0.8 . So far it's going smoothly and I took the oportunity to convert to a Conventional Modular for convenience and because since the application is an intranet, it will eventually includes a lot of different

Re: [fw-general] Zend_Service_RememberTheMilk

2007-03-29 Thread Pádraic Brady
>From what I understand the review process is temporarily in a holding pattern >until the release of 1.0. I would guess a full review will take at least until >then, and likely some weeks after. Admittedly I'm a little impatient about >such delays too, but I guess you have to live with it and le

Re: [fw-general] Zend_Acl, lazy loading, addParentRole

2007-03-29 Thread Darby Felton
Hi Phillipe, I think this is a good feature request. Would you please create a JIRA issue for this? Thank you! Best regards, Darby Philippe Le Van wrote: > Hi, > > I'm using Zend_Acl for a community site. I would like to > use a lazy loading for access right because number of acl > is too big.

[fw-general] Building a search engine with zend framework

2007-03-29 Thread José de Menezes Soares Neto
Hi again friends, I wanto to build a search engine. Could someone help me to create a abstract model of this product? I mean, there is: search insert delete update But, search needs an controller for it self? or it is part of the indexController? See? I have little questions like that...

Re: [fw-general] No error output on page with ZF 0.9.1, just blank page

2007-03-29 Thread Matthew Weier O'Phinney
-- Jeunejean Pierre <[EMAIL PROTECTED]> wrote (on Thursday, 29 March 2007, 10:24 AM +0200): > Thank you so much Philippe > > $controller->throwExceptions(true) did resolve the problem. > > So basically, when $controller->throwExceptions() is not set to true, > only parse errors are showned, > bu

Re: [fw-general] Conventional Modular Layout and application wide view scripts

2007-03-29 Thread Matthew Weier O'Phinney
-- Martin Carpentier <[EMAIL PROTECTED]> wrote (on Thursday, 29 March 2007, 02:48 PM +0200): > I'm currently in the process of upgrading our application to ZF 0.9.1 from 0.8 > . So far it's going smoothly and I took the oportunity to convert to a > Conventional Modular for convenience and because s

[fw-general] camelCaps in Zend_Db_Table_Row

2007-03-29 Thread Andrew Yager
Hi, I'm a bit slower than the rest of you. I'm doing my ZF0.8/0.9 upgrade tonight. The current version of the documentation seems to suggest that the auto camelCapsing of table field names in Zend_Db_Table_Row should still work (I take it that you now must explicitly specify the table nam

Re: [fw-general] [fw-mvc] routing optimization

2007-03-29 Thread Ivan Shumkov
Michał Minicki wrote: > > Would you care to create an issue for this? > Sure. Michał Minicki wrote: > > $i = '0'; > empty($i) == true > I'm foget this nightmare. -- View this message in context: http://www.nabble.com/Re%3A--fw-mvc--routing-optimization-tf3485072s16154.html#a9733249 Sent fr

Re: [fw-general] [fw-mvc] routing optimization

2007-03-29 Thread Ivan Shumkov
http://framework.zend.com/issues/browse/ZF-1159 -- View this message in context: http://www.nabble.com/Re%3A--fw-mvc--routing-optimization-tf3485072s16154.html#a9733418 Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Zend_Config question

2007-03-29 Thread Chris Hartjes
I was wondering if it is possible with Zend_Config to do Apache-style loading of configuration files. By this, I mean is it possible to have a directive in a Zend_Config_Ini file that says "load any .ini files that are in directory X", much like how you can ask Apache2 to load any configuration f

Re: [fw-general] Conventional Modular Layout and application wide view scripts

2007-03-29 Thread Martin Carpentier
Mathew, That's exactly the kind of elegant solution I was looking for. Thanks for your fast reply. I still have a little problem though. Unless I misundersood something, when I put // rendering /application/default/views/scripts/_menu.phtml $this->render('_menu', null, true); in /applica

Re: [fw-general] Zend_Config question

2007-03-29 Thread Darby Felton
Hi Chris, Maybe you would like to comment on ZF-988? http://framework.zend.com/issues/browse/ZF-998 Though your use case may not be quite the same, I believe there is some overlap where we consider merging configurations. Thanks for the feedback! Best regards, Darby Chris Hartjes wrote: > I w

Re: [fw-general] Conventional Modular Layout and application wide view scripts

2007-03-29 Thread Matthew Weier O'Phinney
-- Martin Carpentier <[EMAIL PROTECTED]> wrote (on Thursday, 29 March 2007, 05:09 PM +0200): > That's exactly the kind of elegant solution I was looking for. > Thanks for your fast reply. > > I still have a little problem though. > Unless I misundersood something, when I put > > // rendering

RE: [fw-general] camelCaps in Zend_Db_Table_Row

2007-03-29 Thread Bill Karwin
Hi Andrew, I havn't updated the Row and Rowset documentation pages yet (I do intend to). The camelCaps treatment of column names has been eliminated from the Zend_Db_Table_Row class. You should use the spelling of your columns as they appear in the database. Regards, Bill Karwin > -Origina

[fw-general] Uncaught exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[HY000]: General error: 26 file is encrypted or is not a database'

2007-03-29 Thread Jeunejean Pierre
Hi everyone, I try to connect to an SQLite 2 DB with Zend_Db, without success, same error with the 2 following syntaxes (the first precise 'sqlite2' as dsnprefix value). Connecting to the same DB with Propel 2 does not cause any problem. Someone would be kind to help me on this ? $params

RE: [fw-general] Uncaught exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[HY000]: General error: 26 file is encrypted or is not a database'

2007-03-29 Thread Bill Karwin
SQLite databases created with SQLite version 2 cannot be used with SQLite 3, and vice versa. The file formats between these two versions are incompatible. Zend_Db uses the PDO_SQLITE extension. This supports the SQLite 3 format, and cannot open a SQLite 2 database. Does this help? Regards, B

[fw-general] Re: Zend_Config question

2007-03-29 Thread Chris Hartjes
Well, the two cases are different. This proposal talks about merging two config files together where you already know the names of the configuration files. I'm looking for the ability to load a number of smaller configuration files without having to actually worry what they are actually called.

Re: [fw-general] Re: Zend_Config question

2007-03-29 Thread Rob Allen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Hartjes wrote: > Well, the two cases are different. This proposal talks about merging > two config files together where you already know the names of the > configuration files. > Yes. I agree. > I'm looking for the ability to load a number o

[fw-general] Re: Zend_Config question

2007-03-29 Thread Chris Hartjes
If a Zend_Config_Loader component can do some sort of wild card loading, that would perfectly meet my needs. :) Thanks for the quick responses. On 3/29/07, Rob Allen <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Hartjes wrote: > Well, the two cases are differ

Re: [fw-general] Re: Zend_Config question

2007-03-29 Thread Matthew Ratzloff
On Thu, March 29, 2007 11:57 am, Rob Allen wrote: > My initial instinct that this would add too much complexity to and > exceed the responsibily of Zend_Config_Ini which has a one-to-one > relationship with an ini file. > > The obvious solutions are to use some userland code to load each one > sepa

Re: [fw-general] Re: Zend_Config question

2007-03-29 Thread Ralph Schindler
+1, I kinda always thought thats what the Zend_Config class should do. That architecture also lends itself to the 'simplicity' of use in the Framework. ralph Matthew Ratzloff wrote: On Thu, March 29, 2007 11:57 am, Rob Allen wrote: My initial instinct that this would add too much complexity

Re: [fw-general] Re: Zend_Config question

2007-03-29 Thread Chris Hartjes
On 3/29/07, Matthew Ratzloff <[EMAIL PROTECTED]> wrote: A better solution would be to rename Zend_Config to Zend_Config_Array, which is a better description of what it does. Then make Zend_Config a top-level configuration loading class that auto-detects the appropriate adapter for any given fil

Re: [fw-general] camelCaps in Zend_Db_Table_Row

2007-03-29 Thread Matt Schmidt
Will there be any further disregard for backwards compatibility? If so, when can I expect the API to stabilize? On 3/29/07, Bill Karwin <[EMAIL PROTECTED]> wrote: Hi Andrew, I havn't updated the Row and Rowset documentation pages yet (I do intend to). The camelCaps treatment of column names h

RE: [fw-general] camelCaps in Zend_Db_Table_Row

2007-03-29 Thread Bill Karwin
Hi Matt, I believe interface changes in Zend_Db have finished. I have no further enhancements planned at this time that will result in changing existing interfaces. There are some more enhancements planned, but they should not alter existing usage of the interface. The only possible exception t

[fw-general] Table relationships rowsets don't return class from $_rowClass

2007-03-29 Thread Abu Hurayrah
(originally posted to fw-db) First of all, it's been a while since I've posted here and I've been out of touch with ZF for the past few months. However, I was really pleasantly surprised to see that the Zend_Db components have really come along (great work, guys!), especially in the ORM direc

[fw-general] Re: Stuck in loop with Zend_Controller_Action::_forward() and Zend_Controller_Plugin_Abstract::preDispatch()

2007-03-29 Thread Nick Lo
A further follow up: The secret recipe seems to be to use dispatchLoopStartup() rather than preDispatch as in: class Menu_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract { private $_auth; private $_acl; private $_noauth = array('module' => 'default',

[fw-general] Re: Stuck in loop with Zend_Controller_Action::_forward() and Zend_Controller_Plugin_Abstract::preDispatch()

2007-03-29 Thread Simon Mundy
Hi Nick So you're saying that if you set the request's action via setActionName(), it will trigger another forward? Even if it's the same value as it was before the plugin performed its check? Must have been one of those subtle changes from 0.7 -> 0.9 that I missed. Thanks for spotting th

[fw-general] Zend_Date::getDate() don't return a clone in the DATE_MEDIUM format

2007-03-29 Thread Julien Bréda
Hello everybody, I began yesterday my experiences for the Zend_Date class and I encountered an not-understood behavior. Fxc_Date_Public is a class inheriting from Zend_Date. It doesn't override the constructor nor the getDate() method, nor the get() method. In fact, I declared a Fxc_Date_Public