I don't want to do something special, I am just reading the code, test
Symfony2 and provide feeback.

Thanks for your reply.

On Wed, Oct 13, 2010 at 7:16 AM, Fabien Potencier <
[email protected]> wrote:

> On 10/13/10 12:12 AM, Thomas Rabaix wrote:
>
>> Hello,
>>
>> The Router component have hardcoded references on Route class and
>> RouteCollection class. So it make quite hard to use a custom Route
>> class... unless the route loader classes are overwritten ... which lead
>> to another issue : two bundles might required two different loaders.
>>
>> How should we deal with this situation ?  Does the router component need
>> more work to be complete ?
>>
>
> This is by choice. In Symfony2, the router responsibility is to convert the
> path info to request attributes. That way, we can easily "compile" routes to
> plain PHP code. If you have a closer look, you will see that there is no
> Route nor RouteCollection objects involved in the matching and generation
> process.
>
> So, tell us what you are trying to achieve and let's see how this can be
> implemented in Symfony2.
>
> Fabien
>
> P.S.: One missing feature is probably a way to easily generate REST routes.
>
>  --
>>
>> Thomas Rabaix
>> http://rabaix.net
>>
>> --
>> If you want to report a vulnerability issue on symfony, please send it
>> to security at symfony-project.com
>>
>> You received this message because you are subscribed to the Google
>> Groups "symfony developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<symfony-devs%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-devs?hl=en
>>
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>



-- 
Thomas Rabaix
http://rabaix.net

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to