+ All Categories
Home > Software > Meetup-js-053015

Meetup-js-053015

Date post: 05-Aug-2015
Category:
Upload: joe-devlin
View: 60 times
Download: 0 times
Share this document with a friend
Popular Tags:
27
Weatherapp mini sprint 5/30/2015 1 parish.saintpats.org kofc809.org
Transcript
Page 1: Meetup-js-053015

parish.saintpats.org kofc809.org 1

Weatherapp mini sprint

5/30/2015

Page 2: Meetup-js-053015

parish.saintpats.org kofc809.org 2

Weatherapp mini sprint

Today’s Event hosts• St. Patrick’s Church & School - Tacoma• Knights of Columbus Tacoma Council 809

5/30/2015

Page 3: Meetup-js-053015

parish.saintpats.org kofc809.org 3

Weatherapp mini sprint

Moderator: Joe Devlin

5/30/2015

Page 4: Meetup-js-053015

parish.saintpats.org kofc809.org 4

Weatherapp mini sprint

Access this slideshow at:

http://vividventures.biz/d/?q=javascript

5/30/2015

Page 5: Meetup-js-053015

parish.saintpats.org kofc809.org 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 1892o Aligned with St. Patrick’s Catholic School linko Reference: The Bible APIo 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-6strengthsfinder.com

5/30/2015

Page 6: Meetup-js-053015

parish.saintpats.org kofc809.org 6

A word from our hosts• Knights of Columbus www.kofc.org

o Founded in 1882o 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

Page 7: Meetup-js-053015

parish.saintpats.org kofc809.org 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

Page 8: Meetup-js-053015

parish.saintpats.org kofc809.org 8

Time management

5/30/2015

Present

Code

Discuss

Page 9: Meetup-js-053015

parish.saintpats.org kofc809.org 9

Desirables

5/30/2015

• 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.

oMake incremental progress. Do not wait to the end of time to submit.

• Collaborate as a team to get it done

Page 10: Meetup-js-053015

parish.saintpats.org kofc809.org 105/30/2015

Schedule0830-0845 Set-up laptops, coffee tea and pastries0845-0900 Introduce ourselves0900-0920 Workspace setup, git Basics, pull weatherapp0920-1050 Deliver function and test shell1050-1115 Deliver some output1115-1200 Test1200-1230 Lunch

Page 11: Meetup-js-053015

parish.saintpats.org kofc809.org 11

Rest Rooms• Down the hall past the fireside room

5/30/2015

Page 12: Meetup-js-053015

parish.saintpats.org kofc809.org 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

Page 13: Meetup-js-053015

parish.saintpats.org kofc809.org 13

Setup for today

5/30/2015

• 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

Page 14: Meetup-js-053015

parish.saintpats.org kofc809.org 14

Setup for today - initial directory setup

5/30/2015

• 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/coding_projects/weatherapp

Page 15: Meetup-js-053015

parish.saintpats.org kofc809.org 155/30/2015

Page 16: Meetup-js-053015

parish.saintpats.org kofc809.org 165/30/2015

Page 17: Meetup-js-053015

parish.saintpats.org kofc809.org 17

Setup for today - initial directory setup

5/30/2015

• 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

Page 18: Meetup-js-053015

parish.saintpats.org kofc809.org 18

git status lifecycle of a file

5/30/2015

Reference: http://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository

Page 19: Meetup-js-053015

parish.saintpats.org kofc809.org 195/30/2015

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.

Page 20: Meetup-js-053015

parish.saintpats.org kofc809.org 205/30/2015

Project revisions process

Page 21: Meetup-js-053015

parish.saintpats.org kofc809.org 215/30/2015

Project revisions process

Page 22: Meetup-js-053015

parish.saintpats.org kofc809.org 225/30/2015

Project revisions process: PUSH

Page 23: Meetup-js-053015

parish.saintpats.org kofc809.org 235/30/2015

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.

Page 24: Meetup-js-053015

parish.saintpats.org kofc809.org 245/30/2015

Project revisions process: PULL

Page 25: Meetup-js-053015

parish.saintpats.org kofc809.org 255/30/2015

Revisions process

$git clone

write test

write code

test code

$git add$git commit

$git pull origin

$git push origin

DONE

Page 26: Meetup-js-053015

parish.saintpats.org kofc809.org 26

Weatherapp requested features

5/30/2015

• 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 .

Page 27: Meetup-js-053015

parish.saintpats.org kofc809.org 27

Reference

5/30/2015

• 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/


Recommended