Re: [fw-general] Checkbox and Dojo_foRM validation, please help if anyone know how

2008-10-19 Thread Themselves
Matthew Weier O'Phinney-3 wrote: > > -- Themselves <[EMAIL PROTECTED]> wrote > (on Wednesday, 08 October 2008, 02:12 AM -0700): >> >> I'm actually having the exact same problem as the OP with this one, >> except my >> code works just fine - I can validate the form no problem, I just can't >> g

[fw-general] Zend Date Comparison with equals

2008-10-19 Thread aztechy
Hi guys, Having a little confusion over the use of the equals function for zend_date. It seems like it should be pretty straightforward. I'm mainly utilizing the function with a calendar implementation. So I basically have two zend_date objects, created from mysql datetime fields. The times w

Re: [fw-general] ZF performances / profiling the culprit

2008-10-19 Thread Bruno Friedmann
Matthew Weier O'Phinney wrote: > -- Bruno Friedmann <[EMAIL PROTECTED]> wrote > (on Sunday, 19 October 2008, 07:30 PM +0200): >> With the help of ZendStudio, I'm trying to understand why on one >> application I've got 25/30 req/s and on the second one I've only a >> 5/5.50 req (1.6.2) or a 7/8.2rqs

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread Matthew Ratzloff
Of course, production environments use outdated PHP and Apache releases because Linux package maintainers upgrade infrequently. These are the versions that are most often found in the wild, not the latest releases. It's perfectly fine to benchmark with these older versions--but they should be the

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread Karol Grecki
dandans wrote: > > Your empty attack doesn't make you sound more scientific or competent. > > We all know testing environment affects test absolute numbers. However, > the purpose of the Yii benchmark is trying to compare frameworks. If you > can point out which test applications are not set u

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread dandans
Matthew Weier O'Phinney-3 wrote: > > -- dandans <[EMAIL PROTECTED]> wrote > (on Saturday, 18 October 2008, 07:56 PM -0700): >> holografix wrote: >> > If you download benchmark scripts from >> > http://www.yiiframework.com/performance/ you will see that zf benchmark >> is >> > not correct. >> >

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread dandans
Matthew Weier O'Phinney-3 wrote: > > -- dandans <[EMAIL PROTECTED]> wrote > (on Saturday, 18 October 2008, 07:56 PM -0700): >> holografix wrote: >> > If you download benchmark scripts from >> > http://www.yiiframework.com/performance/ you will see that zf benchmark >> is >> > not correct. >> >

[fw-general] Echoing data within a Zend_Form

2008-10-19 Thread Laurent Mestrallet
Hello list Is it possible with Zend_Form to add (custom) elements within -Let's say FilteringSelect- div tags? I don't know if its a good way to achieve my goal but i'd like to use dojo JSONRPCQueryReadStore (see http://dojotoolkit.org/forum/dojox-dojox/dojox-grid-support/queryreadstore-using-jso

Re: [fw-general] Processing Form Action With A Different Controller

2008-10-19 Thread Matthew Ishii
I am having major issues here, I had thought that separating the login processing and the logout functions from the index page where the actual login form is rendered would solve the issues im having but I was mistaken. The issue still remains, I select logout and the browser hourglasses and times

Re: [fw-general] ZF performances / profiling the culprit

2008-10-19 Thread Matthew Weier O'Phinney
-- Bruno Friedmann <[EMAIL PROTECTED]> wrote (on Sunday, 19 October 2008, 07:30 PM +0200): > With the help of ZendStudio, I'm trying to understand why on one > application I've got 25/30 req/s and on the second one I've only a > 5/5.50 req (1.6.2) or a 7/8.2rqs ( 1.7.0 notice the little change ) >

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread Matthew Ratzloff
His reply may be frank, but it's true. No one runs PHP on Windows Vista in any real world environment, so benchmarking in that environment is pointless. You can go one of three routes: - Debian Etch with default PHP and Apache packages - RHEL 5 or CentOS 5 with default PHP and Apache packages - S

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread Matthew Weier O'Phinney
-- dandans <[EMAIL PROTECTED]> wrote (on Saturday, 18 October 2008, 07:56 PM -0700): > holografix wrote: > > If you download benchmark scripts from > > http://www.yiiframework.com/performance/ you will see that zf benchmark is > > not correct. > > From readme.txt: > > Set the PHP include path by a

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread dandans
Isaak Malik-3 wrote: > > Dandans, > > I've performed the same benchmarks on a Windows XP, AMD Athlon XP 2000 > (1Ghz) system and concluded the following: > > There isn't a noticeable difference in requests per second when enabling > APC > or not, for me the the results were very close: > > I

Re: [fw-general] About Zend_Pdf tables

2008-10-19 Thread Kevin McArthur
Thats not quite correct. There's been a lot of work on PDF, but its not 1.0 backwards-compatible so its sitting in a fork at the moment. Most likely this is a feature that will come along around the 2.0 time frame when there are some acceptable b/c breaks. Kevin McArthur Michał Zieliński wrot

Re: [fw-general] ZF performances / profiling the culprit

2008-10-19 Thread Bruno Friedmann
Bruno Friedmann wrote: > Hi All. > > With the help of ZendStudio, I'm trying to understand why on one application > I've got 25/30 req/s > and on the second one I've only a 5/5.50 req (1.6.2) or a 7/8.2rqs ( 1.7.0 > notice the little change ) > ( a simple html file is giving a 385rqs and a 404 e

Re: [fw-general] Is Zend_Form really this difficult?

2008-10-19 Thread Bruno Friedmann
Steven Szymczak wrote: > The resources you provided, as well as those in the Zend Devzone, are > helping me get my head around this. Thanks for that. > > The problem I'm having now is trying to figure out how to wrap two > inputs (username and password), as well as their Label decorators, in a >

[fw-general] ZF-170PR tests results

2008-10-19 Thread Bruno Friedmann
Hi All ZF I've made some tests with the 1.7.0PR Mainly I'm trying to run all tests against it ( Exclude Services and some Database I've not access ). I'm joining all tests which cause trouble. With one special mention to DB ( but I believe the error was cause due to refactoring/rewriting of t

Re: [fw-general] Zend_Form name of the elements issue

2008-10-19 Thread Juan Felipe Alvarez Saldarriaga
Well, I did it, reading the reference guide ^^. // Load model. $model = new Model(); // Get an instance of Zend_Form. $form = new Zend_Form(); // I guess I can remove this line. $form->setIsArray( true ); // Get form elements from my db. $elements = $model->getFormElements(); // Loop trough ev

[fw-general] Zend_Form name of the elements issue

2008-10-19 Thread Juan Felipe Alvarez Saldarriaga
Hey! I'm trying to create a Zend_Form with all elements part of array, meaning: ... I'm doing this: // Load model. $model = new Model(); // Get an instance of Zend_Form. $form = new Zend_Form(); // Get form elements from my db. $elements = $model->getFormElements(); // Loop trough every

Re: [fw-general] About Zend_Pdf tables

2008-10-19 Thread Michał Zieliński
pcdinh wrote: > > Is there any progress in this case? I find it nowhere in Zend_Pdf > documentation > A few months ago I heard on irc that there is no developer who could carry and focus on this component. So I guess there is no progress. -- View this message in context: http://www.nabble.co

[fw-general] Re: Is Zend_Form really this difficult?

2008-10-19 Thread Steven Szymczak
ok, my form is build (not pretty), and in the interests of moving development forward, I've started working on the authenticating the values entered in the form. Only I can't get that far because submitting the form (with values or completely blank) results in the following error: Fatal erro

Re: [fw-general] Is Zend_Form really this difficult?

2008-10-19 Thread Steven Szymczak
The resources you provided, as well as those in the Zend Devzone, are helping me get my head around this. Thanks for that. The problem I'm having now is trying to figure out how to wrap two inputs (username and password), as well as their Label decorators, in a block. I can get both inputs,

Re: [fw-general] Default behavior of Zend_Layout::startMvc and plugin use?

2008-10-19 Thread Goran Juric
Uhh, had a same issue couple of days ago. My plugin was loading ALC resources in the predispatch, and anything that was "redirected" to the ErrorController tried to load the same resources twice. Don't know if this is the way it is supposed to be but I created a small workaround for my specific p

Re: [fw-general] Routing so that 'index' never shows up in the url?

2008-10-19 Thread till
On Sun, Oct 19, 2008 at 7:25 AM, TimTowdi <[EMAIL PROTECTED]> wrote: > > I want all actions for my IndexController to work using only the action name, > and actually redirecting if the index controller name is used. So: >http://example.com/index/sitemap/ > Would actually issue a redirect t

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread Isaak Malik
Dandans, I've performed the same benchmarks on a Windows XP, AMD Athlon XP 2000 (1Ghz) system and concluded the following: There isn't a noticeable difference in requests per second when enabling APC or not, for me the the results were very close: I performed 2 Zend FW benchmarks for each: 167.

[fw-general] Zend_Form decorators for table layout within an ini file

2008-10-19 Thread Ralf Eggert
Hi, I have some problems in "translating" the decorator definitions for a table based form layout when using an ini file. For the elements I want to use these definitions: $this->setElementDecorators( array( 'ViewHelper', 'Errors', array(

Re: [fw-general] Where to put forms and plugins in project structure

2008-10-19 Thread Ralf Eggert
Hi Matthew, thanks for the clarification on my questions. It helped me a lot! Thanks and best regards, Ralf

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread dandans
Karol Grecki wrote: > > > dandans wrote: >> >> Ok, using the Zend test application created by Paul with slight change, I >> re-did the test. Please check the result at >> http://www.yiiframework.com/performance/ >> >> Still, ZF does not gain much help from APC. I guess part of the reason is >

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread Karol Grecki
dandans wrote: > > Ok, using the Zend test application created by Paul with slight change, I > re-did the test. Please check the result at > http://www.yiiframework.com/performance/ > > Still, ZF does not gain much help from APC. I guess part of the reason is > because ZF relies on PHP include_

Re: [fw-general] Is Zend_Form really this difficult?

2008-10-19 Thread SiCo007
Read this and never worry about decorators again! http://devzone.zend.com/article/3450-decorators-with-zend_form - Simon http://www.ajb007.co.uk/ -- View this message in context: http://www.nabble.com/Is-Zend_Form-really-this-difficult--tp20049915p20053939.html Sent from the Zend Frame