Re: Identical controller names

2013-10-09 Thread Ed Propsner
Naming the files with the same name wouldn't be so difficult ... one of the files is contained in a plugin. My thinking was that within the app itself I would have controller and plugin.controller and although they would share the same name they are referenced differently and perhaps it wouldn't b

Re: Identical controller names

2013-10-09 Thread Борислав Събев
It would not really affect it in a good way. :D Cake is convention based and this will be your first drawback. Moreover how did you plan on naming the files with the same name? It is possible on Unix/Linux systems but it is a bad practice - very bad. :) If they serve similar functionality they are

Re: Identical controller names

2013-10-09 Thread Ed Propsner
I thought better of the idea. Seems pointless to have identical names when there are so many others to choose from :) I suppose I was more curious about how it would effect the app moreso than actually creating the controllers. Thanks for the reply :) On Wed, Oct 9, 2013 at 11:40 PM, Reuben wro

Re: Identical controller names

2013-10-09 Thread Reuben
Without namespaces, I think you might end up with a class name clash, since you would have two UsersController classes trying to occupy the global name space. Regards Reuben Helms On Thursday, 10 October 2013 03:29:49 UTC+10, CrotchFrog wrote: > Would it be considered bad practice to have two

Identical controller names

2013-10-09 Thread CrotchFrog
Would it be considered bad practice to have two identical controller names? For example I was wondering about having a 'UsersController' to keep my logic separate from 'UsersController' in one of my plugins, or would it be best to just name one or the other differently? I can foresee one or two

Re: New to Cake -- Security Questions

2013-10-09 Thread schenkerstudio
Sorry for the double post! My previous post seemed lost until after I posted this one! On Wednesday, October 9, 2013 12:48:03 PM UTC-4, schenke...@gmail.com wrote: > > Greetings, > I am new to CakePHP. I've tested several other frameworks (Laravel, > CodeIgniter, Symfony, Yii, and even a cleve

New to Cake -- Security Questions

2013-10-09 Thread schenkerstudio
Greetings, I am new to CakePHP. I've tested several other frameworks (Laravel, CodeIgniter, Symfony, Yii, and even a clever little one called PHPixie). My choice is to go with CakePHP for various reasons, but mostly because it makes sense to me. I like everything I see about CakePHP, but I am

Can't get to make before and complete work with get

2013-10-09 Thread Andrei
Hello all, Maybe not the most clear subject line but here is my problem. I have a 'change' event on an input field. It works fine except I can't get the 'before' and 'complete' callback to hide/show a div. If a use alert just for testing, everything is fine, so the script is OK. Here is the co