Skip to content

Instantly share code, notes, and snippets.

@colbycheeze
Created May 30, 2015 13:09
Show Gist options
  • Save colbycheeze/a7fab6bcc528dd419b3a to your computer and use it in GitHub Desktop.
Save colbycheeze/a7fab6bcc528dd419b3a to your computer and use it in GitHub Desktop.

Start

  * File structure
  * [14:00] Iron Router
  * [26:00] User accounts
    - [36:00] extra fields
  * [47:00] Collections | Story #4
    - [51:00] adding useful packages
    - [52:45] Allow/Deny
    - [59:00] Mongol
    - [1:00:00] Pub/Sub
    - [1:05:00] dev tools / debugging
    - [1:08:00] helpers for grabbing data
    - [1:09:30] Rendering data (handlebars)
    - [1:15:00] Showing collection hoooks package
    - [1:20:00] Showing collection helpers
    - [1:28:00] Overriding given data context with helper for displaying correctly (such as dates)
    - [1:29:40] Collection helpers (package) vs template helpers
    - [1:34:00] Creating events / form submission
      - [1:35:40] Using Debugger
    - [1:44:40] Insert callbacks
  * Story #5
    - [1:57:52] Back from break
    - [2:03:00] Indexing fields on database
    - [2:06:20] Begin hooking up profile
    - [2:12:56] Security hole with exposing user data (return only the data you need)
    - [2:17:00] Setting data context in iron router
    - [2:21:10] Hook up follow button
      - [2:25:50] if/else block in view
      - [2:27:00] create and call meteor method (server only code)
        - [2:37:00] Viewer writes unfollow code
          - [2:48:00] Solution by Josh
  * [2:52:20] Story #6 - create chronological list of tweets
  * [3:07:00] Story #7 - notifications
    - [3:09:00] Session variables
    - [3:13:00] Returning only the tweets we need, and sorting
  * [3:23:50] Story #8 - Show only tweets for people you are subbed to
    - How to do a simple join (return multiple cursors)
    - [3:36:00] Non reactive data on server and using #observeChanges
    - [3:43:00] Wrap up / Q&A
    - [3:55:00] End

https://gist.github.com/e371d75041ced830c2f9

Session 2

  * Discussion of joins w/ publish-composite
  * Review code
  * [7:40] Walk through of Josh's solution
    - self.added / self.removed
  * [18:30] Story #9
    - [19:40] Autocomplete package
      - [22:15] Creating helpers for tweetStream
        - [25:20] SIDEBAR - Best practices for placing templates / structure
      - [27:15] Setting up publication for autocomplete
        - [27:45] SIDEBAR - metaprogramming
      - [37:00] SIDEBAR - Taking a peek at the autocomplete package source code
      - [44:00] SIDEBAR - Talk about what onStop does
  * [47:50] Story #10 - User can mention other users
    - Using underscore to find and split out tweet msg into array of user ids
    - [59:00] SIDEBAR - Meteor debug on server
    - [1:04:00] Set up the text links to users being mentioned
    - [1:11:45] Explanation of spacebars html insertion (triple mustache)
    - [1:22:00] Find Tweets we have been mentioned in
    - [1:29:10] Explain how template gets the tweet data
  * [1:33:30] Add Cordova functionality
    - [1:38:30] Set up not logged in / wrong user redirect for Iron Router
    - [1:48:00] Get users current location
    - [2:01:30] Build the Cordova app
  * [2:09:00] 10 minute break and then questions
  * [2:18:50] Using different code/templates depending on if mobile or web
  * [2:23:00] Using Kadira performance monitoring
  * [2:29:30] Chat about hosting / deploy options
  * [3:15:30] Install and use autoform and dependencies (for edit profile page)
    - [3:35:00] Get file upload working for profile images
  * [4:00:00] Talk about other cool packages to use in projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment