{"action":"created","issue":{"url":"https://api.github.com/repos/TIY-Durham/2015-FALL-FEE/issues/492","labels_url":"https://api.github.com/repos/TIY-Durham/2015-FALL-FEE/issues/492/labels{/name}","comments_url":"https://api.github.com/repos/TIY-Durham/2015-FALL-FEE/issues/492/comments","events_url":"https://api.github.com/repos/TIY-Durham/2015-FALL-FEE/issues/492/events","html_url":"https://github.com/TIY-Durham/2015-FALL-FEE/issues/492","id":112198810,"number":492,"title":"28 -- Shay Hall","user":{"login":"ShayHall","id":13802039,"avatar_url":"https://avatars.githubusercontent.com/u/13802039?v=3","gravatar_id":"","url":"https://api.github.com/users/ShayHall","html_url":"https://github.com/ShayHall","followers_url":"https://api.github.com/users/ShayHall/followers","following_url":"https://api.github.com/users/ShayHall/following{/other_user}","gists_url":"https://api.github.com/users/ShayHall/gists{/gist_id}","starred_url":"https://api.github.com/users/ShayHall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShayHall/subscriptions","organizations_url":"https://api.github.com/users/ShayHall/orgs","repos_url":"https://api.github.com/users/ShayHall/repos","events_url":"https://api.github.com/users/ShayHall/events{/privacy}","received_events_url":"https://api.github.com/users/ShayHall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-19T17:54:49Z","updated_at":"2015-10-19T18:30:47Z","closed_at":null,"body":"* [ ] **Yak Shaving**\r\n  * _WIP Issue_: `28 -- YOUR NAME`\r\n    * Links to PRs in:\r\n      * `USERNAME.github.io`\r\n        * `journal-week-7` into `master`\r\n        * `feature/*` into `remodeling`\r\n        * `remodeling` into `master`\r\n* [ ] **Journal, Week 7**\r\n  * created `journal-week-7` from `master`\r\n  * flag in the sand for:\r\n    * reflective journal\r\n    * tutorial journal\r\n    * bookmark journal\r\n  * created feature branch x3: `git flow feature start`\r\n* [ ] **Reading APIs: Firebase & Restangular**\r\n  * **Firebase REST API**\r\n    * What operations does the Firebase REST API support?\r\n    * Do I need to authenticate with Firebase to read or create data?\r\n    * What format does Firebase expect data to be in?\r\n  * **Restangular**\r\n    * How do I configure a REST-ful API like Github?\r\n    * How would I request a list of...\r\n      * ...Repos for the class Org?\r\n      * ...Issues for the class Repo?\r\n      * ...Issues for a specific Milestone?\r\n  * **`ngRouter`**\r\n    * How do I define...\r\n      * ...a route for my application with `ngRouter`?\r\n      * ...dynamic pieces (params) to routes?\r\n      * ...the template to load for a route?\r\n      * ...the controller to trigger for a route?\r\n    * How do I retrieve...\r\n      * ...the params from a route in a controller?\r\n      * ...the controller for a route in the view?\r\n* [ ] **Don't Stop Believing**\r\n* [ ] **GitHub Revolution: Angular Edition**\r\n  * `git-flow` that sucker!\r\n  * `angular`-ize with `bower` and `wiredep`\r\n  * just `run` the thing already!\r\n  * `$http.get` ALL THE THINGS!\r\n  * profile data angularized, cap'n!\r\n  * _at least one repo_ angularized, too!"},"comment":{"url":"https://api.github.com/repos/TIY-Durham/2015-FALL-FEE/issues/comments/149305990","html_url":"https://github.com/TIY-Durham/2015-FALL-FEE/issues/492#issuecomment-149305990","issue_url":"https://api.github.com/repos/TIY-Durham/2015-FALL-FEE/issues/492","id":149305990,"user":{"login":"ShayHall","id":13802039,"avatar_url":"https://avatars.githubusercontent.com/u/13802039?v=3","gravatar_id":"","url":"https://api.github.com/users/ShayHall","html_url":"https://github.com/ShayHall","followers_url":"https://api.github.com/users/ShayHall/followers","following_url":"https://api.github.com/users/ShayHall/following{/other_user}","gists_url":"https://api.github.com/users/ShayHall/gists{/gist_id}","starred_url":"https://api.github.com/users/ShayHall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShayHall/subscriptions","organizations_url":"https://api.github.com/users/ShayHall/orgs","repos_url":"https://api.github.com/users/ShayHall/repos","events_url":"https://api.github.com/users/ShayHall/events{/privacy}","received_events_url":"https://api.github.com/users/ShayHall/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T18:30:47Z","updated_at":"2015-10-19T18:30:47Z","body":"\r\n### Journal, Week 7: Any Way You Want It\r\n\r\nWelcome to Week 8! Let's have a look back on Week 7 and your experience as Team Leaders. In your reflective journal this week, relate what you _observed_ working _as_ Team Lead yourself and working _with_ a Team Lead. No need to name anyone; worry about what you've _learned_ later. Get someone who _wasn't_ on your team to review for you this week.\r\n\r\nI'm sure there are some valuable tools and techniques you've leared over the last 7 weeks... How about a short tutorial journal? CSS grids are awesome? Write about 'em! Using Sass as a programming language? Tell us how! Just figured out how to make that tabbed panel interface _exactly right_? Share with the world!\r\n\r\nWhile we're on the subject of tools, drop us a bookmark to one of them and write a little paragraph-long **tl;dr** on it.\r\n\r\n### Reading APIs: Firebase & Restangular\r\n\r\n#### Firebase REST\r\n\r\nWe'll need somewhere to save our data for this week's application, and we don't have a ready API that can provide the data for us. Looks like we'll have to make our own with Firebase! Start with [the Firebase REST API docs](https://www.firebase.com/docs/rest/) and delve into the supporting documentation as necessary.\r\n\r\n * What operations does the Firebase REST API support?\r\n * Do I need to authenticate with Firebase to read or create data?\r\n * What format does Firebase expect data to be in?\r\n\r\n#### Restangular\r\n\r\nWhile we could totally use `$http` to interact with our Firebase apps, [the Restangular library](https://github.com/mgonto/restangular) makes interacting with [REST-ful APIs](https://en.wikipedia.org/wiki/Representational_state_transfer) _much_ easier. The whole API for Restangular fits in a single `README`, so start looking over that.\r\n\r\n * How do I configure a REST-ful API like Github?\r\n * How would I request a list of...\r\n   * ...Repos for the class Org?\r\n   * ...Issues for the class Repo?\r\n   * ...Issues for a specific Milestone?\r\n\r\n#### `ngRouter` aka `angular-route`\r\n\r\nThe simplest library for routing URLs to Controller code and loading templates is `ngRouter`, which comes as the `angular-route` package from Bower. Take some time to review the API for `$routeProvider` and the examples in the official documentation.\r\n\r\n * How do I define...\r\n   * ...a route for my application with `ngRouter`?\r\n   * ...dynamic pieces (params) to routes?\r\n   * ...the template to load for a route?\r\n   * ...the controller to trigger for a route?\r\n * How do I retrieve...\r\n   * ...the params from a route in a controller?\r\n   * ...the controller for a route in the view?\r\n\r\n### Don't Stop Believing...\r\n\r\nNot quite done with your `USERNAME.github.io` layout? Identify at least 3 features that you intend to complete this week. Create or continue using `feature/*` branches with PRs into `remodeling`. Solicit peer reviews and merge your PRs as you go. Open a PR from `remodeling` into `master` so you can release your progress at the end of the week.\r\n\r\n### GitHub Revolution: Angular Edition\r\n\r\nNo one really liked that jQuery thing anyway. Start remodeling your `TIY-GitHub` using `git-flow` techniques: create a `develop` branch based on `master` and open a `feature/shaping-up` branch. In case you're missing it, `npm install --save-dev bower wiredep` to get those on your side and use `bower install --save` to add `angular` to your `bower.json`... make sure you have a `bower.json` first.\r\n\r\nUse `wiredep` to link your shiny new copy of Angular JS (and any other `bower_components` for that matter) into `src/index.html` and confirm operation. Of course, Angular won't do much without a little more yak shaving, now will it? Create a new module named `tiy-github` in `js/main.js` _inside an IIFE_ and attach that to your HTML with an `ng-app` Directive. Now watch all those placeholders go down the drain...!\r\n\r\nIn a simple `run` callback, load the `$http` and `$rootScope` service. Fetch and attach the data for Octocat and see what happens! Then start correcting your placeholders based on the cached API data. Make as much progress as you can, but don't let yourself get stuck on anything. Just make notes in your _WIP Issue_ and bring them up in class. You should definitely have the basic profile info for Octocat and _at least one repository_ filled in by Angular JS. Don't worry too much about the looks; that's not the point."}}