Re: 2.0 view folders naming convention

2011-10-23 Thread Miles J
The problem I have is that the app folder uses the capitalized folder scheme. I could care less how the Cake core does it, but now there is another standard/convention for dev implementation. Why are folders that have nothing to do with PHP classes being capitalized? Doesn't look like you have a

Re: 2.0 view folders naming convention

2011-10-22 Thread majna
I'm building on 2.0 for 10 months now and I like new folder convention. I don't wanna ever go back :) Only upgrade issue I had was SVN on Windows (case insensitive) but git-svn and upgrade shell is a way to go. -- Our newest site for the community: CakePHP Video Tutorials

Re: 2.0 view folders naming convention

2011-10-21 Thread Jeremy Burns | Class Outfit
No caching enabled, but I worked it out. This is an upgraded application that I working that still lots of remnants of old code. The users controller still var $name = 'User', which was causing the error. Worth pointing out for others who are doing an upgrade as the upgrade shell didn't remove

Re: 2.0 view folders naming convention

2011-10-21 Thread Jeremy Burns | Class Outfit
How bad was my English/typing there? Poor form...let me redo that one. This is an upgraded application that I am working on that still has remnants of old code. The users controller still contains var $name = 'User', which was causing the error. Worth pointing out for others who are doing an

Re: 2.0 view folders naming convention

2011-10-21 Thread Miles J
Wait, so is uppercase folder names for views standard now? :/ Not upgrading if so. On Oct 20, 11:13 pm, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: How bad was my English/typing there? Poor form...let me redo that one. This is an upgraded application that I am working on

Re: 2.0 view folders naming convention

2011-10-21 Thread José Lorenzo
They match the controller name, yes. As in the past -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send

Re: 2.0 view folders naming convention

2011-10-21 Thread Andras Kende
Directories Capitalized, files lowercase :) Andras Kende On Oct 21, 2011, at 1:18 AM, Miles J wrote: Wait, so is uppercase folder names for views standard now? :/ Not upgrading if so. On Oct 20, 11:13 pm, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: How bad was my

Re: 2.0 view folders naming convention

2011-10-21 Thread Miles J
Oh my that is a god awful format. Looks like I am not upgrading. On Oct 20, 11:28 pm, Andras Kende and...@kende.com wrote: Directories Capitalized, files lowercase :) Andras Kende On Oct 21, 2011, at 1:18 AM, Miles J wrote: Wait, so is uppercase folder names for views standard now?

Re: 2.0 view folders naming convention

2011-10-21 Thread Matt Kaufman
Great; Ditch PHP 5 Standards too Sent from my iPhone On Oct 21, 2011, at 12:08 AM, Miles J mileswjohn...@gmail.com wrote: Oh my that is a god awful format. Looks like I am not upgrading. On Oct 20, 11:28 pm, Andras Kende and...@kende.com wrote: Directories Capitalized, files lowercase :)

Re: 2.0 view folders naming convention

2011-10-21 Thread Miles J
Oh you mean the PHP standards group? CakePHP is far from following that. I think capitalized folder names are the worst kinds of implementation and now making every folder work that way? Stupid. Yet still having some folders not capitalized? Stupid and inconsistent. For one thing, it requires me

Re: 2.0 view folders naming convention

2011-10-21 Thread Larry E. Masters
Thanks, bye. -- Larry E. Masters On Oct 21, 2011, at 11:02, Miles J mileswjohn...@gmail.com wrote: Oh you mean the PHP standards group? CakePHP is far from following that. I think capitalized folder names are the worst kinds of implementation and now making every folder work that way?

Re: 2.0 view folders naming convention

2011-10-21 Thread José Lorenzo
Well, good luck with future project in Symfony, Zend, I'm sure you will be hitting the shift key a lot less! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP

Re: 2.0 view folders naming convention

2011-10-21 Thread Larry E. Masters
I responded to your email without realizing you may not have followed the discussion of 2.0 changes that much. We did follow the final standard https://gist.github.com/1293323, not sure which group you are thinking of. And just by chance, did you look at any of the other frameworks you

Re: 2.0 view folders naming convention

2011-10-21 Thread Jeremy Burns | Class Outfit
It always baffles me how anyone can judge anything based on the amount of effort required of them whilst disregarding the quality of the output. Miles - you're a good guy and you've contributed a lot here. There are some changes with 2.0 and I admit that I am finding some a struggle. It's like

Re: 2.0 view folders naming convention

2011-10-21 Thread euromark
I, too, have to grasp all the changes and understand WHY they are happening. and I am still not quite used to the idea of those CamelCase folder/ file names but I'll try not to pre-jugde anything here. It feels like the framework did make a huge step in the right direction no matter what the

Re: 2.0 view folders naming convention

2011-10-21 Thread majna
If you look at PSR-0 and how classes are named (singular) FormHelper, MediaView, BakeTask then it make sense to pluralize Layouts, Elements, Scaffolds etc. View\Layouts\rss View\Layouts\Emails View\Layouts\Emails\html View\Emails\html could be CamelCased imo. -- Our newest site for the

Re: 2.0 view folders naming convention

2011-10-21 Thread José Lorenzo
Basically it just started with folder CamelCased when they only contained php classes. But shortly after we realized that half the folders where in uppercase and the other in the old standard. It looked really odd, and would make developers have to remember more conventions, so it was decided

2.0 view folders naming convention

2011-10-20 Thread Jeremy Burns
In the tutorial, the add user form is called !-- app/View/Users/ add.ctp -- (in other words, in a Users folder). When you run it the code complains that it can't find app/View/User/add.ctp (in other words, its looking in the User folder). The documentation around naming convention is not clear on

Re: 2.0 view folders naming convention

2011-10-20 Thread Andras Kende
app/View/Users/add.ctp is correct. Maybe cache is mixed up, try with debug=2 .. Andras On Oct 21, 2011, at 12:43 AM, Jeremy Burns wrote: In the tutorial, the add user form is called !-- app/View/Users/ add.ctp -- (in other words, in a Users folder). When you run it the code complains