Skip to content
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

Service container docs, reference section #101

Merged
7 commits merged into from
Feb 17, 2011
Merged

Service container docs, reference section #101

7 commits merged into from
Feb 17, 2011

Conversation

weaverryan
Copy link
Member

A few changes

  • A new service container doc. This is complete for normal users, but is still missing documentation of many of the more advanced features
  • Changed general language from dependency injection to service container. I think the latter is less scary and more true to what the DIC is (it's a container for services). I think an end user could use the DIC without knowing the definition of "dependency injection"
    • A new reference section. This could change or be reorganized later, but it at least gives the topic of "reference" a single location.

Comments welcomed :)

The service container is built using a single configuration resource
(``app/config/config.yml`` by default). All other service configuration(
(including the core Symfony2 and third-party bundle configuration) must
be imported form inside this file in one way or another. This gives you absolute
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

form seems an error in this sentence.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch - this is fixed now.

@schmittjoh
Copy link
Contributor

Definitely a good read for beginners, great job Ryan!

I've seen one or two minor typos, but that's basically all I can criticize.

@weaverryan
Copy link
Member Author

Great, thanks for looking through it! For the typos you see, if you do a line comment, I'll fix them up - somehow you can never catch all of your mistakes.

.. tip::

Be sure that ``swift_mailer.config`` entry appears in your application
configuration. As we mentioned in :ref:`service-container-extension-configuration`,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's swiftmailer.config, not swift_mailer.config :)

@fabpot
Copy link
Member

fabpot commented Feb 14, 2011

I've just added some suggestions here and there but overall, the chapter is excellent. Thanks!

… typos and making a few other changes:

 * Adding more information on what makes a PHP object a service and more on the DIC exension providing semantic configuration for the bundle.

 * Reworking the docs so that I don't show an empty ``app.config``.
xabbuh pushed a commit that referenced this pull request Jul 28, 2016
… (javiereguiluz)

This PR was squashed before being merged into the 2.7 branch (closes #101).

Discussion
----------

Update some screenshots to wrap them with a browser window

This change just adds a CSS class to the generated `<div>` element that wraps images.

Commits
-------

38bb120 Update some screenshots to wrap them with a browser window
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants