Sunday, 30 March 2014

Post WDI - Node.js, Mocha, REPL, Dev Tools, Jade

  • Node.js App 
  • Unable to view sub-directories after deploy to Heroku app:
    •  Tested - Procfile, Script Start (in Package.json), Foreman
  • Unable to remove error message that echos when running local Node.js server (tried creating a favicon.ico image and placing in main project directory, public folder, and the module folder indicated with no win)
    • Error: ENOENT, open '/Users/ ... / ... / <project_name> /portfolio/node_modules/express/node_modules/connect/node_modules/static-favicon/../public/favicon.ico'
  • Unable to overcome errors that appear when Testing in later Git Branch called 'Streams' (which includes pushes containing Express Module Sessions). Previous Branch without these Testing errors is 'Mongo', now cloned and progressing with 'Mocha2'. 
    • ~/Documents/ <project_directory>/ ✗ streams 
    • Error: Error setting TTL index on collection : sessions
    • TypeError: Object Error: Cannot determine state of server has no method 'isCompatible'
  • RIP Rohan Ramsay

  • Unit 5 - Phase 2 - Setting Priorities for Development - DONE
  • Unit 6 - Phase 3 - Concept Definition - DONE 
  • Unit 7 - Phase 4 - Product Dev & Feasibility Assessment - DONE 
  • Assignment 1 - DONE

Activities @ Lynda - 

Up and Running with Evernote for Mac - DONE

Node.js Essential Training with Joseph LeBlanc - DONE
  • Node.js(Modules, Require, Exports, Event Loops and Callbacks, Blocking vs Non-Blocking Environment, HTTP Module, RESTful, NPM Commands, Express Module and Framework,  Dependencies, Jade Templating Engine, Module Getters and Setters, Module Caching and Function Scopes, Reusable Modules with Module.Exports, Handling and Modifying Large Datasets with GET and PUT Requests Returning JSON, Creating Middleware to Modify HTTP Response Headers, Configuration for Unit Testing with Mocha, Should, and Supertest by Decoupling Seed Data and Server from App)
  • Node Package Manager (NPM)
  • Jade Templating Engine
  • Bootstrap 
  • Chrome Postman Plugin (HTTP Requests)
  • Unit Testing (Mocha, Should, Supertest)
  • Istanbul Code Coverage
  • Foreman (Heroku Deployment)
  • REPL (Read Eval Print Loop for interactive Node.js code debugging)
    • Created Custom REPL Gaining Control of App (Command-Line Interface interacting with Node.js App and Inspecting Data in Real-Time, Built Custom Prompt, GET and PUT Actions without HTTP Interface with Equiv. Results)
  • Optimise Module Cool!!
    • Handed Command-Line Arguments passed to Node.js App (Code Written to Accept Command-Line Args, Used Optimist to Return Data as an Object  with Properties and Values at the Cmd-Line instead of as an Array for easier Look-up)
  • Building Command-Line Tools 
    • Package.JSON Bin Scripts, Hashbangs in Server.js so Shell feeds whole Server.js with Node, NPM Link for symbolic link to path of project
  • Links

MongoDB via Mongoose Connection -  DONE
  • Node.js, MongoDB, npm install (save dependencies), Mongo Lab, Mongoose to create schema data for chainable queries, Postman (Chrome Extension), Querying collections in MongoDB database and handling responses, route handling, Jade framework to render template Views, Connect-Mongo middleware to tie Express sessions with MongoDB by parsing cookies 

Activities @ Book Reading

Javascript The Good Parts - DONE

Activities @ Code School

Discover DevTools - DONE

Activities - General
  • TeamTreehouse - Using (Use my basic account) MUST USE PERKS!!!
  • Amazon Web Services - Pending (Use Voucher by June 2014!)
  • General Assembly Courses - Pending (Use Vouchers)
  • Web Host - Pending (continue with Uber or change to Anchor?)

Events Upcoming
  • ATTENDed - ROROSyd Dev Hub - 6:30pm Tues 1 Apr 2014 (2 Market St Syd) 
  • ATTENDed - Codium - State Library of New South Wales, Macquarie Street
  • ATTENDed - M&G Prep Workshop with Tarun - 10am-1pm 12 Apr 2014 (Fishburners)
  • ATTENDed - M&G Graduates - 6:30-9pm 14 Apr 2014 (Mezzanine Level, 56-58 York St)
    • Business Card

    1 comment:

    1. Nodejs is an open source and cross platform environment for developing the server side web application. The main advantage of using nodejs is because of its fastness, single threaded and highly scalable.
      Node JS training in chennai | Node JS training institute in chennai