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

Begin patterns documentation including overview and presenter pattern #314

Merged
merged 2 commits into from Jul 10, 2018

Conversation

elrayle
Copy link
Contributor

@elrayle elrayle commented May 23, 2018

Be sure to include the A-Z Index page if it has been updated

bundle exec jekyll build
cp generated/a-z.md pages/

Then make sure that commit of pages/atoz.md is in this PR

Copy link
Collaborator

@laritakr laritakr left a comment

Choose a reason for hiding this comment

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

Just one small change requested.

* `@presenter` should be the only instance variable accessed in the view.
* `@presenter` can be passed as `presenter` to partials rendered from the primary view.
* The same presenter can be shared by multiple views and partials.
* Presenters can be used with any kind of view. Although, they are not used with new/edit forms. The Forms pattern performs a similar role for the forms.
Copy link
Collaborator

@laritakr laritakr May 25, 2018

Choose a reason for hiding this comment

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

Grammar is awkward here (line 22). The second partial sentence should be combined with the first.

@laritakr laritakr merged commit 129f7db into master Jul 10, 2018
@laritakr laritakr deleted the patterns branch July 10, 2018 19:36
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.

None yet

3 participants