Re: [fw-general] ZF CLI slow

2009-06-01 Thread admirau
Matthew Ratzloff wrote: So the obvious next step would be to post your PHP CLI include path. php -i | grep include_path include_path = c:\users\user\www\library;. = c:\users\user\www\library;. library/ Zend/ Doctrine/ PHPTAL/ I use SET

Re: [fw-general] Unit Testing routes with . in there URI

2009-06-01 Thread Tim Fountain
2009/5/30 Jon Lebensold j...@lebensold.ca I'm trying to get my feet wet with Zend_Test_PHPUnit_ControllerTestCase and I think I might have found a bug... or maybe I'm not doing this properly. Fatal error: Zend_View_Exception: Encountered an invalid URL for Sitemap XML: http:///; in

Re: [fw-general] Creating a dynamic database based Zend_Navigation item?

2009-06-01 Thread Tim Fountain
2009/5/29 Mary Nicole Hicks webmas...@marynicolehicks.com vince. wrote: What's the problem with retrieving the entries from the DB, Assigning them into a multi dimensional array and passing it into the zend_nagivation? The problem is that I can not do this for every navigable page on

Re: [fw-general] Creating a dynamic database based Zend_Navigation item?

2009-06-01 Thread Mary Nicole Hicks
Tim Fountain wrote: Technically the breadcrumbs helper only needs the current page and its parents, [...] if the Zend_Navigation data structure could be cached in a tree like form matching the URL structure, some clever caching mechanism could just include the bits it needs. But this would

Re: [fw-general] Problem setting up ZF app in Linux Server

2009-06-01 Thread iceangel89
anyone? how come i get no POST params when i submit the form to the linux server? iceangel89 wrote: seems like now it works because of the .htaccess actually but now $this-getRequest()-isPost() is null??? i used FireBug to see whats happening ... i get correct post data going to

Re: [fw-general] Bootstrap and view helpers

2009-06-01 Thread Tim Fountain
2009/5/27 Sergio Rinaudo kaiohken1...@hotmail.com in my protected function _initViewHelpers() for my default module I set $view-headTitle()-setSeparator(' - '); $view-headTitle('My Website Title'); Then, in the admin module bootstrap, same method name, I set $view-headTitle('Control

RE: [fw-general] Bootstrap and view helpers

2009-06-01 Thread Sergio Rinaudo
it was already like you describe. I've just noticed the possibility to use these view helper in the bootstrap and I tryed. Thank you Bye Sergio Rinaudo Date: Mon, 1 Jun 2009 12:40:25 +0100 From: t...@tfountain.co.uk To: fw-general@lists.zend.com Subject: Re: [fw-general] Bootstrap and view

Re: [fw-general] Creating a dynamic database based Zend_Navigation item?

2009-06-01 Thread Jurian Sluiman
Op Monday 01 June 2009 13:17:13 schreef Mary Nicole Hicks: Tim Fountain wrote: Technically the breadcrumbs helper only needs the current page and its parents, [...] if the Zend_Navigation data structure could be cached in a tree like form matching the URL structure, some clever caching

Re: [fw-general] How to get row ID back when using Save

2009-06-01 Thread Elvin Şiriyev
try $row-id On Fri, May 29, 2009 at 7:24 PM, Jalil F. jalil.feg...@gmail.com wrote: I am very new to Zend. I have a Books model object that extends Zend_Db_Table. In my controller, I create a new row like this: $t = new Books(); $row = $t-createRow();

Re: [fw-general] Autoloading modules

2009-06-01 Thread dmitrybelyakov
Jurian Sluiman wrote: Thanks for your quick answer. I added in each module directory a Bootstrap.php. E.g. in application/modules/blog/Bootstrap.php i have a Blog_Bootstrap extending Zend_Application_Module_Bootstrap. In the global bootstrap I have added the application/module

Re: [fw-general] ZF CLI slow

2009-06-01 Thread Matthew Weier O'Phinney
-- admirau admi...@gmail.com wrote (on Monday, 01 June 2009, 12:58 AM -0700): Matthew Ratzloff wrote: So the obvious next step would be to post your PHP CLI include path. php -i | grep include_path include_path = c:\users\user\www\library;. = c:\users\user\www\library;. library/

Re: [fw-general] How to get row ID back when using Save

2009-06-01 Thread Dalibor Karlović
On Friday 29 May 2009 18:24:00 Jalil F. wrote: I am very new to Zend. I have a Books model object that extends Zend_Db_Table. In my controller, I create a new row like this: $t = new Books(); $row = $t-createRow(); $row-name =

[fw-general] Tutorial on Creating Custom Resource Plugins in ZF 1.8

2009-06-01 Thread log2e
http://blog.log2e.com/2009/06/01/creating-a-custom-resource-plugin-in-zend-framework-18/ Creating a Custom Resource Plugin -- View this message in context: http://www.nabble.com/Tutorial-on-Creating-Custom-Resource-Plugins-in-ZF-1.8-tp23814842p23814842.html Sent from the Zend Framework mailing

Re: [fw-general] Autoloading modules

2009-06-01 Thread dmitrybelyakov
Hello, There is some more on the topic i discovered after tweaking it around: the problem seems to be because of default module actually being 'default' that makes Zend MVC treat it like an ordinary application folder and NOT like a module folder. That's the reason why module's Bootstrap is

Re: [fw-general] Add Zend Tools to existing project

2009-06-01 Thread Ralph Schindler
Not in this iteration, but its high on my priority list. This is encapsulated in the ability to import and/or sync existing resources into a project. Part of syncing requires that we are able to auto-detect what the context of a resources is (is it a controller? an ini file? etc). After I

[fw-general] Persistent connections

2009-06-01 Thread Ralph Schindler
If anyone is interested, I have a patch that adds persistent connection support to both PDO and Oracle in Zend_Db_Adapter. Please try it out if you can. The patch is located in this issue: http://framework.zend.com/issues/browse/ZF-4076 Thanks! -ralph

Re: [fw-general] ZF CLI slow

2009-06-01 Thread Tim Fountain
2009/6/1 Matthew Weier O'Phinney matt...@zend.com It may make sense for us to introduce some sort of caching mechanism into Zend_Tool so that you only incur a slow-down the first time you call it. Perhaps this is a suggestion for Ralph, but another option would be to allow this path to be

Re: [fw-general] Add Zend Tools to existing project

2009-06-01 Thread ruflin
Thanks for the answer. I'm looking forward to it. -- View this message in context: http://www.nabble.com/Add-Zend-Tools-to-existing-project-tp23738770p23815388.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Quickstart archives

2009-06-01 Thread Michael Kimsal
Are the quickstart guides archived for earlier versions? If so, where are they located (didn't see anything in the downloaded docs). If not, can they be retrieved and put somewhere? If not, why not? Thanks. :) -- Michael Kimsal http://jsmag.com - for javascript developers

Re: [fw-general] ZF CLI slow

2009-06-01 Thread Matthew Ratzloff
The Mac I/O system is notoriously slow. LOL, what? I hope you're not basing that on HFS+ performance on Linux, which is marginal at best. (He's using Windows, by the way.) -Matt On Mon, Jun 1, 2009 at 5:07 AM, Matthew Weier O'Phinney matt...@zend.comwrote: -- admirau admi...@gmail.com wrote

Re: [fw-general] ZF CLI slow

2009-06-01 Thread Ralph Schindler
The Mac I/O system is notoriously slow. Unfortunately, Zend_Tool needs You must mean windows ;) I've never seen any slowness in my I/O on mac, after all, it is a BSD variant (and Unix certified). :) to scan all class files in your include_path to determine what classes it can consume --

Re: [fw-general] ZF CLI slow

2009-06-01 Thread Ralph Schindler
allow this path to be specified (or additional paths specified) in the .zfproject.xml file. This would also allow for project-specific providers. This is actually a chicken-egg problem. The .zfproject.xml file is not loaded until all of the providers have been loaded, specifically the

Re: [fw-general] Quickstart archives

2009-06-01 Thread Matthew Weier O'Phinney
-- Michael Kimsal mgkim...@gmail.com wrote (on Monday, 01 June 2009, 10:13 AM -0400): Are the quickstart guides archived for earlier versions? If so, where are they located (didn't see anything in the downloaded docs). If not, can they be retrieved and put somewhere? If not, why not? We

Re: [fw-general] ZF CLI slow

2009-06-01 Thread Matthew Weier O'Phinney
-- Matthew Ratzloff m...@builtfromsource.com wrote (on Monday, 01 June 2009, 07:44 AM -0700): The Mac I/O system is notoriously slow. LOL, what?  I hope you're not basing that on HFS+ performance on Linux, which is marginal at best. No, not based on Linux HFS+, but based on a number of

Re: [fw-general] struggling to get modules working

2009-06-01 Thread Vadim Gabriel
Hi, To be honest i use ZF 1.8 with the old way of loading modules. I just edited the autoloader to reflect the new autoloader and added some custom module autoloaders which works just as good as the bootstrap classes without the hassle of updating the code. I can then just go in any place and do

Re: [fw-general] ZF CLI slow

2009-06-01 Thread Matthew Ratzloff
No, not based on Linux HFS+, but based on a number of reports I've read over the past few years, all citing disk I/O as a reason not to use Mac for production or benchmarking. Here's a recent set of benchmarks doing real-world things:

Re: [fw-general] ZF CLI slow

2009-06-01 Thread Tim Fountain
2009/6/1 Ralph Schindler ralph.schind...@zend.com allow this path to be specified (or additional paths specified) in the .zfproject.xml file. This would also allow for project-specific providers. This is actually a chicken-egg problem. The .zfproject.xml file is not loaded until all of

[fw-general] How to get Config options?

2009-06-01 Thread dmitrybelyakov
Hello, I am a little frustrated as I cannot access my application configuration options. I do not load my config file anywhere - only in the index.php file when i pass it to Zend_Application. I've spent several hours trying to figure out where it goes after that and how to access it. Do i need

Re: [fw-general] How to get Config options?

2009-06-01 Thread Jon Lebensold
$this-application-getOptions() On 1-Jun-09, at 12:20 PM, dmitrybelyakov wrote: Hello, I am a little frustrated as I cannot access my application configuration options. I do not load my config file anywhere - only in the index.php file when i pass it to Zend_Application. I've spent

Re: [fw-general] How to get Config options?

2009-06-01 Thread Jon Lebensold
hmmm... good point, I was using that in a unit test and it was fine. Not sure if this is the best way, but you can grab the options in a controller like so: $this-getInvokeArg('bootstrap')-getOptions() On 1-Jun-09, at 12:49 PM, dmitrybelyakov wrote: Jonathan Lebensold wrote:

Re: [fw-general] How to get Config options?

2009-06-01 Thread Vadim Gabriel
Hi, Another way will be storing the config in the registry then you could access it anywhere. On Mon, Jun 1, 2009 at 7:20 PM, dmitrybelyakov dmitrybelya...@yandex.ruwrote: Hello, I am a little frustrated as I cannot access my application configuration options. I do not load my config

Re: [fw-general] How to get Config options?

2009-06-01 Thread dmitrybelyakov
Jonathan Lebensold wrote: hmmm... good point, I was using that in a unit test and it was fine. Not sure if this is the best way, but you can grab the options in a controller like so: $this-getInvokeArg('bootstrap')-getOptions() Yes indeed, I found it after you gave me the clue

Re: [fw-general] How to get Config options?

2009-06-01 Thread dmitrybelyakov
vince. wrote: Another way will be storing the config in the registry then you could access it anywhere. Hi, Yes sure. I expected it to be there since it's already passed to Zend_Application but it's not. Just don't want to include the same file for the second time. But seems

[fw-general] Named parameters in Zend_Soap_Client

2009-06-01 Thread Ron Dyck
I'm using Zend_Soap_Client to communicate with a SOAP service. My test to the service's helloworld example works fine: try { $res = $client-HelloWorld(); } catch (Exception $e) { echo $e-getMessage(); } -- = Ron Dyck pulpfr...@gmail.com www.webbtech.net =

Re: [fw-general] How to get Config options?

2009-06-01 Thread Matthew Weier O'Phinney
-- dmitrybelyakov dmitrybelya...@yandex.ru wrote (on Monday, 01 June 2009, 10:18 AM -0700): vince. wrote: Another way will be storing the config in the registry then you could access it anywhere. Yes sure. I expected it to be there since it's already passed to Zend_Application but it's

[fw-general] Zend_Search_Lucene_Document_Html::loadHTML does not have a default Content-Type ?

2009-06-01 Thread Dave Carpeneto
Hi - if an HTML doc doesn't have a line like the following in the header: meta http-equiv=Content-Type content=text/html; charset=utf-8 ... Zend_Search_Lucene_Document_Html::loadHTML seems to mangle the title body as opposed to make an 'intelligent' guess. FWIW, the docs state: --

[fw-general] Zend_View_Helper_Navigation_Breadcrumbs not working

2009-06-01 Thread ignace
Hi i have the following code: $navigation = new Zend_Navigation(); $navigation-addPage(..); in my view: div id=sidebar?php print $this-navigation()-menu(); ?/div div id=breadcrumbs?php print $this-navigation()-breadcrumbs(); ?/div only menu() shows something breadcrumbs display's nothing if i

Re: [fw-general] How to get Config options?

2009-06-01 Thread Rob Allen
On 1 Jun 2009, at 18:51, Matthew Weier O'Phinney wrote: -- dmitrybelyakov dmitrybelya...@yandex.ru wrote (on Monday, 01 June 2009, 10:18 AM -0700): vince. wrote: Another way will be storing the config in the registry then you could access it anywhere. Yes sure. I expected it to be there

Re: [fw-general] Zend_View_Helper_Navigation_Breadcrumbs not working

2009-06-01 Thread Jonathan Maron
Hello ignace I am experiencing something similar. See http://is.gd/LJ7q. I have yet to solve the problem... Can you please post your $navigation-addPage(..); code? Please say at which level in the navigation tree the breadcrumbs do not work. Also, have you tried: echo

[fw-general] What documentation do I need?

2009-06-01 Thread MaxJ
Hello community, I've heard a couple of times about Zend and it left me with the idea it would be great for the application I'm planning right now. I'd need to know what documentation I should read, and in what order so that I can fully understand: - the nature of ZF (what it is exactly), - its

Re: [fw-general] Zend_Markup is ready for review

2009-06-01 Thread Dylan Arnold
Hi Pieter, I like the look of your proposal and could really use something like this in my project. Is any progress being made or has it gone quiet due to lack of interest? Cheers Dylan On Sun, Oct 26, 2008 at 11:37 AM, Paul M Jones pmjone...@gmail.com wrote: On Oct 25, 2008, at 08:46 ,

Re: [fw-general] What documentation do I need?

2009-06-01 Thread iceangel89
my suggestion is pick up some basic PHP 1st. i am also new to Zend Framework, i wont say i am an expert in PHP either but working with ZF ok. except maybe it slows me down a little becos of the learning curve. nature of ZF ... hmm i use it mainly with the MVC structure ... dunno if this is the

[fw-general] Standard caches for components list

2009-06-01 Thread keith Pope
Hi, I am putting together a list of components that support caching, have I missed any from this list? • Zend_Db_Table • Zend_Loader_PluginLoader • Zend_Paginator • Zend_Locale • Zend_Translate • Zend_XmlRpc_Server • Zend_Currency • Zend_Date Thx