edit-task
Home
Up
Delete
Task Name:
Task Description:
CREATE
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;"> </h1> <h2>[previously]</h2> <ol> <li>]</li> </ol> <h2>[currently]</h2> <ol> <li><strong>[2015-11-09][18:00] NEW task IN </strong></li> <ol> <li>x] # 5817 - export modules - exports</li> </ol> <li><strong>[00:00] HAVE</strong></li> <ol> <li>x] # 5289 - CREATE-article modules</li> </ol> <li><strong>[00:00] NEW task IN review/HAVE</strong></li> <ol> <li>*] HAVE 5218-<a href="/view/task?id=5218" target="_blank">lrn-node in windows</a>, </li> <li>*] prj-pass-4800</li> </ol> <li><strong>[18:30] NEW task IN </strong></li> <ol> <li>x] # # - CREATE-article# 4754 expressjs(node) </li> </ol> <li><strong>[19:00] NEW article IN tech-dev-www/framework-nodejs/packages-expressjs</strong></li> <ol> <li>x] # <a href="/view/article?id=4754" target="_blank">4754 - expressjs</a> - x] # # - add REF links from BM </li> </ol> <li><strong>[19:30] UPDATE article </strong></li> <ol> <li>x] # 4500 - nodejs - x] ADD REF links from BM's, x] CATEGORIZE </li> <li>*] browser slow, x] filesystem slow</li> <li>] PRB add method to module, </li> <li>] have to add it inside of </li> </ol><ol> <li>] </li> </ol></ol> <h2>[next]</h2> <ol> <li><strong>] MODULES</strong></li> <li>] have module.exports = function(app){ }</li> <li>] this module contais var races{} // array of json race data</li> <li>] module contains var = currentRace{}</li> <li>] currentRace has methods and properties that return bits of race information || complete race details</li> <ol> <li>] ex race by id </li> </ol> <li>] TRY FAIL = add new function(myFunction) to races module</li> <ol> <li>var myFunction = function(){ return 'stuff'}</li> <li>call from home page using x.myFunction(), gets error, undefined</li> </ol> <li>] BUT TRY WORKS = </li> <ol> <li>] add method to existing currentRace object and call it from x.</li> </ol> <li>] the page using(aka calling) the races module</li> <li>] HAS requires(./races.js)</li> <li>] HAS var x = Races()</li> </ol> <p> </p> <p><strong>[2016-06-dd] found 'note' about node in t#</strong></p> <ol> <li>] ADD node notebook - g.qry = 'express js module.exports'</li> <li>] node modules - http://stackoverflow.com/questions/5311334/what-is-the-purpose-of-node-js-module-exports-and-how-do-you-use-it</li> <li>> ] <a href="http://openmymind.net/2012/2/3/Node-Require-and-Exports">http://openmymind.net/2012/2/3/Node-Require-and-Exports</a></li> </ol> <h2><br />[related]</h2> <ol> <li>] project-4800-nascar-PASS</li> <li>] project-5150-nascar-DATA</li> </ol>