Sunday, May 2, 2010

Re: v1.3 App::Objects not finding controllers in app/controllers/subfolders

On May 1, 10:32 pm, Jamie <jamie....@gmail.com> wrote:
> On May 1, 1:21 pm, AD7six <andydawso...@gmail.com> wrote:
>
>
>
>
>
>
>
> > On May 1, 10:19 pm, Jamie <jamie....@gmail.com> wrote:
>
> > > On May 1, 1:17 pm, AD7six <andydawso...@gmail.com> wrote:
>
> > > > On May 1, 10:13 pm, Jamie <jamie....@gmail.com> wrote:
>
> > > > > On May 1, 12:46 pm, AD7six <andydawso...@gmail.com> wrote:
>
> > > > > > On May 1, 9:36 pm, Jamie <jamie....@gmail.com> wrote:
>
> > > > > > > I read the whole thread. I'm not sure how that changes my post.
>
> > > > > > > I was just explaining to the original poster why subfolders didn't
> > > > > > > automatically work
>
> > > > > > I would suggest you try and don't assume.
>
> > > > > > > , why there's no easy way to make them work, and why
> > > > > > > they work in other frameworks/code designs. Please explain to me the
> > > > > > > problem you have with my post and maybe we can do something
> > > > > > > constructive.
>
> > > > > > > Seriously, what is with you throwing out these sarcastic comments
> > > > > > > lately? I can pick out more than a few examples over the past little
> > > > > > > while. Between you and Miles this group is getting a bit hostile.
>
> > > > > > I'm not being sarcastic - I'm giving you the opportunity to correct
> > > > > > your mistake. If you /still/ can't see it - try exactly what you've
> > > > > > said doesn't work before replying.
>
> > > > > Fine. Thanks for the opportunity. Glad you're looking out for me. I
> > > > > made this file:
>
> > > > > controllers/test/users.php
>
> > > > I see. so you feel that by demonstrating your own example which has
> > > > nothing to do with this thread and is based on a different framework
> > > > (since you don't follow a single convention) that somehow makes your
> > > > reply right?
>
> > > You told me to try what I said wouldn't work. And I did. Then I shared
> > > the results.
>
> > > I sense that this isn't going anywhere. Thanks for hijacking my
> > > response...
>
> > Jamie you're taking this out of context and personal and I doubt
> > anyone else in this thread is really interested in your example.
>
> > This is what I expected you to do
>
> > mv controllers/anything_controller.php controllers/any/subfolder/you/
> > like
>
> > firefoxhttp://mysite/anything
>
> > and marvel at the wonder of a page that isn't a 404.
>
> > GN
>
> Maybe the original poster is used to following PEAR conventions. Who
> knows? Why not give the benefit of the doubt? More importantly, why
> not let others respond to the original poster without interjection? I
> was just trying to offer a possible explanation in case he was indeed
> expecting Cake to respect the PEAR naming style. I'm not sure why that
> bothered you.

Let's start again shall we.

My name is Andy, I've used Cake since 2005 and I build applications
using Cake. I sporadically commit to cake among other supporting
activities and used to be very active on this group - but now restrict
my infrequent activities to:
* checking for interesting new topics
* correcting/preventing the spread of mis-information

My replies to you and miles fall under the second category. You
**can** put controllers in subfolders. Both of you based your answers
(in one level or another) on assumptions. I encourage you/anyone to
try + look at the docs + check the test/write a test case before
proclaiming how something works or why something's not possible.

Whenever I reply you can be sure one or all of the following is true:
* I wrote it
* I patched it
* I wrote a test case for it
* I've used it
* I've not used it but 10s ago I tried it

I don't know the reason Matthew was not able to see his controllers
but that's most likely irrelevant as it seems putting controllers in
subfolders was not the objective - just a consequence of misreading
something.

I don't understand why you are attempting to redirect my replies/this
thread to be about ZEND/PEAR naming conventions when they are not
relevant (Matthews examples do not follow these conventions), or
taking my replies to you as some kind of personal attack. My goal is
for everyone using cake to progress and learn. This is setback by
people speading information which is simply wrong.

hth,

AD

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: