[fw-general] Survivethedeepend book

2009-09-18 Thread Andreas Kraftl
Hello, I start with a small project and use the Survivethedeepend because of nice domain layer and Unittests. Now I have the problem to understand, how I can use the datamappers. I don't know the strategy, how to get e.g. an entry in a controller: $entry = new ZFExt_Model_EntryMapper; or $entry

[fw-general] PHP5.2.11 corrects spl_autoload_functions

2009-09-18 Thread Julien Pauli
Just a note to say that PHP5.2.11 corrects the spl_autoload_functions() bug that Zend_Loader_Autoloader tries to emulate. ( http://www.php.net/ChangeLog-5.php) Patch should have been merged to 5.3 branch. Cheers Julien.P

Re: [fw-general] url($urlOptions, $name, $reset) - what is $name ?

2009-09-18 Thread aoohralex
I completly don't understand. -- View this message in context: http://www.nabble.com/url%28%24urlOptions%2C-%24name%2C-%24reset%29---what-is-%24name---tp25491945p25505948.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] url($urlOptions, $name, $reset) - what is $name ?

2009-09-18 Thread Саша Стаменковић
Me too, what routes have to do with url helper? Regards, Saša Stamenković On Fri, Sep 18, 2009 at 11:44 AM, aoohralex aoohra...@gmail.com wrote: I completly don't understand. -- View this message in context:

Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-18 Thread Shaun Farrell
Artsemis, Check out this http://framework.zend.com/manual/en/zend.view.controllers.html I also think you can override the viewRenderer. Below is an example from framework.zend.com and shows how to use smarty. I assume if you just change the setViewBasePathSpec to your dir that might work.

Re: [fw-general] Odd issue with new install regarding version number

2009-09-18 Thread Shaun Farrell
you zend tool maybe pointed at a different version of the framework that your app is acutally running. Try echoing Zend_Version::version(); in your app and see what that gives you. if it shows your the version you downloaded and your Zf tool is a different version you need to update your zf

RE: [fw-general] url($urlOptions, $name, $reset) - what is $name ?

2009-09-18 Thread Jan Pieper
I completly don't understand. You can use a specific route (selected by $name) do build url with. Take a look at http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.basic -- Jan

Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-18 Thread Artsemis
Shaun Farrell wrote: Artsemis, Check out this http://framework.zend.com/manual/en/zend.view.controllers.html I also think you can override the viewRenderer. Below is an example from framework.zend.com and shows how to use smarty. I assume if you just change the setViewBasePathSpec

[fw-general] bug hunt has increased interest in issue tracker

2009-09-18 Thread Bart McLeod
I have difficulty reaching the issue tracker. I just wanted to comment on one, as a reply to Benjamin, but it has become unresponsive. -Bart -- Bart McLeod Space Web Middenlaan 47 6865 VN Heveadorp The Netherlands t +31(0)26 3392952 m 06 51 51 89 71 @

RE: [fw-general] url($urlOptions, $name, $reset) - what is $name ?

2009-09-18 Thread aoohralex
Jan Pieper-2 wrote: I completly don't understand. You can use a specific route (selected by $name) do build url with. Take a look at http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.basic -- Jan I have read and I still don't understand sense

Re: [fw-general] url($urlOptions, $name, $reset) - what is $name ?

2009-09-18 Thread Mon Zafra
It's only useful if you have multiple routes. Sounds like you're using the default route only, so just ignore it. If you need to pass a $reset flag, pass null or 'default' as the second argument. -- Mon On Fri, Sep 18, 2009 at 8:41 PM, aoohralex aoohra...@gmail.com wrote: Jan Pieper-2

RE: [fw-general] url($urlOptions, $name, $reset) - what is $name ?

2009-09-18 Thread alayn
El vie, 18-09-2009 a las 05:41 -0700, aoohralex escribió: I have read and I still don't understand sense of second argument. Maybe tell me what should I write in second argument if I use only url's: http://localhost/CONTROLLER/ACTION/KEY/VALUE ?? default If you don't want to use any specific

Re: [fw-general] 'cannot redeclare class...' PHP 5.3

2009-09-18 Thread Steven Szymczak
I think I've tracked down WHERE the problem is occurring, but I still have no idea why. In application/modules/default/controllers/ my index controller looks like this: class indexController extends Fs_Controller_Action { public function init() {

Re: [fw-general] url($urlOptions, $name, $reset) - what is $name ?

2009-09-18 Thread aoohralex
ok thx alayn and Mon - I will use 'default' :) -- View this message in context: http://www.nabble.com/url%28%24urlOptions%2C-%24name%2C-%24reset%29---what-is-%24name---tp25491945p25508445.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] strange problem with layout

2009-09-18 Thread aoohralex
I have a strange problem - when I write in url action layout doesn't work, I see only content of view - examples: it work: http://localhost:81/library it doesn't work: http://localhost:81/library/index but both adresses are the same (default action is index) - so how is it possible ? and

[fw-general] How to bootstrap application in testing environment

2009-09-18 Thread Sudheer Satyanarayana
Hi, I followed the tutorial at zendcasts.com ( http://tinyurl.com/n4hee2 ) to setup testing environment for my ZF enabled application. Everything went fine with regards to the tutorial. But the tutorial recommends including a test class that extends Zend_Test_PHPUnit_ControllerTestCase in

[fw-general] Split controller actions into multiple classes

2009-09-18 Thread Ryan Chan
Hello, I have a controller that contains too many line of codes, which made the controller too large. So I want to split each action into eactly one class files. Is it recommended? If not, what are the recommended way to make the controller thin? Thanks.

Re: [fw-general] Split controller actions into multiple classes

2009-09-18 Thread Sudheer Satyanarayana
On Friday 18 September 2009 07:10 PM, Ryan Chan wrote: Hello, I have a controller that contains too many line of codes, which made the controller too large. So I want to split each action into eactly one class files. Is it recommended? If not, what are the recommended way to make the

Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-18 Thread Kyle Spraggs
Artsemis wrote: Shaun Farrell wrote: Artsemis, Check out this http://framework.zend.com/manual/en/zend.view.controllers.html I also think you can override the viewRenderer. Below is an example from framework.zend.com and shows how to use smarty. I assume if you just change

Re: [fw-general] Split controller actions into multiple classes

2009-09-18 Thread Ryan Chan
Hello, On Fri, Sep 18, 2009 at 9:48 PM, Sudheer Satyanarayana sudhee...@binaryvibes.co.in wrote: On Friday 18 September 2009 07:10 PM, Ryan Chan wrote: Consider splitting your code into multiple controllers and perhaps modules. Do you have model classes by the way? Consider the

[fw-general] [Zend_Applicaton] I can't make module

2009-09-18 Thread András Csányi
Hi all! I need some help because I can' t figure out what could be the problem. I decided I see what is this Zend_Application and its looks like it will be part of my life if I want to work with ZF in further time. I'm using Windows XP with wampserver (php-5.2.6). php.exe's path is in among the

Re: [fw-general] strange problem with layout

2009-09-18 Thread aoohralex
I have know - I had in layout: ?php echo $this-headLink()-appendStylesheet('css/main.css') ? WITHOUT SLASH AT THE BEGINNGING !! It should be: ?php echo $this-headLink()-appendStylesheet('/css/main.css') ? and now everything is ok. -- View this message in context:

Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-18 Thread Shaun Farrell
Yeah i assume that would work too. The ZF Manula says In fact, you can stack paths using the addScriptPath() method. As you add paths to the stack, Zend_View will look at the most-recently-added path for the requested view script. This allows you override default views with custom views so that

Re: [fw-general] PHP5.2.11 corrects spl_autoload_functions

2009-09-18 Thread Ralph Schindler
Yes, this has been in since 5.3.0. I am actually suprised that it got back ported to the 5.2 branch. Ideally we could use this, but since we support PHP 5.2.6 onward, we need to keep our autoloader in tact as is. Supporting that feature in userland actually take quite a bit of code. I'll

[fw-general] Bug Hunt Days!

2009-09-18 Thread Matthew Weier O'Phinney
Greetings, all! Four years ago today, I boarded a plane to San Jose, CA, to start work at my new employer, Zend Technologies, Ltd., as a PHP Developer on the newly formed eBiz team. Since I first started at Zend, I've been contributing to Zend Framework, with gradually more areas of

[fw-general] configure zf.sh, error message can't find zf.php, Mac, Leopard

2009-09-18 Thread jlrough
I installed zf library in /usr/bin/zend/library the zf.sh in /usr/bin/zend/bin/zf.sh this is on a mac running leopard with the php Apple installed. I did change the include_path in php.ini to: /usr/bin/zend/library I'm getting an error message when I try /usr/bin/zend/bin/zf.sh. I think it

[fw-general] configure zf.sh, error message can't find zf.php, Mac, Leopard

2009-09-18 Thread jlrough
I installed zf library in /usr/bin/zend/library the zf.sh in /usr/bin/zend/bin/zf.sh this is on a mac running leopard with the php Apple installed. I did change the include_path in php.ini to: /usr/bin/zend/library I'm getting an error message when I try /usr/bin/zend/bin/zf.sh. I think it

[fw-general] Zend_Cache | Page Caching

2009-09-18 Thread Shaun Farrell
Quick question, I am running Zend Page Caching to cache some flickr photos so that I don't have to pull the files down all the time since they don't change. My question is... On the manual pages for Page Caching it says that you don't have to generate the Id since it is generated automatically.

Re: [fw-general] Bug Hunt Days!

2009-09-18 Thread Pádraic Brady
If I can chime in with another benefit - bug hunting tends to push you into exploring components you take for granted. You have no idea how useful that can be, not only in using the component, but identifying improvements and fixes not currently raised as issues. Let's not forget the hunting

Re: [fw-general] Is there anybody from Zend team ?

2009-09-18 Thread swilhelm
I love the Zend Framework's functionality, but so much of how all the necessary components hang together in a production quality Website is difficult to discern. I would like to get all of the following configured and working before I write a single line of application specific code: