SeattleJS Geodata Event Highlights and CoffeeScript Lecture
Table of Contents
- SeattleJS
- Geodata with Nate Vaughn
- CoffeeScript with Geoffrey Grosenbach (of PeepCode)
- Background
- Use
- Notes
- Key Benefits
- Fat arrow for binding this to a function
- Ruby string interpolation
- Need to have list comprehensions in Underscore vs. CoffeeScript
- Proper management of this
- Cleans the interface when creating applications
- Firebug will have a CoffeeScript line support
- Instance variable for a Class automatically become member
- Tasks
- Issues
SeattleJS
Design Commission is the likely ongoing space.
Geodata with Nate Vaughn
geo location api data aggregator.
- Based on Instagram
- Now Here This
- Uses iScroll plugin (v3; v4 has more features but integration cost) for mobile
- Provides a way to consolidate location based information from FS (but only venue photos or promotions), Instagram.
- Flickr geo data seemed unmatched to location
Updates
Share the links
Perform auth
Pull back Trip Advisor, review information
Located based social graph
Pull to refresh
Triple tap
Pull all location information for my social graph and show data
Tasks
Joe Hewit's Scrollability (GitHub)
folktrash @ GitHub
CoffeeScript with Geoffrey Grosenbach (of PeepCode)
@topfunky
Background
Lecture-based company.
Use
Process
Look at the way that CoffeeScript goes about reverse engineering a chunk of JavaScript:
- Remove punctuation
- s/this/@/
- Use :constructor
- s/function/->/
- Swap the order of formal parameters + function declaration
Consideration
- Libraries may need patches
- Imposes social overhead for any work with other people
Integration
Can be used with jQuery or Jasmine.
Notes
Used KeyNote as the presentation system.
See some additional CoffeeScript links at http://xfiles/display/ScrumCentral/CoffeeScript
Key Benefits
Fat arrow for binding this to a function
Ruby string interpolation
Need to have list comprehensions in Underscore vs. CoffeeScript
Proper management of this
Cleans the interface when creating applications
Firebug will have a CoffeeScript line support
Instance variable for a Class automatically become member
Tasks
Test +cent + more does coercino
Unary + before a string attempts type coerction back to a float.
Document considerations
CoffeeScript doesn't provide a subset of functionality. Just abstracts some of the core coding typically required.
member variables
Class generation
Jasmine support for improved testability
Style consistency
Fat arrow
Pick classes based on organizational requirements
Use the examples provided by Troy.
Issues
Cannot trivially resolve back to source
This may be addressed in FireBug.
Organizational cost per resource is excessive
Requires a push for front-end control of the product development process.