thank you for your help

> what does the ":" mean?It's a marker, such that whatever is in the place of 
":myParam" will
become array('myParam'=>'whatever matched in the regex'). if it's
:controller it's the name of the controller to use, if it's :action
it's the method to run otherwise it's (just) a named parameter

> can i use the "?" in the urls?You can use anything that you can use in a 
regex. Here's an 
example:https://cakeforge.org/plugins/scmsvn/viewcvs.php/1.1/trunk/bakesale/c...

so i think the Router should be explained in the manual more in depth.
there could be a use for a decent tutorial on that as well. personally
i think routing is a "main part" - AKA deserves a chapter - in a web
app.

now i will look into that Router-bastard further and do some
try-and-error. but usually i design the model and the virtual folder
structure before i code something.


so ":something" matches everything til the next "/" or "?". (?)

for
"/host/controller/12,3452,2332/"
i have
":controller/:param/"
or
"/controller/:one,:two,:three/"
?

and everything after a "?" will be treated as usual?

you see, im not feeling comfortable with this url-expressions right
now.




> 2. why shouldnt we/i use mod_rewrite?You are using mod_rewrite. Otherwise you 
would need to create the
folder structure to represent your url structure etc.

yes sure, but mod_rewrite isnt used as a "front-conroller".
and the router isnt a helper-class to write .htaccess-files.


greeting thdz.x


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to