task

 

[previously]

  1. ]

[currently]

  1. [2015-11-09][18:00] NEW task IN 
    1. x] # 5817 -  export modules - exports
  2. [00:00] HAVE
    1. x] # 5289 - CREATE-article modules
  3. [00:00] NEW task IN review/HAVE
    1. *] HAVE 5218-lrn-node in windows
    2. *] prj-pass-4800
  4. [18:30] NEW task IN  
    1. x] # # - CREATE-article# 4754 expressjs(node) 
  5. [19:00] NEW article IN tech-dev-www/framework-nodejs/packages-expressjs
    1. x] # 4754 - expressjs - x] # # - add REF links from BM 
  6. [19:30] UPDATE article 
    1. x] # 4500 - nodejs - x] ADD REF links from BM's, x] CATEGORIZE 
    2. *] browser slow, x] filesystem slow
    3. ] PRB add method to module, 
    4. ] have to add it inside of 

[next]

  1. ] MODULES
  2. ] have module.exports = function(app){ }
  3. ] this module contais var races{} // array of json race data
  4. ] module contains var = currentRace{}
  5. ] currentRace has methods and properties that return bits of race information || complete race details
    1. ] ex race by id 
  6. ] TRY FAIL = add new function(myFunction) to races module
    1. var myFunction  = function(){ return 'stuff'}
    2. call from home page using x.myFunction(), gets error, undefined
  7. ] BUT TRY WORKS = 
    1. ] add method to existing currentRace object and call it from x.
  8. ] the page using(aka calling) the races module
  9. ] HAS requires(./races.js)
  10. ] HAS var x = Races()

 

[2016-06-dd] found 'note' about node in t#

  1. ] ADD node notebook - g.qry = 'express js module.exports'
  2. ] node modules - http://stackoverflow.com/questions/5311334/what-is-the-purpose-of-node-js-module-exports-and-how-do-you-use-it
  3. > ] http://openmymind.net/2012/2/3/Node-Require-and-Exports


[related]

  1. ] project-4800-nascar-PASS
  2. ] project-5150-nascar-DATA
Details Photos Edit more

Details

ID: 5817

NAME: LIST-UPDATES-2015-11-09

DESCRIPTION: CREATE

START DATE TIME: 2015-11-09 21:38:35

EST DURATION: 01:00:00

END DATE TIME: 2015-11-09 22:38:35

STATUS: To-Do

PRIORITY: -5

OWNER ID: 1

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities