Re: [fw-general] Zend_Acl 1.11 broken my code

2010-11-10 Thread Emmanuel Bouton
Hi, A bug has been created for that : http://framework.zend.com/issues/browse/ZF-10649 I suggest you to vote for its fix ;) Manu 2010/11/10 Valentin valen...@valclip.com Hi, New version 1.11 have only one change in Zend_Acl line 636: Old line $resources = array($resources); change for

Re: [fw-general] Zend_Acl 1.11 broken my code

2010-11-13 Thread Emmanuel Bouton
Hi, The issue tracker seems to be down :( Can you send me the patch in private ? Emmanuel 2010/11/12 Ralph Schindler ralph.schind...@zend.com: Hi All, I've uploaded a patch to Zend_Acl that covers this use case while being completely backwards compatible. I'd really like to see everyone

Re: [fw-general] php include_path configuration

2011-08-27 Thread Emmanuel Bouton
Hello, By default on debian, there are 2 php.ini ... one for apache (/etc/php5/apache2/php.ini), and one for the command line interface (/etc/php5/cli/php.ini). I guess that you have set the include_path in the command line file only. Manu 2011/8/28 Xian Chen hoganx...@gmail.com: hello, I

[fw-general] Locale unit tests

2011-09-16 Thread Emmanuel Bouton
Hello, I'd like to test the plugin which set the locale in my application. My problem is that the Zend_Locale class stores the default settings in static variables ($_auto, $_browser, etc) and don't provide a method to refresh its. So the changes on my environment settings (HTTP_ACCEPT_LANGUAGE)

[fw-general] Re: Locale unit tests

2011-09-17 Thread Emmanuel Bouton
call MyLocale::flush in the setUp() method on my tests. Regards, Emmanuel 2011/9/16 Emmanuel Bouton got...@gmail.com: Hello, I'd like to test the plugin which set the locale in my application. My problem is that the Zend_Locale class stores the default settings in static variables ($_auto

[fw-general] Hidden field on Zend_Form_Element_Checkbox

2011-09-23 Thread Emmanuel Bouton
Hello, I have an issue with the hidden field generated by Zend_View Helper FormCheckbox ... I've just posted a comment on issue ZF-6624. Does anyone know if the generation of that hidden field could be optional in the future ? Thanks Emmanuel -- List: fw-general@lists.zend.com Info:

Re: [fw-general] Re: Questions regarding Zend View Helper URL and chain routes

2012-01-27 Thread Emmanuel Bouton
Hello, You shouldn't use mobile.chains.confirm as name of route ... Try something like that instead : resources.router.routes.mobile-chains-confirm.type = Zend_Controller_Router_Route_Static resources.router.routes.mobile-chains-confirm.route = confirmation.html

Re: [fw-general] db-adapter error

2012-02-06 Thread Emmanuel Bouton
Hello, This command just write these two lines in the production section of application/configs/application.ini : resources.db.adapter = PDO_SQLITE resources.db.params.dbname = APPLICATION_PATH /../data/db/guestbook.db It requires a valid .zfproject.xml and application/configs/application.ini

Re: [fw-general] Trying to follow the tutorial for zf1: about the database connection

2012-11-27 Thread Emmanuel Bouton
Hi Javier, Yes the tutorial has been written for sqlite use. If you want to use MySQL you'll have to modify the code a little on several files. I suggest you to install sqlite and follow the tutorial, and then read the reference guide to update the code for MySQL use. Be careful in

Re: [fw-general] Can't load my form class

2013-02-05 Thread Emmanuel Bouton
Hi Yves, Please provide us the error message, and your index.php (if your autoloading is initialize there). Regards, Emmanuel 2013/2/4 Yves yoursurrogate...@gmail.com: Hi guys, I'm having an annoying problem with not being able to load a form class, this is the contents of the class

Re: [fw-general] zftool failed: I cannot access the API of github (windows environment)

2013-02-12 Thread Emmanuel Bouton
Hello, You need to install OpenSSL PHP extension. I've just made a pull request on ZFTool to check the availability of the extension, and prompt a better error message if not. Regards, Emmanuel Bouton 2013/2/12 bastianbox bastian...@gmail.com: (sorry my english) I try to install a new

Re: [fw-general] Best Practice Application using ZF2, Doctrine2, DDD

2013-05-17 Thread Emmanuel Bouton
Hi Christian, I'm currently learning ZF2 and its module system, and I'm an adept of DDD principles ... like you it seems ;) So I started to develop a set of modules to provide the basics of persistence in a DDD approach. My modules are : https://github.com/goten4/ZfPersistenceBase

[fw-general] Extensible web admin

2014-06-06 Thread Emmanuel Bouton
Hello, I'm working on a web admin interface with Zend Framework 2, and I'd like to make it extensible by « plugins ». Great for me ZF2 provides a great modules system :) But I wonder how I could make « cleanly » my templates extensible. Example : My « core » admin would render that : nav

Re: [fw-general] Extensible web admin

2014-06-07 Thread Emmanuel Bouton
options by calling navAdd() method... Of course service 'MyAwesomeAppPluginManager' could also manage another aspects of system (not only menu options). That was my firstthought how it could be solved. W dniu 06.06.2014 10:01, Emmanuel Bouton pisze: Hello, I'm working on a web admin

Re: [fw-general] Forward parameter on each request

2014-07-25 Thread Emmanuel Bouton
for your env if you need it, and also define a default value. Best regards. 2014-07-25 21:51 GMT+02:00 Emmanuel Bouton got...@gmail.com: Hello, I'm working on a web admin that manages a list of servers. In the header of all the pages there's a select box for the servers environments. When

Re: [fw-general] Forward parameter on each request

2014-08-01 Thread Emmanuel Bouton
Alastrué http://www.alejandrocelaya.com El 26/07/2014 01:28, Emmanuel Bouton got...@gmail.com escribió: Wow it seems exactly what I need thanks a lot :) Another thing, how would you manage globally the treatment of the selected environment (retrieving the environment in the database

Re: [fw-general] Forward parameter on each request

2014-08-01 Thread Emmanuel Bouton
is not a good practice. I don't know if I answered your question. Let's see if anyone else has a better approach for this. Best regards! 2014-08-01 11:40 GMT+02:00 Emmanuel Bouton got...@gmail.com: Sorry I missed your last message ... My question is : now that I have a proper way to forward my

[fw-general] Hydrate with one to many relation

2014-09-15 Thread Emmanuel Bouton
Hi all, I wonder how to manage properly hydrating phase when my sql statement has at least one join (with one to many relation). Let's take a short example : https://gist.github.com/goten4/8643c9dc3394adeb8a88 I have a common Repository class that manage the simple case, I inject to the

Re: [fw-general] Hydrate with one to many relation

2014-09-16 Thread Emmanuel Bouton
of query, it’s a really simple system. If you’d like something complicated you should really look into Doctrine http://www.doctrine-project.org/. Cheers, -- Xander Guzman xander.guz...@xanderguzman.com www.xanderguzman.com On September 15, 2014 at 3:53:55 PM, Emmanuel Bouton (got...@gmail.com

[fw-general] Multiple authentications

2014-11-07 Thread Emmanuel Bouton
Hi all, In my app I have 3 types of controllers : - Public controllers without any authentication - SSO Authenticated controllers - HTTP Basic Authenticated controllers (for a webservice part) How should I manage these 2 way of authentication ? In controllers onDispatch method ? Through

[fw-general] Re: Multiple authentications

2014-11-07 Thread Emmanuel Bouton
Or should I simply check the authentication on top of each my action ? (a bit repetitive ...) 2014-11-07 23:27 GMT+01:00 Emmanuel Bouton got...@gmail.com: 2014-11-07 23:19 GMT+01:00 Emmanuel Bouton got...@gmail.com: Hi all, In my app I have 3 types of controllers : - Public controllers

[fw-general] Re: Multiple authentications

2014-11-10 Thread Emmanuel Bouton
/Ocramius http://ocramius.github.com/ On 7 November 2014 23:33, Emmanuel Bouton got...@gmail.com javascript:_e(%7B%7D,'cvml','got...@gmail.com'); wrote: Or should I simply check the authentication on top of each my action ? (a bit repetitive ...) 2014-11-07 23:27 GMT+01:00 Emmanuel Bouton

Re: [fw-general] @ZendTeam : ping

2014-11-11 Thread Emmanuel Bouton
Thanks Marco for your answer ! I'll suscribe to stackoveflow and github updates :) 2014-11-11 2:12 GMT+01:00 Marco Pivetta ocram...@gmail.com: Hi Emmanuel, On 10 November 2014 23:11, Emmanuel Bouton got...@gmail.com wrote: Hi all, I'm a ZF coder for 5 years now. I started with ZF1