On 22.02.2010 14:40, Thomas Rabaix wrote:
> How can we provide feedbacks or open tickets for the Symfony 2 preview ?

I will start here since nobody is answering :)

- I found a typo in the WebBundle/Resources/config/pdo.xml config file,
dsn is spelled dsn:

That being said, I don't know if that pdo file is used at all so it
might not matter.

- Another question that troubles me a lot is how can I merge a full set
of routes from a bundle to my main project.. I could import them all by
manually writing them one by one like:

blah:
  resource: path/to/routing.yml

But that is hardly convenient once the routes start to multiply.

- Also I would like to try to extend a core class from a random bundle,
namely the RequestHandler\Request class..

I tried to add this to my config.yml, but it totally fails:

foundation.services:
  request.class: My\Request

In my opinion this should be possible for *all* services, by default,
without the bundles having to voluntarily expose their classes as
parameters, otherwise the dependency injection is only smoke and mirrors
and only offers as much flexibility as the bundle author allowed. I find
the whole DI thing much more complicated to grasp than the plain one we
used in Okapi because of the multiple layers of abstraction that have
been added in Symfony 2. I hope this will fade away once I get it more,
or that it will be made a bit more transparent. The current approach
tries to make it really easy for the newbies to get into it and that is
great but if after half an hour you try to do something and get stuck
because the next step is overly complex because of it, then imo it is
not worth it.

Anyway I'll stop rambling because it might just be me that is too tired
to figure it out.

Cheers,
Jordi

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to