Re: hasOne load time x4

2013-11-06 Thread Ashish Mahana
t; luni, 4 noiembrie 2013, 10:23:07 UTC+2, Ashish Mahana a scris: >> >> >> HI Aurelian, >> There is not any problem when you use containable, its good to use that >> feature. >> >> Coming to the problem part, >> 1. First thing what i guess is that yo

Re: hasOne load time x4

2013-11-04 Thread Ashish Mahana
HI Aurelian, There is not any problem when you use containable, its good to use that feature. Coming to the problem part, 1. First thing what i guess is that you have not set the index properly for tables that are related so that you are also delaying the result in the second association ($ha

Re: bulk record add in a model by diffrent terminal to a single database issue

2013-10-27 Thread Ashish Mahana
thanks for replying euromark, I have also the form upload functionality that also having the same problem, and of course this is the requirement for the client so i have to do in ftp way and form way. The users has unique session while logged in to works on same application. so while uploading

bulk record add in a model by diffrent terminal to a single database issue

2013-10-26 Thread Ashish Mahana
Hi All, I have an issue with cakephp like, I have an app where the user will update their inventory by csv file read from a ftp server. So what i did i have a controller to do all stuff like 1. connect and get the csv file of the user 2. get the data from the csv 3. insert into th

why cakephp doesn't support pure MVC

2012-10-14 Thread Ashish Mahana
if we declare a variable inside a model then we are unable to fetch its value in controller e.g. Model M code: class M extends AppModel { var $x; function setX(){ $this->x = "hello"; } function getX(){ return $this->x; } } controller M code class M_controller extends AppController{