Skip to content

Documenting a bundle-less setup as of 3.3 #7655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
linaori opened this issue Mar 19, 2017 · 2 comments
Closed

Documenting a bundle-less setup as of 3.3 #7655

linaori opened this issue Mar 19, 2017 · 2 comments
Labels

Comments

@linaori
Copy link
Contributor

linaori commented Mar 19, 2017

Now that 3.3 is near, it would be a really nice thing to have the documentation explain how to use an application without bundles in your repository (vendor bundles allowed). @wouterj mentioned on slack, this could be a new subguide somewhere. The only "issue" I see at the moment is that it conflicts with the best practices. I would personally like to see this guide written in a way that a new developer can use it, but opens up the road to a stronger setup for the more experienced devs that like decoupling and explicitness.

The following things should probably be explained in this guide:

  • How to register your controllers (with the new DI possibilities)
  • How to do this with explicit service definitions (no auto-wiring as opposed above)
  • How to register your entities if you use this with doctrine
  • How to register commands in your application
  • How to load resources (which is already documented via best practices, via app/Resources)
  • How to manipulate the container (via kernel build() and such)
  • Did I forget anything?

Closely related to symfony/symfony-standard/pull/1034

/cc @dunglas

@javiereguiluz
Copy link
Member

javiereguiluz commented Mar 19, 2017

Please, don't work on this yet. There are some unannounced changes coming for Symfony 3.4/4.0 related to this. Thanks!

@javiereguiluz
Copy link
Member

I'm closing this because of the same reasons given in #5535. This proposal is no longer optional but absolutely mandatory. We must update ALL docs for bundle-less apps introduced in Symfony 4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants