Skip to content

Make the examples way better #35

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 29 commits into from
Feb 1, 2015
Merged

Make the examples way better #35

merged 29 commits into from
Feb 1, 2015

Conversation

radix
Copy link
Contributor

@radix radix commented Feb 1, 2015

The github example is all basically mashed into one place, and it poorly represents all the separation of concerns that Effect encourages by separating performers and application code.

Also, it doesn't work on Python 3, and it doesn't support non-Twisted performing, which leads people to think that Effect only works with Twisted.

It should be refactored to show that core application logic can stay the same (i.e. the flow of asking a user for their GH username, fetching their repositories and displaying them), and used with different performers like the Twisted ones and blocking ones.

radix added 27 commits January 1, 2015 14:22
… stuff.

this needs to be refactored into more modules and cleaned up.
@radix radix changed the title Rewrite the examples to better represent best practices for factoring of code (and to support blocking performers) Make the examples way better Feb 1, 2015
radix added a commit that referenced this pull request Feb 1, 2015
@radix radix merged commit eaca00d into master Feb 1, 2015
@radix radix deleted the gh-example-requests-2 branch February 1, 2015 20:23
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.

1 participant