Conners wrote:
> I'm just making preparations for migrating my cake project from 1.1 to
> 1.2. I've taken the plunge [snip]
>
> [snip] there's one smallish snag:
>
> I don't like extensions. The main reason that I'm happy with a LAMP
> setup with mod_rewrite and cakephp is that I have eliminated file
> extensions and improved the organisation of the sites I produce with
> my cake projects. You may feel it petty but I believe it quite
> sensible to offer alternative content through a URI scheme like
> http://example.com/rss/controller/(action) and I really would prefer
> to keep it that way.
> [snip]

I've broadened the scope of my search in this group to see if I can
find a solution.

This thread
http://groups.google.com/group/cake-php/browse_thread/thread/9237da7d4852d43c/8da8a3e44f3b9e0d?lnk=gst&q=router&rnum=10
struck me as interesting as I could use that to pass a alt content
parameter similar to

mcgordon wrote:
> Router::connect('/content/:lang/:controller/*', null, array('lang'=>'en|it', 
> 'controller'=>'articles|comments|tags'));

Router::connect('/:alt_content/:controller/*', null,
array('alt_content'=>'rss|xml', 'controller'=>'articles|products|
sections'));

Am I barking up the wrong tree here or would this make a sensible
solution for scrapping the webservices support in my project?


--~--~---------~--~----~------------~-------~--~----~
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