[symfony-users] Re: How would you.. Combine URLs from the database and the routing system?

2008-11-21 Thread Richtermeister
Hi Christian, I've done a similar CMS module at one point, and I used the config.php file to query the database and add a list of valid routes to the routing on the fly. It's fast enough and holds up great. Let me know if you need specifics. Daniel On Nov 20, 1:06 am, Thomas Dedericks [EMAIL

[symfony-users] Re: How would you.. Combine URLs from the database and the routing system?

2008-11-21 Thread [EMAIL PROTECTED]
W odpowiedzi na e-mail od: Richtermeister otrzymany dnia 2008-11-21 15:45 : Hi Christian, I've done a similar CMS module at one point, and I used the config.php file to query the database and add a list of valid routes to the routing on the fly. It's fast enough and holds up great. Let me

[symfony-users] Re: How would you.. Combine URLs from the database and the routing system?

2008-11-20 Thread Thomas Dedericks
Hi, what makes an article unique is not its slug but its slug AND location. I guess that's part of the problem. You may use slug + location as a unique parameter, and parse this parameter in the controller to break it into adequate pieces. So your route would be article: url: