Re: [fw-general] Default Module - Bootstrapping and Models

2009-06-26 Thread Brenton Alker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vince42 wrote: > That's exactly why I am currently trying to port the guestbook example > to a modularized version - maybe I'll post about it, when it's done. :) Sounds like a good idea :) I've posted about how I modularized the guestbook application

Re: [fw-general] Coping with Old-style GET vars.

2009-06-26 Thread drm
Hi, You might want to look for the QSA (Query-string append) parameter to RewriteRule in mod_rewrite. Refer to the apache docs for this. Gerard Matt Pearson wrote: Hi everyone, I have a problem with GET forms submitting to controllers within the framework. I have a GET form in a page outsi

Re: [fw-general] Controller not being found

2009-06-26 Thread drm
Hi Rod, You most probably do have MultiViews enabled, but not mod_rewrite. MultiViews lets files without their extension handle response (e.g. index => index.php). Try making simple test cases in your .htaccess to figure out if mod_rewrite actually works, e.g.: RewriteRule .* http://www.zen

Re: [fw-general] Re: Re[fw-general] gistration Form outside controllers

2009-06-26 Thread drm
As Mark is inherently suggesting (I think), you should keep your javascript logic as decoupled from your back end as you can. Try and make the problems simple chunks you can figure out: - Can I render a form in a header? - Can I post this form and validate it? - Can I let the right model do the

[fw-general] isDefaultTableAdapter and Zend_Db_Table_Abstract

2009-06-26 Thread Terre Porter
Hey all, I seem to not be able to get the default table adapter to load when accessing my dbtable class. A added the line in my config, "resources.db.isDefaultTableAdapter = true". I'm using this, http://framework.zend.com/docs/quickstart/create-a-model-and-database-table, just the dbtable rela

[fw-general] Zend_Db and very strange problem with executing bulk insert query

2009-06-26 Thread umpirsky
Hi zf gurus. I have large amount of data which I'm inserting into MySQL db. That is array of urls and I'm iterating and manually hammering bulk insert qury for better performances. So, Im running query with $zdb->query('INSERT INTO `Content` (`FeedId`, `ContentValue`) VALUES (..), (..)'); Thi

Re: [fw-general] Default Module - Bootstrapping and Models

2009-06-26 Thread keith Pope
2009/6/26 Vince42 : > Hi, > > swilhelm schrieb: >> I agree, modules (and auth and acl) should be added to the QuickStart >> or some other Zend provided example. I can't think of any real world >> application that will not need these three additional capabilities. > > That's exactly why I am current

[fw-general] Zend Dojo SubForm Filtering Select Issue

2009-06-26 Thread adbluegene
Hi, I have multiple filtering selects in my Dojo form (they work just fine). But when I create a subform and add filtering select to it, none of the filtering select function (even in the parent form fail to function). I have made sure that I am using unique IDs for filtering select. I populate f

Re: [fw-general] Default Module - Bootstrapping and Models

2009-06-26 Thread Vince42
Hi, swilhelm schrieb: > I agree, modules (and auth and acl) should be added to the QuickStart > or some other Zend provided example. I can't think of any real world > application that will not need these three additional capabilities. That's exactly why I am currently trying to port the guestbook

Re: [fw-general] Default Module - Bootstrapping and Models

2009-06-26 Thread Vince42
Hi, keith Pope schrieb: > I find it best to name the default module though > like this: > > resources.frontcontroller.defaultmodule = "mynamespace" > resources.frontcontroller.params.prefixDefaultModule = true > > and then use: > > $this->_resourceLoader = new Zend_Application_Module_Autoloader

Re: [fw-general] Default Module - Bootstrapping and Models

2009-06-26 Thread swilhelm
I agree, modules (and auth and acl) should be added to the QuickStart or some other Zend provided example. I can't think of any real world application that will not need these three additional capabilities. - Steve W. Vince42 wrote: > > Hi, > > Dalibor Karlović schrieb: >> I think we should r

RE: [fw-general] session not workin

2009-06-26 Thread Tom Shaw
Try using phpmyadmin and make sure your data types are correct. I have mine set to Id varchar 32 modified int 11 lifetime int 11 data text Tom -Original Message- From: KimG [mailto:kim.gabriel...@get2net.dk] Sent: Friday, June 26, 2009 7:31 AM To: fw-general@lists.zend.com Subject: [fw-

[fw-general] session not workin

2009-06-26 Thread KimG
Hi, i have some great problems getting Zend::session to work. i started out with the simple usage of Zend::session but it doesn't work. so i decided to use a database as a backend instead. i have the following in my bootstrap (taken directly from the zend docs): $db = Zend_Db::factory('Pdo_My

Re: [fw-general] Coping with Old-style GET vars.

2009-06-26 Thread Matthew Weier O'Phinney
-- Matt Pearson wrote (on Friday, 26 June 2009, 12:36 PM +0100): > I have a problem with GET forms submitting to controllers within the > framework. > > I have a GET form in a page outside of the Zend Framework app. It does a > normal GET to the search controller of my Framework app like this (I

[fw-general] Coping with Old-style GET vars.

2009-06-26 Thread Matt Pearson
Hi everyone, I have a problem with GET forms submitting to controllers within the framework. I have a GET form in a page outside of the Zend Framework app. It does a normal GET to the search controller of my Framework app like this (I have a custom route set up) /app/search?q=query However, my

[fw-general] Controller not being found

2009-06-26 Thread rodp
Hi, I have a problem that I can't figure out and hope someone could help me out. I've built a fairly simple application that works perfectly fine on my machine (windows XP running WAMP). When I copied it onto a virtual machine running ubuntu 8 and tried to run the application, I can only get to

[fw-general] Re: Re[fw-general] gistration Form outside controllers

2009-06-26 Thread lightflowmark
Generally, you would instantiate the form in the controller, and then pass it to the view script: Controller.php myAction() { $form = new form(); $this->view->form = $forml } I personally would have the dialog open a URL directly, rather than pass it content to render, but there's probably n