[fw-general] how get query from Zend_Db in Exception

2007-06-26 Thread Кононов Руслан
How can I get sql query from Zend_DB using update (), delete (), insert () in the case of Exception ?

Re: [fw-general] Caching Block but want the cach to clean itself if content changes

2007-06-26 Thread Christian Fischer
I dont see the problem , if you already have tags for your cache items just delete the cacheitems when you change something. For Example: You edit a newspost. After youre done with saving your data just tell your cache to delete everything that corresponds with a given Tag. Maybe NewsID3 or

Re: Fw: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread Pádraic Brady
Hi Arthur, I agree with Matthew - the features for a general release are already frozen and there is no need to lump in new additions at this stage. Doing so would only have the effect of adding uncertainty and requiring additional RCs to the schedule. It's far more attractive to have a GA

Re: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread Pádraic Brady
Ralph, You'll have to forgive me, but I haven't read all your code yet - if I batter the wrong door let me know :). I see alot of value in what you propose as it absolutely represents simplicity. It does not tackle the more complex, commonplace, or modern day problems with a clean solution

[fw-general] Code Formatting

2007-06-26 Thread Xavier Vidal Piera
Somebody knows any tool to format the PHP5 code? -- Xavier Vidal Piera Enginyer Tècnic Informàtic de Gestió Tècnic Especialista Informàtic d'equips [EMAIL PROTECTED] 610.68.41.78

[fw-general] Restart WIKI please

2007-06-26 Thread Mark
Hi, Can someone restart the Wiki please? I want to study the Zend_View Enhanced proposal (and others) regarding the recent mailings on complex views. Thanks, Mark

Re: [fw-general] Code Formatting

2007-06-26 Thread Simon Mundy
Check out the PHP_Beautifier tool on PEAR - it does a nifty job. Somebody knows any tool to format the PHP5 code? -- Xavier Vidal Piera Enginyer Tècnic Informàtic de Gestió Tècnic Especialista Informàtic d'equips [EMAIL PROTECTED] 610.68.41.78 -- Simon Mundy | Director | PEPTOLAB

Re: [fw-general] Restart WIKI please

2007-06-26 Thread Matthew Weier O'Phinney
-- Mark [EMAIL PROTECTED] wrote (on Tuesday, 26 June 2007, 11:34 AM +0100): Can someone restart the Wiki please? It's up and running again. -- Matthew Weier O'Phinney PHP Developer| [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/

Re: [fw-general] Zend_Config_Xml and arrays

2007-06-26 Thread till
On 6/25/07, Andreas Sundqvist [EMAIL PROTECTED] wrote: Hi I was wondering why you can't get an multi dimension array out of the config object if I have this config: data live arrays data1/data data2/data data3/data /live /data and do this: $config = new

Re: [fw-general] Zend_Config_Xml and arrays

2007-06-26 Thread Simon Mundy
Because the key 'data' is not unique, the config will overwrite it for each element and you end up with only the key 'data' and the value '3' in your config. If you wanted a multidimensional array you need to supply unique key names:- e.g. data live arrays

[fw-general] getBaseUrl not working

2007-06-26 Thread ArsePit
Anyone using ZF on the host MediaTemple (PHP 5.2.2)? I'm having issues with getBaseUrl not working. I then added this [ http://www.nabble.com/Using-Zend_Controller_Front-%3EgetBaseUrl%28%29-to-get-the-app-web-root-tf3687282s16154.html#a10691470 ] helper but I get nothing (see the following

Re: [fw-general] getBaseUrl not working

2007-06-26 Thread ArsePit
ArsePit wrote: Anyone using ZF on the host MediaTemple (PHP 5.2.2)? I'm having issues with getBaseUrl not working. ADDITION: It was outputting the baseUrl with index.php ie. /prototypes/prototype4/index.php/public/css/print.css I then added this [

Re: Fw: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread Mark
On Tuesday 26 June 2007 04:01, Matthew Weier O'Phinney wrote: -- Arthur M. Kang [EMAIL PROTECTED] wrote There's plenty of interest. The issue right now is getting a stable and tested version of ZF out the door that developers can rely on. We are in RC status, which means, loosely, no new

Re[2]: [fw-general] Code Formatting

2007-06-26 Thread Juri Kühn
Also take a look at Geshi Syntax Highlighter, its stable, easy to use and has a good support for php code. Greetings, Juri Simon Mundy wrote: Check out the PHP_Beautifier tool on PEAR - it does a nifty job. Somebody knows any tool to format the PHP5 code? -- Xavier Vidal Piera

Re: Fw: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread Pádraic Brady
Zend_View Enhanced is 100% backwards compatible contrary to Ralph's assertion otherwise. The sole exception is if RC3 did something which impacted my own code (I doubt it). Backwards compatibility has been a primary goal for the ZF Release Candidacy process and it's noted in the both the

Re: Fw: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread Matthew Weier O'Phinney
-- Pádraic Brady [EMAIL PROTECTED] wrote (on Tuesday, 26 June 2007, 07:24 AM -0700): Zend_View Enhanced is 100% backwards compatible contrary to Ralph's assertion otherwise. The sole exception is if RC3 did something which impacted my own code (I doubt it). Backwards compatibility has been a

RE: [fw-general] how get query from Zend_Db in Exception

2007-06-26 Thread Bill Karwin
Currently the exceptions do not provide the SQL string as part of their content. We have this as a feature request to develop at a later date. http://framework.zend.com/issues/browse/ZF-1399 In the meantime, another solution might be to enable the Zend_Db_Profiler. It can tell you the SQL

Re: [fw-general] Routing does not work correctly

2007-06-26 Thread Jim Scherer
Matthew, I created an issue for this bug http://framework.zend.com/issues/browse/ZF-1630 and assigned it to you. This needs to be resolved before the 1.0 version or those that with this issue that try to use the MVC will fail and you don't want a lot of bad press. Jim -- View this message in

Re: [fw-general] Routing does not work correctly

2007-06-26 Thread Jim Scherer
Matthew resolved this issue yesturday, my bad. I've tested it and it is functioning properly. Thanks, Jim alesl wrote: Hi. When testing a Zend Framework application at Dreamhost hosting, I discovered a problem with the routing system in my particular configuration. At home everything

Re: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread Ralph Schindler
Oh yeah! This is turning into a Bobby Flay style - Zend What do we do with layouts Throwdown! In all seriousness, it would be fruitless to respond to this here. I think we should move this to the wiki, in a QA style, left-right - left being the ZVE POV and right being the Zend_Layout POV.

Re: [fw-general] Zend_Config_Xml and arrays

2007-06-26 Thread Andreas Sundqvist
I use the config to store info about the path for the view object. And i want to have multiple scriptPaths defined. Or do i have to write a special array just whit that. /Andreas Sundqvist - Andreas Sundqvist [EMAIL PROTECTED] Mobile:

Re: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread codeangel
I thought a viewpoint of a MVC noobie might be appropriate here. I pretty much been learning MVC and design patterns within the last year or so. Most of my understanding of MVC has resulted from playing with Zend Framework since 0.2. The biggest issue I had was understanding how to do layouts

Re: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread Maurice Fonk
I would like to add something to Chad's remarks. I hang out a lot in #zftalk on freenode. As such, I see questions about how to do layouts on a daily basis. People new to the framework don't seem to understand what viewRenderer does, and how to wrap it's results into a layout. Ralph Schindler,

Re: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread Matthew Ratzloff
Ralph, you're one step ahead of me. But instead of broad dissertations on the role of Controllers, Views, and Models, what I'd like to see is concrete end-user code showing how each would work. Not just controllers, but sample views as well. Establish a use case and then show how each solution

Re: [fw-general] Two-Step View, subclassing controller, etc

2007-06-26 Thread Bluejay
On 6/26/07, codeangel [EMAIL PROTECTED] wrote: I thought a viewpoint of a MVC noobie might be appropriate here. I pretty much been learning MVC and design patterns within the last year or so. Most of my understanding of MVC has resulted from playing with Zend Framework since 0.2. The biggest

[fw-general] Wiki Jira down

2007-06-26 Thread Thomas Weidner
Hy... once again is the wiki jira server down. Please pay the electricity bill for the servers ;-)) Waiting for restart... Greetings Thomas I18N Team Leader

Re: [fw-general] Wiki Jira down

2007-06-26 Thread Andries Seutens
Thomas Weidner schreef: Hy... once again is the wiki jira server down. Please pay the electricity bill for the servers ;-)) Waiting for restart... Greetings Thomas I18N Team Leader Lol! Just for the heck of it, i'm going to turn the wikification off for a few days, and see if it helps

RE: [fw-general] Wiki Jira down

2007-06-26 Thread Bill Karwin
I am going to work on Wiki Jira today to try to upgrade the software. They may be up and down from time to time. But I haven't started working on them yet, so they are currently down on their own accord. :-) Bill -Original Message- From: Thomas Weidner [mailto:[EMAIL PROTECTED]

[fw-general] Zend_Debug::dump and ErrorController

2007-06-26 Thread ArsePit
Working on getting Zend_Debug::dump to output the request and exception from the ErrorController I get the following error twice for each call to Zend_Debug:dump() Notice: Trying to get property of non-object in /var/www/html/cms/application/controllers/ErrorController.php on line x In the

Re: [fw-general] Zend_Config_Xml and arrays

2007-06-26 Thread titerm
Hi With config_ini, you can do what you want with the following syntaxe data.live.arrays.data[] = 1 data.live.arrays.data[] = 2 data.live.arrays.data[] = 3 but i never try to do same thing with config_xml. Andreas Sundqvist a écrit : Hi I was wondering why you can't get an multi

Re: [fw-general] how get query from Zend_Db in Exception

2007-06-26 Thread Кононов Руслан
Thanks Bill. I used expanded class of Zend_Db for debugging requests. and use the following code : $profiler = Portal_Db_Zend::getInstance()-getProfiler(); foreach ( $profiler-getQueryProfiles() as $query ) { echo $query-getQuery() . ' ' . round(