Re: [fw-general] Zend_View adapters

2009-10-26 Thread Саша Стаменковић
I see your point, and having them under ZendX can be useful. Is there some way to download ZendX instead getting it from svn? Regards, Saša Stamenković On Sun, Oct 25, 2009 at 2:27 AM, Pádraic Brady wrote: > There are no plans that I'm aware of since there are something like a > billion templat

Re: [fw-general] Zend_View adapters

2009-10-26 Thread Jurian Sluiman
Grab the full package. It's inside the 'extras' folder. Regards, Jurian -- Jurian Sluiman Soflomo.com Op Monday 26 October 2009 08:25:41 schreef Саша Стаменковић: > I see your point, and having them under ZendX can be useful. Is there some > way to download ZendX instead getting it from svn? > >

Re: [fw-general] Zend_View adapters

2009-10-26 Thread Саша Стаменковић
Thx. Regards, Saša Stamenković On Mon, Oct 26, 2009 at 9:00 AM, Jurian Sluiman wrote: > Grab the full package. It's inside the 'extras' folder. > > > Regards, Jurian > -- > Jurian Sluiman > Soflomo.com > > > Op Monday 26 October 2009 08:25:41 schreef Саша Стаменковић: > > > I see your point, an

Re: [fw-general] Finding "next" date for an event

2009-10-26 Thread Exception e
First of, you might consider this question also helpful: http://stackoverflow.com/questions/1579638/what-is-the-best-way-to-represent-recurring-events-in-database Brenton Alker-3 wrote: > >> If the timespans are really complex, in essence: can not be catched in a >> limited amount of time value

Re: [fw-general] Finding "next" date for an event

2009-10-26 Thread Brenton Alker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Exception e wrote: > First of, you might consider this question also helpful: > http://stackoverflow.com/questions/1579638/what-is-the-best-way-to-represent-recurring-events-in-database Thanks for the pointer, some good discussion there. >> This is e

Re: [fw-general] Action Helpers not found

2009-10-26 Thread Matthew Weier O'Phinney
-- asagala wrote (on Sunday, 25 October 2009, 04:32 PM -0700): > > When I add these lines > > includePaths.library = APPLICATION_PATH "/library" > autoloaderNamespaces[] = "Helper_" > resources.frontcontroller.actionhelperpaths.Helper = APPLICATION_PATH > "/library/Helper" > > I get this err

Re: [fw-general] How do you decorate MultiCheckbox elements?

2009-10-26 Thread Anders Gunnarsson
Old subject, but did you ever solve this? I have the same problem Philip G skrev: Simple question, I can't for the life of me figure out how you would decorate checkbox elements. There seems to be options to do all sorts of things, but individual checkbox elements? I need to setup a form

[fw-general] false negative in unit testing whether plugin is loaded (?)

2009-10-26 Thread David Mintz
I got the idea that I should create an ACL front controller plugin that loads only if there is an authenticated user. My reasoning is, if they ain't logged in, why load my ACL class? Send them to the login page, end of story. Hence, in my Bootstrap, function _initFrontControllerPlugins() {

Re: [fw-general] application.ini adaptation for php 5.3

2009-10-26 Thread Vincent Louvet
Hi, Removing the 2 signs made the PHP errors disapear but the routes don't work at all (they are just ignored which I think is normal bacause the regexp is false then). It is said that the INI support is improved in PHP 5.3, I just find it more obscure. Discouraged, I finally swapped from ini to

Re: [fw-general] application.ini adaptation for php 5.3

2009-10-26 Thread Philip G
In my opinion, I think XML should be the recommended route. Using some obscured version of a Windows origin configuration file and then bastardizing it belong belief to add functionality is the entirely wrong way to go. XML and the newly added ZendFW XML namespace (in 1.9) is the right way. That's

Re: [fw-general] ZF Custom Router

2009-10-26 Thread dmitrybelyakov
Flirt4 wrote: > > Hello all! > I`m new to zend, and I have some difficult with zend router. I have site + > admin area on zend framework. Now i need to add some languages to my site. > I do it and all is ok, now my router in bootstrap.php look like this : > > $route = new Zend_Controller_Rout

Re: [fw-general] ZF Custom Router

2009-10-26 Thread prodigitalson
Just add another route.. but take care they are you add them in order (most general -> most specific): $default = new Zend_Controller_Router_Route( ':lang/:controller/:action/*', array('controller'=>'index',

Re: [fw-general] application.ini adaptation for php 5.3

2009-10-26 Thread prodigitalson
I couldnt agree with you more Phillip. I was literally floored that an Enterprise framework would adopt INI as the config standard. INI is VERY hard to look at when youre talking complex configuration - which i think should be the default assumption. I could understand YAML simply because its all

Re: [fw-general] ZF Custom Router

2009-10-26 Thread dmitrybelyakov
prodigitalson wrote: > > Just add another route.. but take care they are you add them in order > (most general -> most specific): > > $default = new Zend_Controller_Router_Route( > ':lang/:controller/:action/*', > array('controller'=>

Re: [fw-general] false negative in unit testing whether plugin is loaded (?)

2009-10-26 Thread prodigitalson
Well first off you shouldnt really throw exceptions in your test... thats what the assertions are for really for example: function testAclPluginLoadsIfUserIsAuthenticated() { $this->loginDavid(); // tested independently and known to work $this->resetRequest()->resetResponse();

Re: [fw-general] false negative in unit testing whether plugin is loaded (?)

2009-10-26 Thread David Mintz
On Mon, Oct 26, 2009 at 5:06 PM, prodigitalson wrote: > > Well first off you shouldnt really throw exceptions in your test... thats > what the assertions are for really for example: > > function testAclPluginLoadsIfUserIsAuthenticated() { > >$this->loginDavid(); // tested independently and

Re: [fw-general] Subforms and subforms

2009-10-26 Thread Jurian Sluiman
Sorry to kick the thread, but am I asking too complicated questions? :p Basically it seems elements in the form > subform_1 > subform_2 are not aware of subform_1 and only uses a subform_2 prefix. Is it possible to configure this behaviour? Regards, Jurian -- Jurian Sluiman Soflomo.com Op Satu

[fw-general] Queue Service for Simple Cloud API now available!

2009-10-26 Thread Wil Sinclair
Hi all, I'm happy to announce that another service has been added to the Simple Cloud API- the Queue Service with support for SQS. You can check it out from the laboratory here: http://framework.zend.com/svn/framework/laboratory/Zend_Cloud/trunk/. Please give it a whirl and leave feedback on th

Re: [fw-general] Action Helpers not found

2009-10-26 Thread asagala
I have that line. Here is my full application.ini [production] phpSettings.display_startup_errors = 0 phpSettings.display_errors = 0 phpSettings.date.timezone = "UTC" includePaths.library = APPLICATION_PATH "/../library" bootstrap.path = APPLICATION_PATH "/Bootstrap.php" bootstrap.class = "Boots

Re: [fw-general] Action Helpers not found

2009-10-26 Thread Hector Virgen
I'm not sure how your Bootstrap.php looks, but from the config it appears you don't have the autoloader set up. Here's how I set up mine. First I add these lines to my application.ini: ; resource plugins pluginPaths.Default_Resource = APPLICATION_PATH "/resources" ; autoloader resources.autoload

Re: [fw-general] Action Helpers not found

2009-10-26 Thread asagala
My boothstrap.php is here class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { protected function _initAutoload() { $moduleLoader = new Zend_Application_Module_Autoloader(array( 'namespace' => '', 'basePath' => APPLICATION_PATH)); return

Re: [fw-general] Pushed on ActionStack with custom module/controller/action, yet they persist

2009-10-26 Thread J2EE
Hi, I'm new to ZF and dont know answer of your question, but after my google search i can found only you that speak about extending Zend_Controller_Action and make your parent class in your heirarchy. I want similar thing, i want to write own My_Zend_Controller_Action and extends Zend_Controller_