Re: to Test or not to Test

2011-01-08 Thread nurvzy
Testing is essential for any application you intend on maintaining or will be passing between developers. In regards to click testing, sure -- test your app yourself, if you only do it once you've saved time by not writing the test. But now lets say you then refactor a bit/add a new feature. Wel

Re: about image uploading

2011-01-08 Thread cricket
On Sat, Jan 8, 2011 at 2:29 AM, manas gajare wrote: > Can anyone guide me about 'image uploading' in cakephp? > I checked out some tuts online, but couldn't get anything working. Perhaps you could explain what errors you are getting. Check out the new CakePHP Questions site http://cakeqs.org and

Re: Question regarding Downloads,url rewriting.

2011-01-08 Thread cricket
On Sat, Jan 8, 2011 at 5:10 AM, ambati kiran wrote: > Hi Cricket > > Thanks for responding. If this is the issue can it be tested on the > directory or issue resolved by htaccess file in cakephp? Not sure what you mean by "tested on the directory" but, yes, it can be resolved in htaccess: Options

about image uploading

2011-01-08 Thread manas gajare
Can anyone guide me about 'image uploading' in cakephp? I checked out some tuts online, but couldn't get anything working. Regards Manas http://dexterltd.com Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this messag

Re: to Test or not to Test

2011-01-08 Thread mark_story
Sure click testing works the first time you do something, but the next time you change something and want to test things again, you have to remember all the states and workflows you used, which is hard/ impossible. With automated testing (either unit tests or something like selenium) you don't hav

Re: Login Redirect Problem

2011-01-08 Thread john lyles
forget my syntax remark. But this article here might be helpful. It's done with prefix routing but the logic might be helpful. http://bakery.cakephp.org/articles/watermark86/2010/09/23/user-permissions-based-on-a-routing-prefix On Jan 7, 5:37 pm, eldorado2768 wrote: > I am trying to redirect to d

solution for this notice 8

2011-01-08 Thread vamshi
Notice (8): Undefined index: id [CORE\cake\libs\model\model.php, line 1329] Warning (2): Cannot modify header information - headers already sent by (output started at C:\xampplite\htdocs\cakephp\cake\libs\debugger.php:673) if,u have problem with this add the "id" column as extra to ur table and d

Re: Login Redirect Problem

2011-01-08 Thread Martin Duris
interesting ... maybe, you can try (not very clever and effective way) : after login redirect user to 'Redirect_page' (for both groupd) - with standart Auth functionality ... there, dont create view ... just in controll function define redirecting according to group -> it will look like this : L

Re: to Test or not to Test

2011-01-08 Thread netusco
thanks, I appreciate the answers and I understand them but seen the amount of work needed on testing... isn't it faster to just test your app directly and debug when there's errors on it? I've been doing like this so far.. But I wonder if I should change that habit. On 7 jan, 20:06, euromark wr

Re: Login Redirect Problem

2011-01-08 Thread john lyles
It's looks like you are missing curly brackets for the second if conditional. On Jan 7, 5:37 pm, eldorado2768 wrote: > I am trying to redirect to different locations depending on which > group a user belongs to after logging in. The problem I am having is > that it keeps going to the redirect for

Re: to Test or not to Test

2011-01-08 Thread huoxito
i've been studyin cake a lot recently but like still don't get the test part of it. Maybe because I'm new to frameworks and oop and even the programming world. I once tried to install simple test and make run some testing but I didnt find any nice tutotials, got kind of stuck really soon on thi

Re: Acl and bindNode()

2011-01-08 Thread Jeremy Burns | Class Outfit
I've been advised to look at the new ACL behaviour as it might hold the key. I haven't done so yet, so can't vouch. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 8 Jan 2011, at 10:05, Jens Dittrich wrote: > So it seems that the documentation is correct reg

Re: Question regarding Downloads,url rewriting.

2011-01-08 Thread Jeremy Burns | Class Outfit
Ignore this - I responded to the wrong post. Foo. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 8 Jan 2011, at 10:45, Jeremy Burns | Class Outfit wrote: > I've been advised to look at the new ACL behaviour as it might hold the key. > I haven't done so yet,

Re: Question regarding Downloads,url rewriting.

2011-01-08 Thread Jeremy Burns | Class Outfit
I've been advised to look at the new ACL behaviour as it might hold the key. I haven't done so yet, so can't vouch. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 8 Jan 2011, at 10:10, ambati kiran wrote: > Hi Cricket > > Thanks for responding. If this is

Re: Question regarding Downloads,url rewriting.

2011-01-08 Thread ambati kiran
Hi Cricket Thanks for responding. If this is the issue can it be tested on the directory or issue resolved by htaccess file in cakephp? Will the multi option effect other directories on the server if turned off? Many thanks Kiran Check out the new CakePHP Questions site http://cakeqs.org and

Re: Acl and bindNode()

2011-01-08 Thread Jens Dittrich
So it seems that the documentation is correct regarding the desired result but inconsistent in the example. So I have to live with the fact that my Users are still added to the Aro table, even though the example in the book implies something else. Thank you! On 7 Jan., 23:30, cricket wrote: > On