Skip to content

Instantly share code, notes, and snippets.

View bobfirestone's full-sized avatar
⛷️
Would rather be skiing

Bob Firestone bobfirestone

⛷️
Would rather be skiing
View GitHub Profile
@bobfirestone
bobfirestone / react-js.md
Last active October 19, 2015 05:48
react.js resources & notes

react.js

bullet point brain dump

  • react is a frontend javascript library created at facebook to simplify the creation of interactive UI components.
  • in the MVC model of the world it is the view layer.
  • one way dataflow to simplify the application logic and better understand what is causing what to happen.
  • paired with the flux libraby for more complex data & interaction models
  • plays nice with frameworks like backbone and angular
  • has serverside rendering to load a page with data & continue updating changes
{
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"font_face": "M+ 1m",
"font_size": 13.0,
"highlight_modified_tabs": true,
"ignored_packages":
[
@bobfirestone
bobfirestone / golfcourse.rb
Created August 9, 2012 18:36
Validating & Testing a MongoDB Array with Rspec and Mongoid
class Golfcourse
include Mongoid::Document
field :name, type: String
field :type, type: String
field :street, type: String
field :city, type: String
field :state, type: String
field :zipcode, type: String
field :phone, type: String
field :loc, type: Array