Re: [fw-general] Performance and Example of Enterprice Applications

2010-09-03 Thread info
Thank you very much, friends. I'm sure that i will persuade my boss. Antonio > -- i...@antoniocaccese.it wrote > (on Friday, 03 September 2010, 03:05 PM +0200): >> i have a problem. I'm an applications developer (zend framework based) >> since 2 years. I'm italian. >> >> Well. Now i'm working si

[fw-general] Keeping .zfproject.xml up to date with Zend_Tool

2010-09-03 Thread takeshin
Hello, How do I delete modules, controllers or actions created by zf script? When I manually delete the module, when the .zfproject.xml is updated with that information? Is there any 'refresh' command? -- takeshin -- View this message in context: http://zend-framework-community.634137.n4.nabb

[fw-general] Router required variables not working?

2010-09-03 Thread Lyle Underwood
As far as I can tell required variables are not in fact required in my application. [default] routes.categoryprojectview.route= "projects/view/:categoryId/:id" routes.categoryprojectview.defaults.controller = "projects" routes.categoryprojectview.defaults.action =

[fw-general] Re: Lazy load application resources?

2010-09-03 Thread takeshin
Hi guys, Symfony's dependency injection component looks really cool. Is there any method to directly use resource settings from application.ini instead separate resources.xml? Any array adapter? e.g. in Boostrap.php $resources = $this->getOption('resources')->toArray() $loader->load($resources)

[fw-general] RE: Unable to change session data in controllers

2010-09-03 Thread caclass
Dear Monika, I have not had time to test, and will let you know the results after testing. Thanks, William From: Monika [via Zend Framework Community] [mailto:ml-node+2476808-1892696834-143...@n4.nabble.com] Sent: Thursday, September 02, 2010 1:39 AM To: caclass Subject: Re: Unabl

Re: [fw-general] Lazy load application resources?

2010-09-03 Thread Paul
On 9/3/2010 1:09 PM, Hector Virgen wrote: Thanks Paul. I just went through the slides and the implementation looks great. :) Excellent! Glad I could help. -- *Hector Virgen* Sr. Web Developer Walt Disney Parks and Resorts Online http://www.virgentech.com On Fri, Sep 3, 2010 at 9:49 AM, P

Re: [fw-general] Lazy load application resources?

2010-09-03 Thread Hector Virgen
Thanks Paul. I just went through the slides and the implementation looks great. :) -- *Hector Virgen* Sr. Web Developer Walt Disney Parks and Resorts Online http://www.virgentech.com On Fri, Sep 3, 2010 at 9:49 AM, Paul wrote: > That would work... I believe used this presentation from Fabien

Re: [fw-general] Lazy load application resources?

2010-09-03 Thread Paul
That would work... I believe used this presentation from Fabien http://www.docstoc.com/docs/22437484/Using-symfony-and-Zend-Framework-together On 9/3/2010 12:33 PM, Hector Virgen wrote: Thanks, Paul. Would you recommend this approach? http://blog.starreveld.com/2009/11/using-symfony-di-contai

Re: [fw-general] Lazy load application resources?

2010-09-03 Thread Hector Virgen
Thanks, Paul. Would you recommend this approach? http://blog.starreveld.com/2009/11/using-symfony-di-container-with.html -- *Hector Virgen* Sr. Web Developer Walt Disney Parks and Resorts Online http://www.virgentech.com On Fri, Sep 3, 2010 at 9:29 AM, Paul wrote: > I recommend integrating

Re: [fw-general] Lazy load application resources?

2010-09-03 Thread Paul
I recommend integrating with Symfony DI component. I use this as my bootstraps container. Much more flexible, and only instantiates object once they are called upon. On 9/3/2010 12:08 PM, Hector Virgen wrote: I'm a big fan of Zend_Applicaton's bootstrap resources and use them for just about

[fw-general] Lazy load application resources?

2010-09-03 Thread Hector Virgen
I'm a big fan of Zend_Applicaton's bootstrap resources and use them for just about every resource my app may need including custom ones. However, not all pages need all resources. Is it possible to lazy-load the resource so that it's instantiation is deferred until calling $bootstrap->getResource()

Re: [fw-general] Re: Quote reserved keywords ?

2010-09-03 Thread Bill Karwin
Hector is right, update() quotes identifiers you use in the keys of the $data array. The usage Hector shows is correct. insert() also quotes identifiers for columns: $data = array('default' => 1); $db->insert('my_table', $data); But Zend_Db does not automatically quote or delimit elements in

[fw-general] Re: Quote reserved keywords ?

2010-09-03 Thread silverspacer
And delete and insert is also working? Greetz -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Quote-reserved-keywords-tp2525558p2525749.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Performance and Example of Enterprice Applications

2010-09-03 Thread Mario Knippfeld
Hi Antonio, we have build our company CMS on Zend Framework. (we are also developing our new intranet on zend framework with doctrine2). some websites based on our cms: http://www.livingconcept.de/ http://www.wiesmann.com/ http://www.netzcocktail.de/ http://www.skate-aid.org/ http://www.rebe

Re: [fw-general] Re: Quote reserved keywords ?

2010-09-03 Thread Hector Virgen
Zend_Db_Adapter_Abstract#update() will automatically quote identifiers in the $data array (aka $bind), but not the $where array. Have you tried without manually quoting the $data array? $data = array('default' => 0); $where = array("{$db->quoteIdentifier('default')} = ?" => 1); $db->update('my_tab

[fw-general] Re: Quote reserved keywords ?

2010-09-03 Thread debussy007
By the way, with fetchAll I got it working : function getDefaultTypeAppointment($doctorId) { $db = Zend_Registry::get(My_Constant_App::REG_DB_ADAPTER); $sql = 'SELECT * FROM types_appointment ' . 'WHERE doctor_id = ' . $doctorId . ' AND `default` = 1'; ret

[fw-general] Re: Quote reserved keywords ?

2010-09-03 Thread silverspacer
hmhm... U use Mysql? Is there any column called default? can you show us your schema? Greets > > > > Didn't seem to work, > > I've tried the following : > > $defaultColumn = $db->quoteIdentifier("default"); > $data = array( "$defaultColumn" => 0 ); > $where = array("$defaultColumn = ?" => 1, 'do

[fw-general] Re: Quote reserved keywords ?

2010-09-03 Thread debussy007
Here is the table CREATE TABLE `types_appointment` ( `id` int(11) NOT NULL AUTO_INCREMENT, `default` tinyint(4) NOT NULL, `doctor_id` int(11) NOT NULL, `label_fr` varchar(250) DEFAULT NULL, `label_nl` varchar(250) DEFAULT NULL, `label_en` varchar(250) DEFAULT NULL, `duration` int(11

Re: [fw-general] Performance and Example of Enterprice Applications

2010-09-03 Thread Narinder Chandi
Hi. These links should help you identify some potential enterprise level customers using Zend Framework: http://www.zend.com/en/company/customers/ http://www.zend.com/en/resources/case-studies/ Regards, Narinder. -- __ | Narinder Chandi, Dir

[fw-general] Re: Quote reserved keywords ?

2010-09-03 Thread silverspacer
Hi, I think you have to use $db->quote('default') or $db->quoteInto. Greets > > > > Hi, > > How do I quote reserved keywords ? > I tried the following : > > $data = array( '`default`' => 0 ); > $where = array('`default` = ?' => 1); > $db->update('my_table', $data, $where); > > But it doesn't se

Re: [fw-general] Performance and Example of Enterprice Applications

2010-09-03 Thread Matthew Weier O'Phinney
-- i...@antoniocaccese.it wrote (on Friday, 03 September 2010, 03:05 PM +0200): > i have a problem. I'm an applications developer (zend framework based) > since 2 years. I'm italian. > > Well. Now i'm working since 2 days in a software house that want to change > its mode to approch at software d

[fw-general] Performance and Example of Enterprice Applications

2010-09-03 Thread info
Hi friends, i have a problem. I'm an applications developer (zend framework based) since 2 years. I'm italian. Well. Now i'm working since 2 days in a software house that want to change its mode to approch at software development. The goal of the factory is develop software more manageable and fas

[fw-general] Re: Quote reserved keywords ?

2010-09-03 Thread debussy007
Didn't seem to work, I've tried the following : $defaultColumn = $db->quoteIdentifier("default"); $data = array( "$defaultColumn" => 0 ); $where = array("$defaultColumn = ?" => 1, 'doctor_id = ?' => $doctorId); $db->update('types_appointment', $data, $where); I had great hopes but I still got e

Re: [fw-general] Would a contributor ZF examples/tutorials section help?

2010-09-03 Thread Mike A
On 03/09/2010 11:52, Ben Sutton wrote: On Sun, Aug 29, 2010 at 8:42 PM, Mike A > wrote: To start the party, I now have some individual examples and a template modules-based example to which they can attach. They can go up any time. This sound great! I'

[fw-general] Quote reserved keywords ?

2010-09-03 Thread debussy007
Hi, How do I quote reserved keywords ? I tried the following : $data = array( '`default`' => 0 ); $where = array('`default` = ?' => 1); $db->update('my_table', $data, $where); But it doesn't seem to work : Column not found: 1054 Unknown column '`default`' in 'field list Thank you for any help

Re: [fw-general] Would a contributor ZF examples/tutorials section help?

2010-09-03 Thread Ben Sutton
On Sun, Aug 29, 2010 at 8:42 PM, Mike A wrote: > > To start the party, I now have some individual examples and a template > modules-based example to which they can attach. They can go up any time. > This sound great! I'm at the beginner end of the scale in learning the framework - concrete, up t