Skip to content

Instantly share code, notes, and snippets.

@pixelhandler
Last active August 29, 2015 14:24
Show Gist options
  • Select an option

  • Save pixelhandler/7c95e02e4cc0c836fe43 to your computer and use it in GitHub Desktop.

Select an option

Save pixelhandler/7c95e02e4cc0c836fe43 to your computer and use it in GitHub Desktop.
Plans for ember-cookbook.com

Curated Content: Ember Cookbook

  • Community submitted and reviewed cookbook content for solutions using the Ember.js framework.
  • Authenticated user (with github) may 'suggest a solution'

Content format (solution)

(follows the original Ember.js Guides/Cookbook)

# Title
## Problem
## Solution
## Discussion

Resources

  • Cookbooks (attrs: title, problem, solution, discussion)
  • People (Submitter, Collaborator, Publisher, Commenter)
  • Links (to addon, gist, repo, etc.)
  • Tags (taxonomy by published tags)
  • Comments
  • Reviews (scoring)

Cookbook states

state / action(s)

  • Submitted (accept, reject)
  • Draft (review, publish)
  • Published (star, watch)

Cookbook Review

This review can be used as a rating/scoring point scale as well.

  1. Solves a single problem
  2. Teaches intermediate/advanced topic
  3. Presents a skill Ember.js developers should know
  4. Addresses a StackOverflow question
  5. Answers a focused question
  6. Does more than document a class
  7. Is smaller in scope than a topic based guide (i.e. official guide)

Site Overview

Purpose: 'To restore freedom in the galaxy' (well not that ambitious). How about… It’s hard to learn Ember, Let’s change that. This is a content site that aims to help Ember developers discover and contribute solutions to problems encountered when developing ambitious Web applications.

For this project to be successful we'll need to be sure it's easy to motivate and encourage Ember developers to share solutions to the problems they encounter when building apps with Ember.js.

  • Website with curated content organzied by tag based taxonomy
  • Login with github
    • Actions 'star' & 'watch' a cookbook entry
    • Solution submission for cookbook content
    • Review of 'draft' entries
  • Maintainers accept / reject cookbook submissions
  • Maintainers publish and edit tags submitted with cookbook submission
  • Reviewers can collaborate
  • Content can be in an addon repo or gist (edit and peer review via github)
  • Published content will be copied into backend in markdown syntax (from source, e.g. gist)
  • Maintainers, Collaborators and Reviewers can add Links to published solutions
  • Site content (published) can be commented on by authenticated users (via github)
  • Content listed on home page by recent, starred (rank by star/vote)
  • Navigation includes tag listing, paginated archive pages
  • Content is searchable by keyword, title, tag, submitter, collaborater etc.
  • Authenicated user has a profile page with their list of starred, watched, commented, submitted, reviewed content, etc.

Must have for release

Easy to…

  1. Submit a Cookbook (solution)
  2. Review and score a solution
  3. Collaborate with submitter in order to refine the solution
  4. Publish a solution
  5. Comment on a solution
  6. Find a solution
  7. Tag a solution by collaborators, e.g. versions, taxonomy & publish tags

Implementation

  • API app: Rails Api with JSONAPI::Resources gem, ships w/ Capistrano
  • Client app: open source ember-cli project, ships w/ ember-cli-deploy
  • Server: Ubuntu running on Digitalocean box
    • Nginx, Sintra/Redis for index.html
    • S3 for assets
    • Passenger for Rails Api app
    • Proxy API requests to same domain, ember-cookbook.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment