I would agree. Obviously every site's requirements are different. This works fine on my site that has about 30 categories and 100 products. Half a million categories seems like a lot, I don't even think amazon.com has that many. If you're looking at that kind of volume of data you're better off using the normal /module/action/key/ value with maybe a little bit of url rewriting. In my case the client wanted a url structure of /category/subcategory/product-name without anything else in the url which sort of makes it hard to do pattern matching on the routes.
On Jan 7, 10:43 pm, "Цырульник Вячеслав" <neema...@gmail.com> wrote: > > $categories=Doctrine::getTable('Category')->findAll(); > > $products=Doctrine::getTable('Product')->findAll(); > > What if you have 500 000 records for category and even more for > products? Application will freeze computing this requests. > > 2009/1/8 matt marcum <mgmar...@gmail.com>: > > > > > Hi, > > > I spent a little time trying to figure out how to generate routes > > (semi)dynamically in symfony1.2 and I think I finally figured it out. > > I wrote up a quick tutorial if anyone's interested. Give it a read and > > let me know what you think. > > >http://dfwtek.com/blog/129-dynamic-routes-in-symfony12.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---