Tag Archives: routing

Strange Android Network Problem

We recently moved some of our APs to a new subnet on our network. Although desktop and laptop computers were unaffected by the change, all Android smart phones refused to work. Although they could connect to the network, they couldn’t … Continue reading

Posted in Networking | Tagged , , , , , , | Leave a comment

Changing Symfony Routing Requirements

One of my favorite features of Symfony is the routing sub-system.  It allows for very flexible routing rules.  On a project I have been working on, I have been tweaking the routing requirements in Symfony.  One really nice feature is … Continue reading

Posted in 1.4, PHP, Symfony | Tagged , , , , , , | Leave a comment

Allowing Slashes in a Symfony Route

Symfony routing is a wonderful tool. Recently, however, I have wanted to include a slash in a route parameter. This can seem problematic as symfony uses slashes to delimit parameters. For example, lets say I wanted the url http://www.example.com/user/john/jacob/jingleheimer/schmidt to … Continue reading

Posted in 1.4, Symfony | Tagged , , , , | 1 Comment

Clearing Symfony Cache for a Single Page

Symfony cache is a useful part of the Symfony Framework. It allows you to cache pages, partials, and other sections of pages so that the page is only generated when necessary. However, if you make heavy use of it, you … Continue reading

Posted in 1.4, PHP, Symfony | Tagged , , | Leave a comment

Making Symfony Routes Available in Tasks

By default symfony puts the routing.yml file in an application’s config folder.  This is nice if you wish to have separate routing for separate apps.  However, if you only have one app, it greatly simplifies things to place this file … Continue reading

Posted in 1.4, Symfony | Tagged , , , , | Leave a comment

Symfony tasks, sfContext, and Routing

When working with Symfony tasks, sfContext is not available like it normally is in a Symfony project. The following code, for example, won’t work in a task: Rather, in a task you can access the routing by using this: Note: … Continue reading

Posted in 1.4, Symfony | Tagged , , , , | Leave a comment

Symfony Reverse URL Lookup

Symfony routing is an excellent feature, in fact, it is probably my favorite thing about Symfony. Recently I wanted to store user created links in a database, but wanted them to work if urls were changed in Symfony’s routing.yml. To … Continue reading

Posted in 1.4, Symfony | Tagged , , , | Leave a comment