Re: [fw-general] About improving ZF doc translation

2008-09-01 Thread mikaelkael
But translators should consider waiting a little while before applying 
these formatting changes : it's what I think :-) .


For the consistency of the documentation, following the example of the 
code of the ZF, we can add a light script of tests to check: line 
length, presence of a \n at the good place, respect of code conventions...


Mickael.

Wil Sinclair a écrit :

I kept it right around 70 columns, mainly because the code started moving off 
the printable page and it would have been hard to read in a smaller font. But 
translators should consider waiting a little while before applying these 
formatting changes, unless you'd like to render your docs in PDF now, that is. 
I will be looking through all the docs and making them consistent style-wise 
very soon after 1.6, and I will have to make changes to the code listings at 
that time as well.
I apologize for all the changes. As some of you may have noticed, while the 
content is typically good and consistently thorough, the writing styles, code 
conventions, and formatting can differ widely from one section to the next on 
the master English document. It has been livable up to now, but really comes 
out when you render the ref guide in a single document. The changes I have been 
making and plan to make were chosen in part because they shouldn't impact 
translations that much. I think we should talk about methods by which we can 
start sharing examples and figures as a partial solution to this problem if the 
translators feel that they have to be consistent even with code formatting in 
the translations.

,Wil




AW: [fw-general] Zend_Acl - How to model large ACL?

2008-09-01 Thread Stefan Gehrig
Hi Aldemar,

thanks for your reply. I had a closer look on your proposal and the articles
and it's quite useful but does not really fit into my problem (due to design
issues). I already came to a solution and I'm now dynamically building
selective ACLs for every user instead of building one large complete ACL.

Thanks again and best regards

Stefan

-Ursprüngliche Nachricht-
Von: Aldemar Bernal [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 29. August 2008 17:00
An: fw-general@lists.zend.com
Betreff: Re: [fw-general] Zend_Acl - How to model large ACL?

Hi,

maybe these article can give you a light, this proposal code is avalible in
the svn laboratory

http://devzone.zend.com/article/3509-Zend_Acl-and-MVC-Integration-Part-I-Bas
ic-Use
http://devzone.zend.com/article/3510-Zend_Acl-and-MVC-Integration-Part-II-Ad
vanced-Use

hope it helps,

Aldemar

- Original Message - 
From: Stefan Gehrig [EMAIL PROTECTED]
To: 'David Toniolo' [EMAIL PROTECTED]; fw-general@lists.zend.com
Sent: Friday, August 29, 2008 9:26 AM
Subject: AW: [fw-general] Zend_Acl - How to model large ACL?


Hi David,

thanks a lot for your reply.
I'll answer you in a separate email in German ;-)

Best regards

Stefan

-Ursprüngliche Nachricht-
Von: David Toniolo [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 29. August 2008 13:58
An: fw-general@lists.zend.com
Betreff: Re: [fw-general] Zend_Acl - How to model large ACL?


hi stefan,

your name sounds German, so maybe you want to post your topic on zfforum.de,
too.

I think you have too much roles, maybe it is possible to reduce them to
round about 100 roles, with inheritance and some optimization on the
structure. To say more about this, i have to know the concrete role names,
etc.

Your requirements are ok to use Zend_Acl, except the roles. You need some
Assertions, for example to implement only editing own entities and stuff
like that.

So far so good. In German i could write pretty much more, but my English is
too bad so i better stop here. ;)

greets
david



Stefan Gehrig wrote:

 Dear all,

 I'm working on a organization-wide address management system based on the
 Zend Framework.
 Currently I'm struggling with implementing an access-control-system that
 satisfies our needs. One option would be to model the whole ACL with
 Zend_Acl, but I have no experience with Zend_Acl and I do not know if
 Zend_Acl is intended to manage ACLs of this size and type.
 Please let me explain what I'm talking about:
 We'll have the following model entities:
 - organizations (120+) each with
 - organizational roles (5 - 10 per organization)
 - organizational persons (5 - 10 per organization)
 That's about 1800 entities. Each person can have multiple roles, so we
 have
 a 1:n relationship between persons and roles.
 Simultaneously we have about 18 regional authorities with 1 to 3 user each
 and the federal authority with about 20 users, of with 5 are super-users
 and
 15 have limited access rights to the respective organizations they manage.
 The access-control-system must ensure that
 - everyone (including guests) may view everything
 - each organizational person must be able to edit his own entity. He/she
 must not be able to delete his entity or create new entities.
 - the special organizational role Office must be able to edit all
 entities of its organization, it also can create and delete entities
 from within its organization. It must not however create new organizations
 or delete its organization.
 - the members of our regional authorities shall be able to edit
 organizations within their scope, they may also create and delete
 entities within these organizations. They may also delete organizations
 in
 their scope and create new organizations within their scope. The scope is
 determined by an attribute of the organization model class.
 - the 15 clerks within the federal authority must be able to edit
 organizations and their entities within their scope. They can create and
 delete entities from within these organizations but they cannot create
 or delete whole organizations. The scope is determined by an attribute
 of
 the organization model class.
 - the 5 super-user of the federal authority must be able to do everything.

 So far so good...
 If I try to model this with Zend_Acl I'd identify the following elements:
 - 4 privileges (view, edit, delete, create)
 - 1800 resources (120+ organizations with 5-10 persons and roles each.
 - 1834 roles (900 organizational roles, 900 organizational persons
 (membership can be modeled by using Zend_Acl's multiple role inheritance),
 18 regional authorities, 1 federal authority super-user-role, 15 federal
 authority scopes)

 Has anybody built a ACL that big yet? Is this actually a big ACL? It seems
 pretty big to me ;-)
 What about speed? Sure, I can use caching to speed things up, but each
 operation on the model itself (create, edit, delete) will force an update
 as
 the ACL is effectively the model.
 How would you manage these 

Re: [fw-general] Zend_Test_PHPUnit_ControllerTestCase with bootstrap php file

2008-09-01 Thread Matthew Weier O'Phinney
-- Peter Wansch [EMAIL PROTECTED] wrote
(on Sunday, 31 August 2008, 10:17 PM -0700):
 
 Hi Matt,
 Thanks for the explanation. I ensured that GGV_DISPATCH_CONTROLLER is set to
 false:
 
 public function setUp()
 {
 // Execute any startup code here
 defined('GOGOVERDE_DISPATCH_FRONT_CONTROLLER') or
 define('GOGOVERDE_DISPATCH_FRONT_CONTROLLER', false);
 parent::setUp();
 }
 
 right where you suggested I should define it. I still get the same error.
 Here is the output from phpunit:
 
 1) testValidLoginShouldGoToIndexPage(Ggv_LoginTest)
 Zend_Controller_Exception: No default module defined for this application
 /Library/WebServer/ZendFramework-1.6.0RC3/library/Zend/Controller/Dispatcher/Standard.php:211
 /Library/WebServer/ZendFramework-1.6.0RC3/library/Zend/Controller/Dispatcher/Standard.php:245
 /Library/WebServer/ZendFramework-1.6.0RC3/library/Zend/Controller/Front.php:946
 /Library/WebServer/ZendFramework-1.6.0RC3/library/Zend/Test/PHPUnit/ControllerTestCase.php:172
 
 Any ideas what the reason for that could be?

Is GGV_PATH_ROOT defined? I noticed that you're setting the controller
directory based on that information.

Also, can you do this as the first action in your test:

$this-fail(var_export($this-frontController-getControllerDirectory(), 
1));

This will let you know if the front controller has set controller
directories for you prior to dispatching. 


 Matthew Weier O'Phinney-3 wrote:
  
  -- Peter Wansch [EMAIL PROTECTED] wrote
  (on Sunday, 31 August 2008, 04:19 PM -0700):
  I wrote the following unit test case:
  
  class Ggv_LoginTest extends Zend_Test_PHPUnit_ControllerTestCase
  {
  public $bootstrap = '/Library/WebServer/Documents/GGV/www/index.php';
  
  public function testCallWithoutActionShouldPullFromIndexAction()
  {
  $this-dispatch('/');
  $this-assertResponseCode(200);
  }
  
  public function testValidLoginShouldGoToIndexPage()
  {
  $this-request-setMethod('POST')
-setPost(array(
'user_name' = TESTS_LOGIN_NAME,
'user_password' = TESTS_LOGIN_PASSWORD
));
  $this-dispatch('/GGV/www/user/login/');
  $this-assertResponseCode(200);
  }
  }
  
  The first test case that dispatches to '/' works. The second test case
  that
  dispatches to throws Zend_Controller_Exception: No default module defined
  for this application. I use the same index.php bootstrap file for running
  the application and testing the application. Here is a relevant excerpt:
  
  defined('GGV_DISPATCH_FRONT_CONTROLLER') or
  define('GGV_DISPATCH_FRONT_CONTROLLER', true);
  
  // Set the session into the registry
  Zend_Registry::set('session', $session);
  
  // Set up the front controller and dispatch
  $front = Zend_Controller_Front::getInstance();
  $front-registerPlugin(new LoggerPlugin());
  $front-throwExceptions(false);
  $front-setControllerDirectory(GGV_PATH_ROOT .
  '/application/controllers');
  $front-setBaseUrl($config-www-baseurl);
  if (GGV_DISPATCH_FRONT_CONTROLLER)
  {
  $front-dispatch();
  }
  
  the only difference is that in my test case I require_once a test
  configuration PHP file that defines GGV_DISPATCH_FRONT_CONTROLLER to
  false
  as per the documentation the bootstrap file must not dispatch the front
  controller. Unlike all the samples given, I don't use a Bootstrap class
  or
  callback in my testcase. It appears that Zend_Test does not use the
  $front
  controller I setup in my index.php but creates it's own which isn't
  initialized and throws the error.
  
  Well, Zend_Controller_Front is a singleton, so any instance of it is
  going to be the same instance, regardless of where it is executed.
  
  I have also experimented with adding a setUp
  
  public function setUp()
  {
  // Execute any startup code here
  
  I would define GGV_DISPATCH_FRONT_CONTROLLER right here, before calling
  parent::setUp() to ensure that you don't accidently dispatch the
  controller during bootstrapping.
  
  parent::setUp();
  }
  
  method into my testcase and trying to set the
  $this-frontController=$front
  but the global variable that gets set in index.php is not available. What
  am
  I doing wrong here? Any help is appreciated.
  
  -- 
  Matthew Weier O'Phinney
  Software Architect   | [EMAIL PROTECTED]
  Zend Framework   | http://framework.zend.com/
  
  
 
 -- 
 View this message in context: 
 http://www.nabble.com/Zend_Test_PHPUnit_ControllerTestCase-with-bootstrap-php-file-tp19247111p19249003.html
 Sent from the Zend Framework mailing list archive at Nabble.com.
 

-- 
Matthew Weier O'Phinney
Software Architect   | [EMAIL PROTECTED]
Zend Framework   | http://framework.zend.com/


Re: [fw-general] About improving ZF doc translation

2008-09-01 Thread mikaelkael

Hi,

Can you rapidly explain, the rules of the changes made?
For example:
- 80 columns
- ...
Because it's sometimes easier to make the changes directly in our
language without comparing with english files.
It's what I applied with the recent modifications (cutting rows after
![CDATA[ and before ]]).

Mickael.

Wil Sinclair a écrit :

Do you mean the changes I'm making to the programlisting sections? If
so, the formatting here is a bit more significant than the formatting in
any other section. This is because no renderer (HTML, PDF, etc.) wraps
this text- and they shouldn't either since that would just make the code
unreadable. All the changes I'm making to the code are specifically so
that it doesn't run off the page when rendered in a printable format
like PDF. Going forward, if documentors were stricter about applying the
'80 column' rule in the coding standards for docs, this would be less of
an issue.
On solution that we could consider is having all translations share code
examples. This is somewhat tricky, since there is documentation in the
code comments that is usually translated, too. I think we might be able
to refactor some of these examples to move the documentation that is
current in code comments out to the normal text, but there are certain
cases where this can be very unwieldy and make the docs potentially more
confusing. I don't won't to make translators jobs harder than they are
already. :) Does anyone have any other suggestions? Does anyone think
there is enough value in sharing examples across translations that we
should try this? If so, I'd still have to figure out the means of doing
this, but docbook has a simple include mechanism that should make it
pretty easy if we decided to go in this direction.

,Wil

Original Message-
From: Jason Qi [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2008 1:21 PM
To: fw-general@lists.zend.com
Subject: [fw-general] About improving ZF doc translation

Hi All,

Recently, we are experiencing a huge modification on the document
formatting.

Can we separate the formatting stuff from the documents(like what CSS
does)? Thus, formatting stuffs are kept in one place and can apply to
all languages, let our translators only focus on the translating job.

Thanks.

Jason.







[fw-general] Zend_Form_Element_File, file transfer and request.

2008-09-01 Thread Paweł Chuchmała
Hi.

I have some form. in controller i have:

$form = new App_Form_UserDetails();
if ($this-_request-isPost()) {
if ($form-isValid($values)) {
$user-setUserBasic($values);
}
} else {
$form-populate($user-toForm($id));
}

$this-view-form = $form;


Where $user is my model. and $values = $this-_request-getPost();
$values = Array
(
[id] = 1
[name] = Paweł Chuchmała
)

I want to add some Zend_Form_Element_File, for example 'photo',
'pet_photo', 'some_other_photo', and get $vallueas like this:
$values = Array
(
[id] = 1
[name] = Paweł Chuchmała
[photo] = myphoto.jpg
[pet_photo] = mypet.png
[some_other_photo] = mysailingteam.jpg
)

How I can do this? Subclassing Zend_File_Transfer_Adapter_Http?

regards,

-- 
Paweł Chuchmała
pawel.chuchmala at gmail dot com


Re: [fw-general] Zend_Test_PHPUnit_ControllerTestCase with bootstrap php file

2008-09-01 Thread Peter Wansch

Problem solved thanks to you! So I added that first line as requested to both
testcases:

   public function testCallWithoutActionShouldPullFromIndexAction()
{
   
$this-fail(var_export($this-frontController-getControllerDirectory(),
1)); 
$this-dispatch('/');
$this-assertResponseCode(200);
$this-assertAction('index');
$this-assertController('index');
}

public function testValidLoginShouldGoToIndexPage()
{
   
$this-fail(var_export($this-frontController-getControllerDirectory(),
1));
$this-request-setMethod('POST')
  -setPost(array(
  'user_name' = TESTS_LOGIN_NAME,
  'user_password' = TESTS_LOGIN_PASSWORD
  ));
$this-dispatch('/GoGoVerde/www/user/login/');
$this-assertResponseCode(200);
$this-assertAction('index');
$this-assertController('index');
}

with this result:

There were 2 failures:

1) testCallWithoutActionShouldPullFromIndexAction(Ggv_LoginTest)
array (
  'default' = '/Library/WebServer/Documents/GGV/application/controllers',
)

2) testValidLoginShouldGoToIndexPage(Ggv_LoginTest)
array (
)

for the second test case the controller directory was not defined as you
said. What had happened was 
that most of my index.php is in a try catch:
try
{
$configEnv = new Zend_Config_Ini(GGV_PATH_ROOT . '/config/main.ini',
'bootstrap');
$config = new Zend_Config_Ini(GGV_PATH_ROOT . '/config/main.ini',
$configEnv-env);
Zend_Registry::set('config', $config);
defined('GGV_SCHEMA') or define('GGV_SCHEMA', $config-db-schema);
$db = Zend_Db::factory($config-db);
Zend_Db_Table_Abstract::setDefaultAdapter($db);
Zend_Registry::set('db', $db);
$configSession = new Zend_Config_Ini(GGV_PATH_ROOT .
'/config/session.ini', $configEnv-env);
Zend_Session::setOptions($configSession-toArray());
Zend_Session::start();
$session = new Zend_Session_Namespace('GoGoVerde');
Zend_Session::regenerateId();
if ($session-user_authenticated)
{
$session-setExpirationSeconds($config-session-expire);
}
Zend_Registry::set('session', $session);
$front = Zend_Controller_Front::getInstance();
$front-registerPlugin(new LoggerPlugin());
$front-throwExceptions(false);
$front-setControllerDirectory(GGV_PATH_ROOT .
'/application/controllers');
$front-setBaseUrl($config-www-baseurl);
if (GGV_DISPATCH_FRONT_CONTROLLER)
{
   $front-dispatch();
}
}

to bring up an under maintenance page e.g. when the database is down and
an exception is thrown. The problem was that when the bootstrap ran for the
second test case the define('GGV_SCHEMA') had not been wrapped in a defined
or so it threw an exception. Once I changed that the testcase ran fine.

Thanks!!
Peter


Matthew Weier O'Phinney-3 wrote:
 
 -- Peter Wansch [EMAIL PROTECTED] wrote
 (on Sunday, 31 August 2008, 10:17 PM -0700):
 
 Hi Matt,
 Thanks for the explanation. I ensured that GGV_DISPATCH_CONTROLLER is set
 to
 false:
 
 public function setUp()
 {
 // Execute any startup code here
 defined('GOGOVERDE_DISPATCH_FRONT_CONTROLLER') or
 define('GOGOVERDE_DISPATCH_FRONT_CONTROLLER', false);
 parent::setUp();
 }
 
 right where you suggested I should define it. I still get the same error.
 Here is the output from phpunit:
 
 1) testValidLoginShouldGoToIndexPage(Ggv_LoginTest)
 Zend_Controller_Exception: No default module defined for this application
 /Library/WebServer/ZendFramework-1.6.0RC3/library/Zend/Controller/Dispatcher/Standard.php:211
 /Library/WebServer/ZendFramework-1.6.0RC3/library/Zend/Controller/Dispatcher/Standard.php:245
 /Library/WebServer/ZendFramework-1.6.0RC3/library/Zend/Controller/Front.php:946
 /Library/WebServer/ZendFramework-1.6.0RC3/library/Zend/Test/PHPUnit/ControllerTestCase.php:172
 
 Any ideas what the reason for that could be?
 
 Is GGV_PATH_ROOT defined? I noticed that you're setting the controller
 directory based on that information.
 
 Also, can you do this as the first action in your test:
 

 $this-fail(var_export($this-frontController-getControllerDirectory(),
 1));
 
 This will let you know if the front controller has set controller
 directories for you prior to dispatching. 
 
 
 Matthew Weier O'Phinney-3 wrote:
  
  -- Peter Wansch [EMAIL PROTECTED] wrote
  (on Sunday, 31 August 2008, 04:19 PM -0700):
  I wrote the following unit test case:
  
  class Ggv_LoginTest extends Zend_Test_PHPUnit_ControllerTestCase
  {
  public $bootstrap =
 '/Library/WebServer/Documents/GGV/www/index.php';
  
  public function testCallWithoutActionShouldPullFromIndexAction()
  {
  $this-dispatch('/');
  $this-assertResponseCode(200);
  }
  
  public function testValidLoginShouldGoToIndexPage()
  {
  $this-request-setMethod('POST')
-setPost(array(
'user_name' = TESTS_LOGIN_NAME,

[fw-general] Should Zend_Form::populate() accept $db-setFetchMode(Zend_Db::FETCH_OBJ) result?

2008-09-01 Thread gerardroche

version 1.6.0RC3


If you set the database adapter to return data as an array of objects and
then try to populate a form with a database result it will throw an error:

$db-setFetchMode(Zend_Db::FETCH_OBJ); // set fetch mode
$result = $db-fetchRow('...'); // get result
$form-populate($result); // populate

Catchable fatal error: Argument 1 passed to Zend_Form::populate() must be an
array, object given, ...

whereas, if you don't set the fetch mode to return objects it's fine. 

I guess my question is, should the form be able to accept an array of
objects?
-- 
View this message in context: 
http://www.nabble.com/Should-Zend_Form%3A%3Apopulate%28%29-accept-%24db-%3EsetFetchMode%28Zend_Db%3A%3AFETCH_OBJ%29-result--tp19256956p19256956.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Zend_Paginator iterator how to handle 0 pages.

2008-09-01 Thread Matthew Ratzloff
Hi,
I've created an issue for this:

http://framework.zend.com/issues/browse/ZF-4151

This is a bug in the code.  For now, unfortunately, checking the count prior
to entering the loop is the only solution.

Thanks,

-Matt

On Sun, Aug 31, 2008 at 11:06 AM, Codiac [EMAIL PROTECTED] wrote:


 Hi all,

 I've been playing around with Zend_Paginator using the
 Zend_Paginator_Adapter_Iterator. All went pretty good, until I passed
 Zend_Paginator 0 items/pages. I get the following exception:

 exception 'OutOfBoundsException' with message 'Seek position 0 is out of
 range'

 #0 [internal function]: ArrayIterator-seek(0)

 Now this exception is not a suprise, after all..it's seeking 0. The
 question I have is how to handle this exception? I use a foreach loop in my
 view to iterate over each item in the paginator and that's what's causing
 the exception:

 foreach ($this-paginator as $item){}

 Should I always check if there are 0 pages/items in the view and not start
 the foreach loop? Doing so would require a check in each view to see if
 there's 0 or more items/pages. I don't like that solution.

 Are there better ways to handle this exception?

 Regards, TJ.
 --
 View this message in context:
 http://www.nabble.com/Zend_Paginator-iterator-how-to-handle-0-pages.-tp19244562p19244562.html
 Sent from the Zend Framework mailing list archive at Nabble.com.




Re: [fw-general] Zend_Paginator

2008-09-01 Thread Matthew Ratzloff
Hi Simon,
I agree with the last suggestion.  However, with the first one, if you had
default values set and then overrode them  with specific values in the
function call, there would be no way to get back to the default values
unless you manually passed them in.  Or am I interpreting what you said
wrong?

Thanks,

-Matt

On Sun, Aug 31, 2008 at 1:18 PM, SiCo007 [EMAIL PROTECTED] wrote:


 Just been using this for the first time today, can I suggest an improvement
 (subject to opinion obv!).

 When calling the view helper would it not be better to store the values
 passed to it for future use thus allowing you to echo the control again
 with
 the same settings without setting them again. If the attributes were set
 then it would over write those set and basically start again.

 I have extended the class to do this in my own framework and thought it
 might be useful, I like to have the paging controls at the top and the
 bottom.

 It would also be good if the view helper tried to detect the paginator
 instance in the view itself. The docs suggest calling it $view-paginator
 would it not make sense for the helper to use this by default unless
 another
 instance is supplied in the helper call?

 Therefore you get easy helper methods for reuse but retain the ability to
 use multiple instances with different displays.

 Otherwise it works very well.

 -
 Simon

 http://www.ajb007.co.uk/
 --
 View this message in context:
 http://www.nabble.com/Zend_Paginator-tp19245710p19245710.html
 Sent from the Zend Framework mailing list archive at Nabble.com.




Re: [fw-general] Should Zend_Form::populate() accept $db-setFetchMode(Zend_Db::FETCH_OBJ) result?

2008-09-01 Thread Matthew Weier O'Phinney
-- gerardroche [EMAIL PROTECTED] wrote
(on Monday, 01 September 2008, 08:54 AM -0700):
 version 1.6.0RC3

Actually, what you describe below is true of all released versions of
Zend_Form.

 If you set the database adapter to return data as an array of objects and
 then try to populate a form with a database result it will throw an error:
 
 $db-setFetchMode(Zend_Db::FETCH_OBJ); // set fetch mode
 $result = $db-fetchRow('...'); // get result
 $form-populate($result); // populate
 
 Catchable fatal error: Argument 1 passed to Zend_Form::populate() must be an
 array, object given, ...
 
 whereas, if you don't set the fetch mode to return objects it's fine. 
 
 I guess my question is, should the form be able to accept an array of
 objects?

Right now, no; the current revisions only allow arrays. This simplifies
the interface and keeps it independent of object types. You can cast the
objects to arrays prior to passing them to populate() in the meantime.

However, feel free to file a feature request on the tracker. 

-- 
Matthew Weier O'Phinney
Software Architect   | [EMAIL PROTECTED]
Zend Framework   | http://framework.zend.com/


Re: [fw-general] Suggested code in documentation for Zend_Paginator partials - id to class.

2008-09-01 Thread Matthew Ratzloff
That's completely valid.  I've filed an issue for it.
-Matt

On Mon, Sep 1, 2008 at 7:50 AM, SiCo007 [EMAIL PROTECTED] wrote:


 I would like to suggest that in the documentation the code for the
 suggested
 paginaton techniques is changed slightly to make the id attribute in div
 id=paginationControl a class attribute instead... div
 class=paginationControl.

 Nothing major but people will be copying the code and it's best practice to
 have one id of said name per page, it's quite common however to display
 multiple paginators per page.

 Never sure whether to create an issue or post here as it's so trivial I
 figured I'd start here!

 -
 Simon

 http://www.ajb007.co.uk/
 --
 View this message in context:
 http://www.nabble.com/Suggested-code-in-documentation-for-Zend_Paginator-partials---id-to-class.-tp19255965p19255965.html
 Sent from the Zend Framework mailing list archive at Nabble.com.




Re: [fw-general] Suggested code in documentation for Zend_Paginator partials - id to class.

2008-09-01 Thread Matthew Ratzloff
Ah, I just realized that my statement could be misinterpreted.  I meant that
you raised a valid point.
-Matt

On Mon, Sep 1, 2008 at 9:17 AM, Matthew Ratzloff
[EMAIL PROTECTED]wrote:

 That's completely valid.  I've filed an issue for it.
 -Matt

 On Mon, Sep 1, 2008 at 7:50 AM, SiCo007 [EMAIL PROTECTED] wrote:


 I would like to suggest that in the documentation the code for the
 suggested
 paginaton techniques is changed slightly to make the id attribute in div
 id=paginationControl a class attribute instead... div
 class=paginationControl.

 Nothing major but people will be copying the code and it's best practice
 to
 have one id of said name per page, it's quite common however to display
 multiple paginators per page.

 Never sure whether to create an issue or post here as it's so trivial I
 figured I'd start here!

 -
 Simon

 http://www.ajb007.co.uk/
 --
 View this message in context:
 http://www.nabble.com/Suggested-code-in-documentation-for-Zend_Paginator-partials---id-to-class.-tp19255965p19255965.html
 Sent from the Zend Framework mailing list archive at Nabble.com.





Re: [fw-general] Zend_Form_Element_File, file transfer and request.

2008-09-01 Thread Thomas Weidner

Hy Pawel,

Simply use multiple Form_Element_File's, one for each file, and assign the 
returned filename to you custom array.
There is no need to subclass File_Transfer because it supports already 
multiple files.


Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com


- Original Message - 
From: Paweł Chuchmała [EMAIL PROTECTED]

To: fw-general@lists.zend.com
Sent: Monday, September 01, 2008 4:41 PM
Subject: [fw-general] Zend_Form_Element_File, file transfer and request.



Hi.

I have some form. in controller i have:

$form = new App_Form_UserDetails();
if ($this-_request-isPost()) {
   if ($form-isValid($values)) {
   $user-setUserBasic($values);
   }
} else {
   $form-populate($user-toForm($id));
}

$this-view-form = $form;


Where $user is my model. and $values = $this-_request-getPost();
$values = Array
(
   [id] = 1
   [name] = Paweł Chuchmała
)

I want to add some Zend_Form_Element_File, for example 'photo',
'pet_photo', 'some_other_photo', and get $vallueas like this:
$values = Array
(
   [id] = 1
   [name] = Paweł Chuchmała
   [photo] = myphoto.jpg
   [pet_photo] = mypet.png
   [some_other_photo] = mysailingteam.jpg
)

How I can do this? Subclassing Zend_File_Transfer_Adapter_Http?

regards,

--
Paweł Chuchmała
pawel.chuchmala at gmail dot com





[fw-general] FYI: new php framework benchmarks

2008-09-01 Thread Graham Anderson
Article: http://paul-m-jones.com/?p=315

For you lazies...

framework | avg  | rel
--+--+
baseline-html | 2309.14  | 1.7487
baseline-php  | 1320.47  | 1.
cake-1.1.19   | 118.30   | 0.0896
cake-1.2.0-rc2| 46.42| 0.0352
solar-1.0.0alpha1 | 154.29   | 0.1168
symfony-1.0.17| 67.35| 0.0510
symfony-1.1.0 | 67.41| 0.0511
zend-1.0.1| 112.36   | 0.0851
zend-1.5.2| 86.23| 0.0653
zend-1.6.0-rc1| 77.85| 0.0590




Re: [fw-general] FYI: new php framework benchmarks

2008-09-01 Thread Christopher Östlund
I wonder how ZF would perform stripped out of require_once. Anyone that did
the stripping mind testing with the code hosted?

On Mon, Sep 1, 2008 at 7:06 PM, Graham Anderson
[EMAIL PROTECTED]wrote:

 Article: http://paul-m-jones.com/?p=315

 For you lazies...

 framework | avg  | rel
 --+--+
 baseline-html | 2309.14  | 1.7487
 baseline-php  | 1320.47  | 1.
 cake-1.1.19   | 118.30   | 0.0896
 cake-1.2.0-rc2| 46.42| 0.0352
 solar-1.0.0alpha1 | 154.29   | 0.1168
 symfony-1.0.17| 67.35| 0.0510
 symfony-1.1.0 | 67.41| 0.0511
 zend-1.0.1| 112.36   | 0.0851
 zend-1.5.2| 86.23| 0.0653
 zend-1.6.0-rc1| 77.85| 0.0590





Re: [fw-general] Zend_Paginator

2008-09-01 Thread SiCo007


Matthew Ratzloff wrote:
 
 However, with the first one, if you had default values set and then
 overrode them  with specific values in the function call, there would be
 no way to get back to the default values unless you manually passed them
 in.  Or am I interpreting what you said wrong?
 

Good point, I hadn't considered that, maybe a way to set the default values
in the controller or statically into the paginator?

You can already do the following as per the docs:
Zend_Paginator::setDefaultScrollingStyle('Sliding');
Zend_View_Helper_PaginationControl::setDefaultViewPartial('my_pagination_control.phtml');
$paginator-setView($view);

But it's three different methods in two different classes to accomplish
something you could do in one place. Could the paginator not take the first
two options and any params you wish to send? Then the view helper can
retrieve these unless they are passed to the script and if nothing is passed
or set use the defaults?

This seems a better way round to my original idea anyway, but I think the
key would be the common interface into the paginator as from an ease of
learning point of view you don't want to have to put data in three different
places to activate one control.

$paginator-setScrollingStyle();
$paginator-setPartial();
$paginator-setView();

It's basically all there already anyway, both the paginator and the view
helper call each other from what I can see, so maybe I'm just being picky
but I won't back down ;)

In short a common interface to setup the pagination controls for the view
without having to actually remember the different bits to set in the
different classes.

Otherwise it's a brilliant addition to the framework and one of the easiest
to pick up and just use and so easy to implement custom adapters.


-
Simon

http://www.ajb007.co.uk/
-- 
View this message in context: 
http://www.nabble.com/Zend_Paginator-tp19245710p19258124.html
Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] Internationalization of Zend_Form

2008-09-01 Thread Hervé Piedvache
Hi,

May be a stupid question ... but in the documentation they said to use 
Zend_Translate for intertionalization ... but in Gettext mode ... How can I 
make my .po file without any marker in the ini files of my Zend_Forms ??

And same question for Zend_Validator...

Could you give a quick tip for this point ?

Thanks,
-- 
Hervé Piedvache

Elma Ingénierie Informatique
Groupe Maximiles S.A.
3 rue d'Uzès
F-75002 - Paris - France
Pho. 33-144949901
Fax. 33-144882747


Re: [fw-general] Internationalization of Zend_Form

2008-09-01 Thread Thomas Weidner

I don't quite understand your question.
But why do you not simply use ini files as translation when your source is 
already in ini format ?


Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

- Original Message - 
From: Hervé Piedvache [EMAIL PROTECTED]

To: fw-general@lists.zend.com
Sent: Monday, September 01, 2008 7:30 PM
Subject: [fw-general] Internationalization of Zend_Form


Hi,

May be a stupid question ... but in the documentation they said to use
Zend_Translate for intertionalization ... but in Gettext mode ... How can I
make my .po file without any marker in the ini files of my Zend_Forms ??

And same question for Zend_Validator...

Could you give a quick tip for this point ?

Thanks,
--
Hervé Piedvache

Elma Ingénierie Informatique
Groupe Maximiles S.A.
3 rue d'Uzès
F-75002 - Paris - France
Pho. 33-144949901
Fax. 33-144882747 



Re: [fw-general] FYI: new php framework benchmarks

2008-09-01 Thread Rob Allen


On 1 Sep 2008, at 18:09, Christopher Östlund wrote:

I wonder how ZF would perform stripped out of require_once. Anyone  
that did the stripping mind testing with the code hosted?


Why would that make a difference? They fixed the require_once speed  
issue in 5.2.0, didn't they?


Regards,

Rob...

Re: [fw-general] Zend Framework Freelancers

2008-09-01 Thread wik


Hello,

I am bidding at GAF (www.getafreelancer.com) :)

Thanks.


Sam Davey wrote:
 
 Hi,
 
 I realise this probably isn't the right place to investigate freelancers
 but I just wanted to get the opinion of the community.
 
 I made the decision earlier this year (once v 1.5 was released) to
 re-write the frontend of our website using the framework.  The main aim
 was to have something in place that is supported by online documentation,
 an online community and would enable me to outsouce small projects as they
 would be based on a more standard platform.
 
 This process is now complete... but looking on the likes of www.elance.com
 there a very few jobs that mention the framework.
 
  * Does anyone know of the best place to advertise these types of small
 jobs which are suitable for outsourcing?
 
 For example I'm having great difficulty getting Zend_Search_Lucene to
 produce good results for an ecommerce product search simply because many
 of the prodcuts we sell have oddly formatted names such as r09 or c 214.
 
 I'd MUCH rather have someone experienced with Zend_Search_Lucene complete
 the project rather than me tinker with it indefinatley to get the results
 I want.
 
 Does anyone have any suggestions/recommendations as to where best
 advertise this type of work?
 
 Cheers,
 
 Sam
 

-- 
View this message in context: 
http://www.nabble.com/Zend-Framework-Freelancers-tp19219464p19259000.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Internationalization of Zend_Form

2008-09-01 Thread enportugal

Hi,

If you are referring to translate error messages and stuff like that, all
you need to do is define a Zend_Translate instance in the Zend_Registry

Something like this

Zend_Registry::set('Zend_Translate', $translate);

Where $translate is the Zend_Translate instance

Regards,


Hervé Piedvache-2 wrote:
 
 Hi,
 
 May be a stupid question ... but in the documentation they said to use 
 Zend_Translate for intertionalization ... but in Gettext mode ... How can
 I 
 make my .po file without any marker in the ini files of my Zend_Forms ??
 
 And same question for Zend_Validator...
 
 Could you give a quick tip for this point ?
 
 Thanks,
 -- 
 Hervé Piedvache
 
 Elma Ingénierie Informatique
 Groupe Maximiles S.A.
 3 rue d'Uzès
 F-75002 - Paris - France
 Pho. 33-144949901
 Fax. 33-144882747
 
 

-- 
View this message in context: 
http://www.nabble.com/Internationalization-of-Zend_Form-tp19258216p19259039.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] About improving ZF doc translation

2008-09-01 Thread Jason Qi
Please see my comments inline.

Regards,

Jason.


--- On Mon, 9/1/08, mikaelkael [EMAIL PROTECTED] wrote:

 From: mikaelkael [EMAIL PROTECTED]
 Subject: Re: [fw-general] About improving ZF doc translation
 To: Wil Sinclair [EMAIL PROTECTED], fw-general@lists.zend.com
 Date: Monday, September 1, 2008, 1:48 AM
 But translators should consider waiting a little while
 before applying 
 these formatting changes : it's what I think :-)
**
How to schedule this kind of job? 
*

 .
 
 For the consistency of the documentation, following the
 example of the 
 code of the ZF, we can add a light script of tests to
 check: line 
 length, presence of a \n at the good place, respect of
 code conventions...
 
***
I agree that we need some tools to do the documents check for some purposes
(like fixing formatting probelm)as we human are more likely to forget some
of them or to make some typos on that.
***


 Mickael.
 
 Wil Sinclair a écrit :
  I kept it right around 70 columns, mainly because the
 code started moving off the printable page and it would have
 been hard to read in a smaller font. But translators should
 consider waiting a little while before applying these
 formatting changes, unless you'd like to render your
 docs in PDF now, that is. I will be looking through all the
 docs and making them consistent style-wise very soon after
 1.6, and I will have to make changes to the code listings at
 that time as well.
  I apologize for all the changes. As some of you may
**
I am glad to see our documents has been greatly improved.
Everybody should thank you for the changes.I did know some complaints
on the examples within ZF documents long time ago.

And also I think it should be a chance to let us to re think how to do
the documents(and translating) more efficiently and accurately. I believe
some similar changes will be happening somethings in the future.

That's why I am thinking we provide Zend_Translate as a component 
of ZF to others to facilitate their development, why don't we 
make use of it?  

**

 have noticed, while the content is typically good and
 consistently thorough, the writing styles, code conventions,
 and formatting can differ widely from one section to the
 next on the master English document. It has been livable up
 to now, but really comes out when you render the ref guide
 in a single document. The changes I have been making and
 plan to make were chosen in part because they shouldn't
 impact translations that much. I think we should talk about
 methods by which we can start sharing examples and figures
 as a partial solution to this problem if the translators
 feel that they have to be consistent even with code
 formatting in the translations.
 
  ,Wil






Re: [fw-general] Zend_Acl - How to model large ACL?

2008-09-01 Thread Aldemar Bernal

Hi Stefan,

take a look to my other proposal, might help,

http://framework.zend.com/wiki/display/ZFPROP/Zend_Acl+dynamic+loading+-+Aldemar+Bernal

Aldemar


- Original Message - 
From: Stefan Gehrig [EMAIL PROTECTED]

To: fw-general@lists.zend.com
Sent: Monday, September 01, 2008 7:30 AM
Subject: AW: [fw-general] Zend_Acl - How to model large ACL?


Hi Aldemar,

thanks for your reply. I had a closer look on your proposal and the articles
and it's quite useful but does not really fit into my problem (due to design
issues). I already came to a solution and I'm now dynamically building
selective ACLs for every user instead of building one large complete ACL.

Thanks again and best regards

Stefan

-Ursprüngliche Nachricht-
Von: Aldemar Bernal [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 29. August 2008 17:00
An: fw-general@lists.zend.com
Betreff: Re: [fw-general] Zend_Acl - How to model large ACL?

Hi,

maybe these article can give you a light, this proposal code is avalible in
the svn laboratory

http://devzone.zend.com/article/3509-Zend_Acl-and-MVC-Integration-Part-I-Bas
ic-Use
http://devzone.zend.com/article/3510-Zend_Acl-and-MVC-Integration-Part-II-Ad
vanced-Use

hope it helps,

Aldemar

- Original Message - 
From: Stefan Gehrig [EMAIL PROTECTED]

To: 'David Toniolo' [EMAIL PROTECTED]; fw-general@lists.zend.com
Sent: Friday, August 29, 2008 9:26 AM
Subject: AW: [fw-general] Zend_Acl - How to model large ACL?


Hi David,

thanks a lot for your reply.
I'll answer you in a separate email in German ;-)

Best regards

Stefan

-Ursprüngliche Nachricht-
Von: David Toniolo [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 29. August 2008 13:58
An: fw-general@lists.zend.com
Betreff: Re: [fw-general] Zend_Acl - How to model large ACL?


hi stefan,

your name sounds German, so maybe you want to post your topic on zfforum.de,
too.

I think you have too much roles, maybe it is possible to reduce them to
round about 100 roles, with inheritance and some optimization on the
structure. To say more about this, i have to know the concrete role names,
etc.

Your requirements are ok to use Zend_Acl, except the roles. You need some
Assertions, for example to implement only editing own entities and stuff
like that.

So far so good. In German i could write pretty much more, but my English is
too bad so i better stop here. ;)

greets
david



Stefan Gehrig wrote:


Dear all,

I'm working on a organization-wide address management system based on the
Zend Framework.
Currently I'm struggling with implementing an access-control-system that
satisfies our needs. One option would be to model the whole ACL with
Zend_Acl, but I have no experience with Zend_Acl and I do not know if
Zend_Acl is intended to manage ACLs of this size and type.
Please let me explain what I'm talking about:
We'll have the following model entities:
- organizations (120+) each with
- organizational roles (5 - 10 per organization)
- organizational persons (5 - 10 per organization)
That's about 1800 entities. Each person can have multiple roles, so we
have
a 1:n relationship between persons and roles.
Simultaneously we have about 18 regional authorities with 1 to 3 user each
and the federal authority with about 20 users, of with 5 are super-users
and
15 have limited access rights to the respective organizations they manage.
The access-control-system must ensure that
- everyone (including guests) may view everything
- each organizational person must be able to edit his own entity. He/she
must not be able to delete his entity or create new entities.
- the special organizational role Office must be able to edit all
entities of its organization, it also can create and delete entities
from within its organization. It must not however create new organizations
or delete its organization.
- the members of our regional authorities shall be able to edit
organizations within their scope, they may also create and delete
entities within these organizations. They may also delete organizations
in
their scope and create new organizations within their scope. The scope is
determined by an attribute of the organization model class.
- the 15 clerks within the federal authority must be able to edit
organizations and their entities within their scope. They can create and
delete entities from within these organizations but they cannot create
or delete whole organizations. The scope is determined by an attribute
of
the organization model class.
- the 5 super-user of the federal authority must be able to do everything.

So far so good...
If I try to model this with Zend_Acl I'd identify the following elements:
- 4 privileges (view, edit, delete, create)
- 1800 resources (120+ organizations with 5-10 persons and roles each.
- 1834 roles (900 organizational roles, 900 organizational persons
(membership can be modeled by using Zend_Acl's multiple role inheritance),
18 regional authorities, 1 federal authority super-user-role, 15 federal
authority scopes)

Has 

[fw-general] Zend_Form and custom html code

2008-09-01 Thread Ervin Hegedüs
Hello there,

I'm new on this list, and in Zend Framework.

I'm looking to the forms, here is what I want:

form ... action=/search/list
div class=formlabellabel for=lastname class=label
optionallastname/label/div
div class=formfieldinput type=text name=lastname
id=lastname value=Smith/div
div class=formsubmitinput type=submit name=searc id=searc
value=Search/div
/form

here is my code:

$form = new Zend_Form();
$form-setMethod('post');
$form-setAction('/search/list');
$lastname = new Zend_Form_Element_Text('lastname', array('label' =
'lastname', 'value' = 'Smith'));
$lastname-addDecorator('HtmlTag', array('tag' = 'div', 'class' =
'formfield'));
$lastname-addDecorator('Label', array('tag' = 'div', 'class' = 'formlabel'));

$submit = new Zend_Form_Element_Submit('search', array('label' =
'Search', 'value' = 'Search'));
$submit-addDecorator('HtmlTag', array('tag' = 'div', 'class' =
'formsubmit'));
$submit-removeDecorator('Label');
$form-addElements(array($lastname, $submit));
$form-submit-removeDecorator('Label');
$this-view-form = $form;

but I get this output:

form ... action=/search/listdl class=zend_form

divlabel for=lastname class=formlabel optionallastname/label/div
div class=formfield
input type=text name=lastname id=lastname value=Smith/div
div class=formfielddtnbsp;/dtdd
input type=submit name=search id=search
value=Search/dd/div/dl/form


so, I _do_ leave label tags, dt and dd tags (at submit element
too), and I want to put the submit button to _one_ html tag (at submit
element).

Please somebody point me what I miss? I'm confused...


Thanks:

airween


Re: [fw-general] FYI: new php framework benchmarks

2008-09-01 Thread Matthew Weier O'Phinney
-- Graham Anderson [EMAIL PROTECTED] wrote
(on Monday, 01 September 2008, 07:06 PM +0200):
 Article: http://paul-m-jones.com/?p=315
 
 For you lazies...
 
 framework | avg  | rel
 --+--+
 baseline-html | 2309.14  | 1.7487
 baseline-php  | 1320.47  | 1.
 cake-1.1.19   | 118.30   | 0.0896
 cake-1.2.0-rc2| 46.42| 0.0352
 solar-1.0.0alpha1 | 154.29   | 0.1168
 symfony-1.0.17| 67.35| 0.0510
 symfony-1.1.0 | 67.41| 0.0511
 zend-1.0.1| 112.36   | 0.0851
 zend-1.5.2| 86.23| 0.0653
 zend-1.6.0-rc1| 77.85| 0.0590

Also, please remember that these are done without any caching -- opcode
or content. They are meant as baseline comparisons only -- what is the
base performance of each given framework.

Just for those who aren't regulars on the list, we are planning a
performance audit of ZF for 1.7.0, so hopefully the decreases seen over
time will turn around for you.

-- 
Matthew Weier O'Phinney
Software Architect   | [EMAIL PROTECTED]
Zend Framework   | http://framework.zend.com/


Re: [fw-general] FYI: new php framework benchmarks

2008-09-01 Thread Philip G
It would be good to get some DB table benchmarks in there. I found
Zend_Db_Table_Abstract() to be the slowest piece of all the components I've
used. So much so, I've pretty much vowed off it, using Zend_Db_Select(),
until things can improve.

---
Philip
[EMAIL PROTECTED]
http://www.gpcentre.net/


On Mon, Sep 1, 2008 at 12:06 PM, Graham Anderson
[EMAIL PROTECTED]wrote:

 Article: http://paul-m-jones.com/?p=315

 For you lazies...

 framework | avg  | rel
 --+--+
 baseline-html | 2309.14  | 1.7487
 baseline-php  | 1320.47  | 1.
 cake-1.1.19   | 118.30   | 0.0896
 cake-1.2.0-rc2| 46.42| 0.0352
 solar-1.0.0alpha1 | 154.29   | 0.1168
 symfony-1.0.17| 67.35| 0.0510
 symfony-1.1.0 | 67.41| 0.0511
 zend-1.0.1| 112.36   | 0.0851
 zend-1.5.2| 86.23| 0.0653
 zend-1.6.0-rc1| 77.85| 0.0590





Re: [fw-general] FYI: new php framework benchmarks

2008-09-01 Thread Karol Grecki


Matthew Weier O'Phinney-3 wrote:
 
 Also, please remember that these are done without any caching -- opcode
 or content. They are meant as baseline comparisons only -- what is the
 base performance of each given framework.
 
 Just for those who aren't regulars on the list, we are planning a
 performance audit of ZF for 1.7.0, so hopefully the decreases seen over
 time will turn around for you.
 

IMO tests done without opcode caching are useless. Anyway, this only shows
that some frameworks are better optimized to display hello world than
others. Now all hello world developers can rejoice and switch to solar, we
should be happy for them. 
Sarcasm aside, I'm sure most people here will agree that there's more to a
framework than baseline performance and those benchmarks just give people
the wrong ideas. There will be plenty of chances to improve ZF performance,
but so far focus seemed to be on adding features. Just keep up the good
work.

Karol
-- 
View this message in context: 
http://www.nabble.com/FYI%3A-new-php-framework-benchmarks-tp19257910p19262039.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] FYI: new php framework benchmarks

2008-09-01 Thread Bruno Friedmann
Wil Sinclair wrote:
 I agree with you entirely. One of the goals that we hope to accomplish
 with our performance audit is authoring a 'performance guide' as an
 appendix to the manual. We could add a section about performance testing
 that focuses PHP developers on how to properly test performance, what
 the numbers mean, and if they should be worrying about it in the first
 place. Maybe you could help us out with some of the content. :)
 
 ,Wil

Another aspect should be used in perfs measurement.

The learning curve, the quality of the docs ( speed to find explanation and 
good concrete samples of codes with their tests
attached to them :-)
Quality and constancy of the code.
Tests coverage.

I'm really enjoy about the review about perfs audit.
Will keep my email, I'm really interested to help a bit with this part.


 
 -Original Message-
 From: Karol Grecki [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 01, 2008 4:19 PM
 To: fw-general@lists.zend.com
 Subject: Re: [fw-general] FYI: new php framework benchmarks



 Matthew Weier O'Phinney-3 wrote:
 Also, please remember that these are done without any caching --
 opcode
 or content. They are meant as baseline comparisons only -- what is
 the
 base performance of each given framework.

 Just for those who aren't regulars on the list, we are planning a
 performance audit of ZF for 1.7.0, so hopefully the decreases seen
 over
 time will turn around for you.

 IMO tests done without opcode caching are useless. Anyway, this only
 shows
 that some frameworks are better optimized to display hello world
 than
 others. Now all hello world developers can rejoice and switch to
 solar, we
 should be happy for them.
 Sarcasm aside, I'm sure most people here will agree that there's more
 to a
 framework than baseline performance and those benchmarks just give
 people
 the wrong ideas. There will be plenty of chances to improve ZF
 performance,
 but so far focus seemed to be on adding features. Just keep up the
 good
 work.

 Karol
 --
 View this message in context: http://www.nabble.com/FYI%3A-new-php-
 framework-benchmarks-tp19257910p19262039.html
 Sent from the Zend Framework mailing list archive at Nabble.com.
 


-- 

 Bruno Friedmann

Ioda-Net Sàrl
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760
  www.ioda-net.ch

 Centre de Formation et de Coaching En Ligne
 www.cfcel.com