Skip to content

Proofreading and updating entity_provider for readability #5083

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

Merged
merged 3 commits into from
Mar 23, 2015

Conversation

weaverryan
Copy link
Member

Q A
Doc fix? no
New docs? no
Applies to all
Fixed tickets #2756

Hi guys!

I wanted to close #2756, and when I started looking into things, there were a bunch of changes I wanted to make for readability. I think it's good, but of course, errors are likely :).

Thanks!

Finally, the tutorial will demonstrate how to create a custom
:class:`Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider` object to
retrieve users from a database with custom conditions.
Before you start, you should check out the `FOSUserBundle`_. This external
Copy link
Member

Choose a reason for hiding this comment

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

is it really worth adding this section as the main (and first) paragraph? FOSUserBundle is great, but not for some more complex things. And to get to know things, it might be even better to actually create a User Provider.

Adding this in a tip seems better (as we do with other bundles as well).

Copy link
Member

Choose a reason for hiding this comment

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

And by the way, the reference URL needs to be added.

Copy link
Member Author

Choose a reason for hiding this comment

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

I like the note. Without it, for true beginners that don't know about FOSUserBundle, I feel like we'd be teaching them how to build a car from scratch before telling them that finished cars are available for purchase :). But, I will modify this note to mention the why/why-nots of using FOSUserBundle versus this approach

@weaverryan
Copy link
Member Author

Thanks everyone!

@weaverryan weaverryan merged commit 0bb82c6 into 2.3 Mar 23, 2015
weaverryan added a commit that referenced this pull request Mar 23, 2015
…ty (weaverryan)

This PR was merged into the 2.3 branch.

Discussion
----------

Proofreading and updating entity_provider for readability

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | no
| Applies to    | all
| Fixed tickets | #2756

Hi guys!

I wanted to close #2756, and when I started looking into things, there were a bunch of changes I wanted to make for readability. I think it's good, but of course, errors are likely :).

Thanks!

Commits
-------

0bb82c6 Fixing bad link name
7153f3b Many fixes thanks to stof, WouterJ, xabbuh and dupuchba
768f7cc Proofreading and updating entity_provider for readability
@xabbuh xabbuh deleted the entity_provider branch March 23, 2015 20:55
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