More appdev/scope code examples

Registered by Daniel Holbach on 2014-10-28

We have the App Developer Cookbook on http://developer.ubuntu.com but it would be nice to have a more structured way to provide/review/include code snippets and examples.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Daniel Holbach
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Agenda:
Current cookbooks:
http://developer.ubuntu.com/apps/qml/cookbook/
http://developer.ubuntu.com/scopes/cookbook
We could use something like django snippets
It already supports tags, so we can do something like "tags: i18n, qml"
Supports various languages
Use version for framework
could count towards Ubuntu membership
<alecu> dholbach: something nice about the python recipes site: "Fork this recipe" in each page.
Consider licensing of snippets
CC-by-SA for all, might be an option?
Stuff which would need to be done:
approval by team of sdk/core developers (or upvoting/downvoting, already implemented)
cross-referencing with articles on developer site
Embedding snippets in articles
Needs Django templates for the Ubuntu look
Thanks! button
Make it export an API
Hook up the SDK (Qt Creator) into the API

Another option (not open source)
http://code.activestate.com/recipes/langs/python

(?)

Work Items

Work items:
[dpm] Set up a staging instance of ubuntu snippets for demo purposes (91.189.93.90): DONE
[dpm] Write a blog post about the project and how to contribute to it: TODO
write a charm to get snippets / cab up on developer.u.c: TODO
[dpm] help with styling to make it blend into developer.u.c: DONE
[dpm] integrate Launchpad SSO into the app: DONE

This blueprint contains Public information 
Everyone can see this information.