-
Recent Posts
Ubuntu Countdown
Archives
Recent Comments
Categories
Tags
ajax apache api bandwidth bash browsers bug config custom fields data validation Developing with Netsuite Doctrine embed error firefox forms google google analytics html HTML 5 JavaScript jQuery linux netbeans netsuite Netsuite Bugs Netsuite Errors Netsuite Sucks network override PHP PHP Framework php toolkit plugin routing sample code script search security Symfony task Ubuntu web browsers xml YML
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 android, DHCP, DNS, network, networking, routing, subnets
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 factories.yml, PHP Framework, routing, routing.yml, sample code, Symfony, YML
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
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
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
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
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
