Re: stored procedures cakephp

2012-08-04 Thread abhijit kakade
Hi Борислав Събев, I was facing same kind of problem so i used PEAR:DB library inside cake venor folder, pear has very good functions to call store procedures .. Thanks, Abhijit On Fri, Aug 3, 2012 at 2:04 PM, Борислав Събев wrote: > The best place would be in a separate function in the appli

Re: stored procedures cakephp

2012-08-03 Thread Борислав Събев
The best place would be in a separate function in the applicable Model. To wrap the procedure call in a transaction do something like: For example if you have a calcUserRep() procedure you should do: public function getUserRep($someParam,$someOtherParam){ .. $this->begin(); $this->query("CA

stored procedures cakephp

2012-08-02 Thread Milina Udara
I found that we can use SP with Cakephp. But there are thing call transaction, DataSource, behaviors and Events System. My problem is where to use those things and SP ? I wont answer from architectural view. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakep