[fw-general] Session questions

2009-06-25 Thread KimG
Hi, i'm trying to use zend session in an application. In my boostrap i have the following: Bootstrap.php: Zend_Session::start(); and protected function _initOutlet(){ $out = new Zend_Session_Namespace('outlet'); if (!isset($out->outlet)) { echo 'outlet initialised

Re: [fw-general] Implementing "Modules"

2009-06-25 Thread iceangel89
anyone? iceangel89 wrote: > > how will u implement modules? i am refering to modules as in, in a page, > usually there will be > > - a section for main content > - other "modules" eg. login, member area, latest news etc. <- these will > appear depending of which part (module, controller, act

Re: [fw-general] Session questions

2009-06-25 Thread umpirsky
Hi, correct me if I'm wrong, but I think its not necesarry to start session, it's done in ZS when needed. Regards, Saša Stamenković. KimG wrote: > > Hi, > > i'm trying to use zend session in an application. > > In my boostrap i have the following: > > Bootstrap.php: > > Zend_Sessi

Re: [fw-general] Session questions

2009-06-25 Thread KimG
I've tried to leave ot the statement but it doesn't make any difference...:teeth: kim umpirsky wrote: > > Hi, > > correct me if I'm wrong, but I think its not necesarry to start session, > it's done in ZS when needed. > > Regards, > Saša Stamenković. > > > KimG wrote: >> >> Hi, >> >> i'm

Re: [fw-general] Implementing "Modules"

2009-06-25 Thread Martin Martinov
2009/6/25 iceangel89 : > > anyone? > Apparently no, nobody. I think I've already wrote you a private mail kindly asking you to stop filling my and thousands of others inboxes with those "anyone" messages. Please stop. > > iceangel89 wrote: >> >> how will u implement modules? i am refering to modu

[fw-general] Website docs error

2009-06-25 Thread Emanuel
When using the online documentation http://framework.zend.com/manual/search?query=Identical&language=en&search=Search+Manual! I get the following output: Search the Manual You searched for *"Identical"*. No results found. *Notice*: Undefined offset: 613 in * /var/www/website-release-1.8.4/fram

Re: [fw-general] Website docs error

2009-06-25 Thread Matthew Weier O'Phinney
-- Emanuel wrote (on Thursday, 25 June 2009, 01:37 PM +0300): > When using the online documentation > > http://framework.zend.com/manual/search?query=Identical&language=en&search= > Search+Manual! > > I get the following output: > > > Search the Manual > > You searched for "Identical". > > N

Re: [fw-general] Website docs error

2009-06-25 Thread lightflowmark
While we're talking about the search, any chance of improving it? For instance, try searching for 'HeadScript': http://framework.zend.com/manual/search?query=headscript&language=en&search=Search+Manual! Taking me to an index page listing every topic heading isn't really desired behaviour in a se

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

2009-06-25 Thread lightflowmark
Hi - not sure I understand exactly what you're doing, but here are some ideas that may help: 1) have the dialog open a URL (registerController/registerForm/) rather than put the form code into header.phtml. 2) pull the content of registerController/registerForm/ using Xhr and then writing it to

[fw-general] Bulk insert with Zend_Db or Zend_Db_Table

2009-06-25 Thread umpirsky
Hi. Is there, or is planed for implementation in future versions of ZF, bulk insert, like INSERT INTO t VALUES (...), (...), (...) It's much faster than iterating and executing separate inserts, so what is important is to have fast bulk insert instead many separate insert statements. There was

[fw-general] Zend_Validate_EmailAddress

2009-06-25 Thread Philip G
Anybody else noticing an issue with Zend_Validate_EmailAddress validating against emails with special characters in them? It's allowing emails such as u...@#host.com and u...@ho/st.com to pass validation. This is ZFW 1.8. Has it been fixed later on? Or is this a current bug? --- Philip g...@gpcen

Re: [fw-general] Bulk insert with Zend_Db or Zend_Db_Table

2009-06-25 Thread Matthew Weier O'Phinney
-- umpirsky wrote (on Thursday, 25 June 2009, 06:53 AM -0700): > Is there, or is planed for implementation in future versions of ZF, bulk > insert, like INSERT INTO t VALUES (...), (...), (...) > > It's much faster than iterating and executing separate inserts, so what is > important is to have f

Re: [fw-general] Best practice for Master/Slave Db w/ ZF?

2009-06-25 Thread Paul M Jones
On Jun 24, 2009, at 02:49 , keith Pope wrote: 2009/6/24 wadearnold : I'm looking for a sanity check for my ZF connection to a mysql master/slave architecture. My Db configuration is MySQL Master and three slaves. The three slaves are behind a load balancer with linux hearbeat so to php t

Re: [fw-general] Best practice for Master/Slave Db w/ ZF?

2009-06-25 Thread Wade Arnold
Thanks Paul! I love that you can have your test server, single db, and then roll it into production. Very awesome! Also I was able to attend your talk at PHP | Tek this year and it was awesome. Thanks for giving back to the PHP community...it's appreciated! Wade On 6/25/09 9:47 AM, "Paul M Jones

RE: [fw-general] Implementing "Modules"

2009-06-25 Thread Terre Porter
>> 2009/6/25 iceangel89 : >> > >> > anyone? >> > >> Martin Martinov [mailto:matix...@gmail.com]: >> Apparently no, nobody. It could be that some of us are too busy to reply to every message that comes in to the list. >>I think I've already wrote you a private mail kindly asking >> you to stop

[fw-general] Re: Bulk insert with Zend_Db or Zend_Db_Table

2009-06-25 Thread Colin Guthrie
'Twas brillig, and Matthew Weier O'Phinney at 25/06/09 15:39 did gyre and gimble: One of the big hurdles with this is that not every DB flavor honors the syntax -- which means that we cannot have a single solution at the abstraction layer, but instead solutions for each adapter type. If a commun

[fw-general] action stack or not ??

2009-06-25 Thread funky79
Hi All! I am a novice in zf and i have a question: in my home page i have ( for example ) a section for the news, with its controllerAction and view, a login form with its controller and views and the main content of my home page. I have three controller, how i can call the indexAction of each

[fw-general] custom form captcha problem

2009-06-25 Thread GJ Bogaerts
Hi all, I try to implement a custom captcha element: the user sees a number spelled out (ie 'twenty' and is supposed to give the numerical equivalent: 20). If he passes that test, he is supposed to be human. This is the code for my custom element: numbers = array("nul","een","twee","drie","vie

[fw-general] Default Module - Bootstrapping and Models

2009-06-25 Thread Vince42
Hi, I have two module directories: default and test. This is an attempt to set up a very basic module structure in order to understand the new bootstrapping. In application.ini I basically do resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" resources.modules[] = which wo

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

2009-06-25 Thread Dalibor Karlović
On Thursday 25 June 2009 23:54:41 Vince42 wrote: > Hi, > > I have two module directories: default and test. > > This is an attempt to set up a very basic module structure in order to > understand the new bootstrapping. > > In application.ini I basically do > > resources.frontController.moduleDirect

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

2009-06-25 Thread Vince42
Hi, Dalibor Karlović schrieb: > I think we should rethink this as it's obvious many people use the > default module just like any other so the behavior should be as > expected, even if adding an additional option. I circumvented this odd behaviour with http://paste2.org/p/284720 but I think

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

2009-06-25 Thread Escape-Artist
Thanks. Well what I have is a Zend_Form class, so the code for the form is not in the header. In the header I instanciate the form. But the code for the validation will be in the header ( if I stick to this design ). I like your idea of putting it all in a controller. But will that work in my case

Re: [fw-general] custom form captcha problem

2009-06-25 Thread Matthew Weier O'Phinney
-- GJ Bogaerts wrote (on Thursday, 25 June 2009, 01:19 PM -0700): > I try to implement a custom captcha element: the user sees a number spelled > out (ie 'twenty' and is supposed to give the numerical equivalent: 20). If > he passes that test, he is supposed to be human. You need to persist the n

Re: [fw-general] Website docs error

2009-06-25 Thread Emanuel
Also about my search... the Zend_Validate_Identical is not really mentioned in the online docs (I didn't download the pdf yet to search for it.) On Thu, Jun 25, 2009 at 14:05, Matthew Weier O'Phinney wrote: > -- Emanuel wrote > (on Thursday, 25 June 2009, 01:37 PM +0300): > > When using the onli

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

2009-06-25 Thread keith Pope
2009/6/25 Vince42 : > Hi, > > Dalibor Karlović schrieb: >> I think we should rethink this as it's obvious many people use the >> default module just like any other so the behavior should be as >> expected, even if adding an additional option. > > I circumvented this odd behaviour with > >   http://