NYCPHP Meetup

NYPHP.org

[nycphp-talk] Best practices for combining paths?

Ajai Khattri ajai at bitblit.net
Mon Mar 30 17:57:37 EDT 2009


On Mon, 30 Mar 2009, Paul A Houle wrote:

> My question is,  am I missing a good PHP built-in for combining parts of 
> URLs or filesystem paths?  Is there a good library I should use?

You might want to look at routing components. For example, you can use 
symfony's routing component by itself without using the whole framework to 
match URLs (and generate URLs I think):

http://pookey.co.uk/blog/archives/79-Playing-with-symfony-routing-without-symfony!.html



-- 
Aj.





More information about the talk mailing list