hi and welcome to the cmf!
glad you like what you see! this being an open source project, it
depends on the help of people who contribute big and small things.
improving the documentation for newcomers is an important task. so
whenever you have things that you think can be improved, please create
issues on https://github.com/symfony-cmf/symfony-cmf-docs or better yet,
create a pull request to improve things.
> One thing I'm struggling already is the lack of documentation. Thewhich areas would need more documentation? there is the cmf book and
quite some description of the bundles and how to configure them at
http://symfony.com/doc/master/cmf/index.html
> dependencies in one of the tutorials are broken and my starting pointare the dependencies on http://github.com/dbu/conference-tutorial
> was DBU's tutorial last pull request. I'm kind of "learning from
> example" here. I also hope that usign the CMF, I'll be able to help you
> improve it with the needs I have.
broken?
or the ones on the symfony website where we use the
RoutingAutoBundle?
ChainRouter
ok too, but I'd like to see this information first:
"The Symfony CMF Routing system adds a new DynamicRouter
, which complements the default Router
found in Symfony2."
The explanation about priorities is scondary to me and don't tell me the "core" of what it's about. It's reference info.
The DynamicRouter
"In fact it only loads candidate routes. The actual matching process is exactly the same as with the standard Symfony2 routing mechanism"
This sounds like mystery to me if I read the first time. Candidate routes? Provider?
If it only loads candidates, how the match happens? That's probably where I'm stuck on the other email questions about the 2 route basepaths for simplecms.
Getting the Route Object
"For example the default PHPCR-ODM provider loads the Route
at the path in the request and all parent paths to allow for some of the path segments being parameters." This could be explained more. Maybe with an example. allow path segments being parameters?
Getting the Controller and Template
This is fine to me. Very clear. Specially because of the examples.
Linking a Route with a Model Instance
Those Routes can implement the RouteObjectInterface
, and optionally return a model instance.
Why optionally? What is this interface really for?
Redirects
" If you are using the defaultPHPCR-ODM
route provider, a ready to use implementation is provided in the RedirectRoute
Document."
This is the fist place I start to grasp that routes may live inside the repository! Maybe it should also be stated in the introduction somehow.
URL Generation
- Alternatively, supply an implementation of
ContentRepositoryInterface
and the id of the model instance as parameter content_id
content_id? It was not explained yet. What is content_id? What is the id of the model? It is not explained into the "The Model" section. BTW, I think that if the model section is better explainded, this one will be easier.
cheers,david
--
You received this message because you are subscribed to the Google Groups "symfony-cmf-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to symfony-cmf-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.