RE: [fw-general] Running Zend Framework on older versions of PHP

2009-09-05 Thread Joshua Beall
I would love to run Zend Server, but as I mentioned, upgrading PHP (which is what installing Zend Server would be a part of doing) isn't an option in this case. -Josh -Original Message- From: "keith Pope" To: "Joshua Beall" Cc: fw-general@lists.zend.com Sent: 9/5/09 12:23 PM Subject

Re: [fw-general] Running Zend Framework on older versions of PHP

2009-09-05 Thread Matthew Weier O'Phinney
-- Jason Webster wrote (on Saturday, 05 September 2009, 04:00 PM -0700): > I think you'll find the biggest problem is not simply replicating > functions, but certain bugs in the eariler versions of PHP for which > there are not hacks or workarounds for in some of the framework code now > that t

Re: [fw-general] Running Zend Framework on older versions of PHP

2009-09-05 Thread Matthew Weier O'Phinney
-- Diego Potapczuk wrote (on Saturday, 05 September 2009, 12:03 PM -0300): > I think Zend Framework prior to 1.8 can be used with PHP 5.1.? No, prior to 1.7 -- that's when we upped our version requirement. > On Sat, Sep 5, 2009 at 11:19 AM, Joshua Beall wrote: > > > Hi All, > > I've

Re: [fw-general] Running Zend Framework on older versions of PHP

2009-09-05 Thread Jason Webster
I think you'll find the biggest problem is not simply replicating functions, but certain bugs in the eariler versions of PHP for which there are not hacks or workarounds for in some of the framework code now that the minimum requirement has been bumped up. On 05/09/2009 7:19 AM, Joshua Beall wr

Re: [fw-general] building a gallery whit ZF

2009-09-05 Thread LEDL & PARTNER
sorry i do not understabd the question. _ is your problem to show the commet: if so, a div or any block element might be the solution. _ if the problem is 'how to assoc the comment with the pic: you may save the comment with eg. the pic name an some signs. e.g. picname001.jpg_##_and here the

RE: [fw-general] Using Zend Layout for module not main application

2009-09-05 Thread Terre Porter
I use the layout in my application but do have times where I need to change or disable it. To disable the layout in a controller this works, Zend_Layout::getMvcInstance()->disableLayout(); To change the layout from in any controller without a lot of code changes. // can adjust the layout path

Re: [fw-general] Using Zend Layout for module not main application

2009-09-05 Thread Peter Warnock
In a 1-off scenario, I prefer method 3. No config necessary. Zend_Layout::startMvc(); $this->_helper->layout->setLayout('foobaz'); - pw On Fri, Sep 4, 2009 at 10:02 AM, Matthew Lurz wrote: > > A couple of additional ways... > > 3) Add the layout setup code to the controller init method. > >

Re: [fw-general] Running Zend Framework on older versions of PHP

2009-09-05 Thread keith Pope
Zend Server? 2009/9/5 Joshua Beall : > > Hi All, > > I've got a client who has their site hosted on a machine with PHP 5.1.6. > Unfortunately, upgrading PHP is not an option until sometime in mid-2010. > This is beyond my control and there's nothing I can do about it. > > Zend Framework has an off

Re: [fw-general] Running Zend Framework on older versions of PHP

2009-09-05 Thread mbneto
Hi, I do not use all the components (or even all methods of the components I use) BUT so far I've been able to use with PHP 5.1.6 without a problem. Using Zend_Filter, Zend_Db, Zend_Config, Zend_Session, Zend_Translate and Zend_Cache. That said the usual 'run unit tests' is the recommended approa

Re: [fw-general] Running Zend Framework on older versions of PHP

2009-09-05 Thread Diego Potapczuk
I think Zend Framework prior to 1.8 can be used with PHP 5.1.? ::: Diego Potapczuk »» NEAD - Núcleo de Educação a Distância »» SENAI-BA »» Tel: (71) 3287-8343 / (71) 9144-3062 »» http://www.diegoliveira.com.br On Sat, Sep 5, 2009 at 11:19 AM, Joshua Beall wrote: > > Hi All, > > I've got a

[fw-general] Running Zend Framework on older versions of PHP

2009-09-05 Thread Joshua Beall
Hi All, I've got a client who has their site hosted on a machine with PHP 5.1.6. Unfortunately, upgrading PHP is not an option until sometime in mid-2010. This is beyond my control and there's nothing I can do about it. Zend Framework has an official requirement of PHP 5.2.4 or later. Am I ju

[fw-general] Re: unit testing front controller plugin: $front->getParam('bootstrap') returns NULL

2009-09-05 Thread Jens Kleikamp
David Mintz wrote: Playing around with Zend_Application and friends, I made a Bootstrap.php which does this: protected function _initLog() { printf ("running %s:%s()\n",__CLASS__,__FUNCTION__); return new Zend_Log(new Zend_Log_Writer_Firebug()); } --- And a controller plugin:

Re: [fw-general] Unit testing components that work with file upload

2009-09-05 Thread ml
Just came to my mind: I think Frameworks like selenium [1] could be used to test the upload-components, but they need a lot of effort to test the functionality as you need to throw exceptions to the "gui" of your website and configure selenium to fail upon them. Probably a totally different angle

Re: [fw-general] Unit testing components that work with file upload

2009-09-05 Thread Thomas Weidner
Such tests can only be done indirect. Simply look into ZF's own testbed. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "mbneto" To: Sent: Saturday, September 05, 2009 12:16 AM Subject: [fw-general] Unit testing comp