Re: Please help with the structure of my code

2007-06-19 Thread dmorris
Thanks Grant. That looks like a good way of doing things. I'll have a play doing it that way, and see what I come up with. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group,

Please help with the structure of my code

2007-06-18 Thread dmorris
Hi all. I am an experienced php developer but a very inexperienced Cake developer. I have previously written my own MVC code (though i suspect I blurred the M,V and the C a bit much ;-) ) I am struggling with working out the best way of doing things, and I can't find any decent structure of

Re: Please help with the structure of my code

2007-06-18 Thread Grant Cox
With in-query search like this I use named parameters - ie /locations/find/term:leeds/field:city This way the parameter order is not important, and it is easy to substitute default values for anything not provided. My specific implementation is something like: function index()