Re: [fw-general] Dev Docs Down?
Hello Kevin, This is a known issue, I'm working on it. Will send a message to the list when it's fixed. Thanks! Andriesss Kevin McArthur schreef: The dev (hourly updated) docs don't seem to be working. http://framework.zend.com/wiki/display/ZFDOCDEV/Home Kevin
[fw-general] Custom Libraries
I have attached an example of two classes I have created which have helped make my code less error-prone and more modular. The classes provided wrap the Zend_Db_Table_Row and Zend_Db_Table_Rowset objects, making them Immutable. This has proven very beneficial when I need to pass instances of these objects to a view. By wrapping them in these Immutable objects, I can prevent a template designer from altering data in any way. It is also more efficient than converting to an array, since I still implement the Iterator and Countable interfaces in these objects. Example: $photo_table = new PhotoTable(); // PhotoTable extends Zend_Db_Table $photo = $photo_table->find(1); // Passes an immutable instance of this object to the view. $view->photo = new Sleek_Db_Table_ImmutableRow($photo); $album_table = new AlbumTable(); // AlbumTable extends Zend_Db_Table $albums = $album_table->fetchAll('parent_id IS NULL'); // Immutable rowset object. $view->albums = new Sleek_Db_Table_ImmutableRowset($albums); Check out the attachment and let me know what you think. I'd be interested to know if anyone finds this type of thing useful. -- Craig Slusher [EMAIL PROTECTED] sleeklib-0.1.tar.gz Description: GNU Zip compressed data
[fw-general] Dev Docs Down?
The dev (hourly updated) docs don't seem to be working. http://framework.zend.com/wiki/display/ZFDOCDEV/Home Kevin
Re: [fw-general] Problem with Front Class
You have 'controllers' in your setControllerDirectory method and 'controller' in your directory structure - is that a mistype or could that be the problem? I am facing problem with Zend_Controller_Front Class. The snippet of the code below. There is some problem with dispatch method. When i die the program before dispatch method then it display the 'check point' message. Otherwise it trap into the loop and noting get displayed on the screen. $controller = Zend_Controller_Front::getInstance(); $controller->setControllerDirectory('c:/Inetpub/wwwroot/application/ controll ers'); echo "check point";die(); $controller->dispatch(); Directory Structure /wwwroot /application /controller /IndexController.php /index.php /library Environment Windows 2003 with IIS6 Could anybody support us and let us know what mistake we are making? Regards, Sanjay Aggarwal -- Simon Mundy | Director | PEPTOLAB """ " "" "" "" "" """ " "" " " " " "" "" " 202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000 Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124 http://www.peptolab.com
[fw-general] Problem with Front Class
I am facing problem with Zend_Controller_Front Class. The snippet of the code below. There is some problem with dispatch method. When i die the program before dispatch method then it display the 'check point' message. Otherwise it trap into the loop and noting get displayed on the screen. $controller = Zend_Controller_Front::getInstance(); $controller->setControllerDirectory('c:/Inetpub/wwwroot/application/controll ers'); echo "check point";die(); $controller->dispatch(); Directory Structure /wwwroot /application /controller /IndexController.php /index.php /library Environment Windows 2003 with IIS6 Could anybody support us and let us know what mistake we are making? Regards, Sanjay Aggarwal
Re: [fw-general] Zend Framework 0.8 code freeze
INABIAF (It's not a bug, it's a feature)! Zend_Controller_RewriteRouter was renamed to Zend_Controller_Router_Rewrite. Please check the new documentation. I hope they get the hourly generated manual on http://framework.zend.com/wiki/display/ZFDOCDEV/Home running again soon. Otherwise, generate the manual yourself or read some xml. You might be interested in: /documentation/manual/en/module_specs/Zend_Controller-Migration.xml Regards, Philip Jude Aakjaer wrote: > Not sure if its a change in 0.8 or intentional in the RC1 but > RewriteRouter.php is missing from /library/Zend/Controller along with a few > other files. I didn't get a chance to check all files but thought I should > raise it is a potential issue > > Regards > Jude A.
Re: [fw-general] Zend Framework 0.8 code freeze
Not sure if its a change in 0.8 or intentional in the RC1 but RewriteRouter.php is missing from /library/Zend/Controller along with a few other files. I didn't get a chance to check all files but thought I should raise it is a potential issue Regards Jude A. On Saturday 17 February 2007 06:51, Bill Karwin wrote: > The Zend Framework 0.8.0 preview release candidates are ready: > > > > http://framework.zend.com/releases/ZendFramework-0.8.0-rc1.zip > > http://framework.zend.com/releases/ZendFramework-0.8.0-rc1.tar.gz > > > > Known issues: > > > > - Four unit tests fail in Zend_Mail (ZF-924) > > - Zend_Date format specifiers are inconsistent (ZF-908) > > - Zend_Db_Table_Row->save() fails (ZF-903) > > > > Regards, > > Bill Karwin > > > > > > From: Bill Karwin [mailto:[EMAIL PROTECTED] > Sent: Friday, February 16, 2007 11:20 AM > To: Zend Framework General > Subject: RE: [fw-general] Zend Framework 0.8 code freeze > > > > Hi, > > > > There are a couple of unresolved issues in Zend Framework 0.8, so here's > what we're going to do: > > I am going to make a tar and a zip download today and post them to the > framework web site. I'll send out the URL when I get that uploaded. > This will be a release candidate for ZF 0.8, and we request that you > review it and give us feedback here on the mailing list. After we have > resolved any show-stopper issues, we will release ZF 0.8, probably on > Tuesday (Monday is a US holiday). > > > > I'm lifting the code-freeze but I encourage developers to commit only > fixes for the show-stopper issues that we identify. Translators may > feel free to commit documentation edits. > > > > Regards, > > Bill Karwin > > > > > > > > From: Bill Karwin [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 15, 2007 11:46 PM > To: Zend Framework General > Subject: [fw-general] Zend Framework 0.8 code freeze > > > > Hi, > > > > We're now in code-freeze for Zend Framework 0.8. > > > > It's late here now and I'll do the product release tomorrow morning > (pacific time). After I finish the release and upload it, I'll follow > up and let people know when the code-freeze is lifted. > > > > I copied English manual files to translation directories where the files > were missing. I welcome translators to check in translations if you > want, since I won't be doing the product build for at least another 8 > hours. I suggest good priorities would be to translate new content in > Zend_Controller, Zend_Session and Zend_Auth documentation. > > > > I fixed a bug on our translation status page, so it shows more accurate > status now: http://framework.zend.com/manual/status > > > > Regards, > > Bill Karwin
RE: [fw-general] Undefined controller
Yes, there is really bug there. You should update your revision via SVN or via the latest snapshot. I personally use SVN. > But theres bug in version 0.7 as I see where isDispatchable() always returns > true(need to upgrade to some snapshot :) ) > > > -Original Message- > > From: Michael Patrick [mailto:[EMAIL PROTECTED] > > Sent: Friday, February 16, 2007 9:48 PM > > To: fw-general@lists.zend.com > > Subject: Re: [fw-general] Undefined controller > > > > Jakub Podhorský wrote: > > > This looks cool for me but I have one question. This is part of your > > plugin > > > isnt it? And that plugin is child of Zend_Controller_Plugin_Abstract > > object? > > > > Yes, that is correct. It looks pretty much like what Dmitry posted in > > his reply. >