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 going back to basics again in many ways, but then I'm not clever. What I have discovered with my reasonably basic proddings is that 2.0 is really fast. Stick with it. Jeremy Burns Class Outfit http://www.classoutfit.com On 21 Oct 2011, at 17:02, Miles J 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? Stupid. Yet still having > some folders not capitalized? Stupid and inconsistent. For one thing, > it requires me to hit shift multitudes more than I have to, which I > already hate doing for $this->Model and every other library. Secondly, > folders are nothing more than transparent packing of shared classes, > they are not first-class and SHOULD not be getting first class > treatment. Its logical to have class file names uppercase and > normalized as to match the class name itself, for easy lookup... you > know, like actual programming languages like Java. Its mind-blowing > that the "app" folder should require this. > > I am going to assume that the reason they used uppercase folders is to > match the file loading system they implemented in 2.0, to make it > easier to match locations. Thats another problem, why are you using > uppercase arguments as well? Constants people or a better autoloader. > This was the perfect chance for CakePHP to use PHP 5.3 and ditch all > the auto-magic bullshit they built into the core to mimic namespaces > and organized packaging... but for some reason they didnt, chance > lost. Now Zend 2 and Symfony 2 will be ahead of the game. > > I could keep going but I am sure you get the jist. I was going to > upgrade to 2.0 for fun but no longer have the interest and its not > like I build new apps from scratch anyways. Take it or leave it. > > On Oct 21, 12:26 am, Matt Kaufman <[email protected]> wrote: >> Great; Ditch PHP 5 Standards too >> >> Sent from my iPhone >> >> On Oct 21, 2011, at 12:08 AM, Miles J <[email protected]> wrote: >> >> >> >> >> >> >> >>> Oh my that is a god awful format. Looks like I am not upgrading. >> >>> On Oct 20, 11:28 pm, Andras Kende <[email protected]> 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? >> >>>>> :/ >> >>>>> Not upgrading if so. >> >>>>> On Oct 20, 11:13 pm, Jeremy Burns | Class Outfit >>>>> <[email protected]> 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 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 upgrade as the upgrade shell didn't remove it. >> >>>>>> There, that's better. >> >>>>>> Jeremy Burns >>>>>> Class Outfit >> >>>>>> Tel: +44 (0) 208 123 3822 >>>>>> Mob: +44 (0) 7973 481949 >>>>>> Skype: jeremy_burnshttp://www.classoutfit.com >> >>>>>> Jeremy Burns >>>>>> Class Outfit >> >>>>>> http://www.classoutfit.com >> >>>>>> On 21 Oct 2011, at 07:03, Jeremy Burns | Class Outfit wrote: >> >>>>>>> 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 it. >> >>>>>>> Jeremy Burns >>>>>>> Class Outfit >> >>>>>>> http://www.classoutfit.com >> >>>>>>> On 21 Oct 2011, at 06:54, Andras Kende wrote: >> >>>>>>>> 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 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 this subject. Which is correct? >> >>>>>>>>> -- >>>>>>>>> Our newest site for the community: CakePHP Video >>>>>>>>> Tutorialshttp://tv.cakephp.org >>>>>>>>> Check out the new CakePHP Questions >>>>>>>>> sitehttp://ask.cakephp.organdhelpothers with their CakePHP related >>>>>>>>> questions. >> >>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>> [email protected] For more options, visit this >>>>>>>>> group athttp://groups.google.com/group/cake-php >> >>>>>>>> -- >>>>>>>> Our newest site for the community: CakePHP Video >>>>>>>> Tutorialshttp://tv.cakephp.org >>>>>>>> Check out the new CakePHP Questions >>>>>>>> sitehttp://ask.cakephp.organdhelpothers with their CakePHP related >>>>>>>> questions. >> >>>>>>>> To unsubscribe from this group, send email to >>>>>>>> [email protected] For more options, visit this >>>>>>>> group athttp://groups.google.com/group/cake-php >> >>>>>>> -- >>>>>>> Our newest site for the community: CakePHP Video >>>>>>> Tutorialshttp://tv.cakephp.org >>>>>>> Check out the new CakePHP Questions >>>>>>> sitehttp://ask.cakephp.organdhelpothers with their CakePHP related >>>>>>> questions. >> >>>>>>> To unsubscribe from this group, send email to >>>>>>> [email protected] For more options, visit this >>>>>>> group athttp://groups.google.com/group/cake-php >> >>>>> -- >>>>> Our newest site for the community: CakePHP Video >>>>> Tutorialshttp://tv.cakephp.org >>>>> Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp >>>>> others with their CakePHP related questions. >> >>>>> To unsubscribe from this group, send email to >>>>> [email protected] For more options, visit this group >>>>> athttp://groups.google.com/group/cake-php >> >>> -- >>> Our newest site for the community: CakePHP Video >>> Tutorialshttp://tv.cakephp.org >>> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help >>> others with their CakePHP related questions. >> >>> To unsubscribe from this group, send email to >>> [email protected] For more options, visit this group >>> athttp://groups.google.com/group/cake-php > > -- > 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 email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php -- 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 email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
