Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Meetup-js-053015

412 views

Published on

Javascript meetup mini-sprint for our weather app. Planning to do test driven development with qunitjs and sinonjs.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Meetup-js-053015

  1. 1. Weatherapp mini sprint 5/30/2015 1parish.saintpats.org kofc809.org
  2. 2. Weatherapp mini sprint Today’s Event hosts • St. Patrick’s Church & School - Tacoma • Knights of Columbus Tacoma Council 809 5/30/2015 2parish.saintpats.org kofc809.org
  3. 3. Weatherapp mini sprint Moderator: Joe Devlin 5/30/2015 3parish.saintpats.org kofc809.org
  4. 4. Weatherapp mini sprint Access this slideshow at: http://vividventures.biz/d/?q=javascript 5/30/2015 4parish.saintpats.org kofc809.org
  5. 5. A word from our hosts •St. Patrick’s Church – Tacoma o The pastoral council has generously offered us this location for today, as part of the churches community outreach. o Founded in 1892 o Aligned with St. Patrick’s Catholic School link o Reference: The Bible API o Working on the Engaged Church model “Growing an Engaged Church” by Albert Winseman, Gallup Press, ISBN 978-1-59562-014-9 o Promoting personal development with Strengths Finder. “Strengths Finder” by Tom Rath, Gallup Press, ISBN 978-1-59562-015-6 strengthsfinder.com 5/30/2015 5parish.saintpats.org kofc809.org
  6. 6. A word from our hosts • Knights of Columbus www.kofc.org o Founded in 1882 o Dedicated to “Saving Lives and Changing Lives” o Promoting strong families through charitable giving and a AAA rated life insurance and annuity program. o Local projects Habitat for Humanity Build, Blood Drive, Ultrasound for pregnancy care & 4US.org, Coats for Kids, Wheelchair Mission. 5/30/2015 6parish.saintpats.org kofc809.org
  7. 7. Introduction •Joe Devlin - moderator o Member of St Patrick’s Parish and K of C council 809 o Working as a web host for small to medium sized businesses. o Interested in Javascript for the obvious reasons that it is a must for web development, plus for the purposes of getting people together to code; JS is a universal standard that comes with freely downloadable browsers and tools. We can easily collaborate. 5/30/2015 7parish.saintpats.org kofc809.org
  8. 8. Time management 5/30/2015 8parish.saintpats.org kofc809.org Present Code Discuss
  9. 9. Desirables 5/30/2015 9parish.saintpats.org kofc809.org • Have fun! • Deliver testable functional code in the time available to our github master o Since the time frame is short it is NOT necessary to complete the entire goal, however, progress should be testable and functional. o Make incremental progress. Do not wait to the end of time to submit. • Collaborate as a team to get it done
  10. 10. 5/30/2015 10parish.saintpats.org kofc809.org Schedule 0830-0845 Set-up laptops, coffee tea and pastries 0845-0900 Introduce ourselves 0900-0920 Workspace setup, git Basics, pull weatherapp 0920-1050 Deliver function and test shell 1050-1115 Deliver some output 1115-1200 Test 1200-1230 Lunch
  11. 11. Rest Rooms • Down the hall past the fireside room 5/30/2015 11parish.saintpats.org kofc809.org
  12. 12. Attendee Introduction • Let each of us introduce ourselves o My name is ____________. (First name) o Working as a ____________, or looking for work as a _________. o I have been working on / studying ____________________. o What ergonomic issues do you face from working long hours on a computer? What solutions have you found? 5/30/2015 12parish.saintpats.org kofc809.org
  13. 13. Setup for today 5/30/2015 13parish.saintpats.org kofc809.org • Sign up for github if not already registered • https://github.com/Tacoma-JS/weatherapp o Send a request for write access. • Get git at http://git-scm.com/downloads • Reference: • http://www.it-ebooks.info/ • Version control with git • http://git-scm.com/doc
  14. 14. Setup for today - initial directory setup 5/30/2015 14parish.saintpats.org kofc809.org • if you do NOT already have weatherapp • Make a directory named coding_projects $mkdir coding_projects (or whatever you call your project directory) • Change into that directory $cd coding_projects • Make a directory named weatherapp $mkdir weatherapp • Change into that directory $cd weatherapp • Clone the remote repository • $ git clone public_html my_directory (Chapter 12 Repository Concepts pg. 197) • $git clone https://github.com/Tacoma-JS/weatherapp.git /c/Users/Joe/Documents/0_2015_Vivid_Ventures_LLC/Engineering/cod ing_projects/weatherapp
  15. 15. 5/30/2015 15parish.saintpats.org kofc809.org
  16. 16. 5/30/2015 16parish.saintpats.org kofc809.org
  17. 17. Setup for today - initial directory setup 5/30/2015 17parish.saintpats.org kofc809.org • if you D0 already have weatherapp • Change into that directory $cd weatherapp • Make sure your local HEAD is updated • $git status • $git add <files as necessary> • $git commit • Integrate the remote repository with local • $git pull https://github.com/Tacoma-JS/weatherapp.git • Reference: http://git-scm.com/docs/git-pull
  18. 18. git status lifecycle of a file 5/30/2015 18parish.saintpats.org kofc809.org Reference: http://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository
  19. 19. 5/30/2015 19parish.saintpats.org kofc809.org Project revisions process origin Clone 1 r rr rrr Ahead by 4 Clone 2 r rr Ahead by3 Clone 3 r Ahead by 1 The r changes in the clones may be ahead of commits to the origin.
  20. 20. 5/30/2015 20parish.saintpats.org kofc809.org Project revisions process
  21. 21. 5/30/2015 21parish.saintpats.org kofc809.org Project revisions process
  22. 22. 5/30/2015 22parish.saintpats.org kofc809.org Project revisions process: PUSH
  23. 23. 5/30/2015 23parish.saintpats.org kofc809.org Project revisions process origin r rr rr Clone 1 (no diff) Clone 2 r rrbehind by 1 Clone 3 r behind by 2 The r changes in the clones may be behind commits to the origin.
  24. 24. 5/30/2015 24parish.saintpats.org kofc809.org Project revisions process: PULL
  25. 25. 5/30/2015 25parish.saintpats.org kofc809.org Revisions process $git clone write test write code test code $git add $git commit $git pull origin $git push origin DONE
  26. 26. Weatherapp requested features 5/30/2015 26parish.saintpats.org kofc809.org • To request features to the weatherapp we will be using the github issues tab: o https://github.com/Tacoma-JS/weatherapp/issues • It goes without saying that before git pushing; your javascript should pass validation tests such as jslint, jshint, and html validator.nu .
  27. 27. Reference 5/30/2015 27parish.saintpats.org kofc809.org • git • Documentation: http://git-scm.com/doc • http://www-cs-students.stanford.edu/~blynn/gitmagic/index.html • Book http://it-ebooks.info/book/919/ • TDD pdf IBMdw • Qunitjs - http://qunitjs.com/ • Test spies, stubs and mocks Sinon.js - http://sinonjs.org/

×