Changes between Version 12 and Version 13 of members/GRIP-UQAM/Javascript


Ignore:
Timestamp:
Jan 8, 2017, 1:55:35 PM (4 years ago)
Author:
https://id.mayfirst.org/gripuqam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • members/GRIP-UQAM/Javascript

    v12 v13  
    2828* https://vuejs.org/examples/tree-view.html
    2929= Javascript Programming (Server Side) =
    30 * [DebianPackage:node-express], [DebianPackage:node-], https://qa.debian.org/developer.php?login=pkg-javascript-devel@lists.alioth.debian.org
     30* [DebianPackage:node-], https://qa.debian.org/developer.php?login=pkg-javascript-devel@lists.alioth.debian.org
     31== FastCGI ==
     32* At the moment, the FastCGI package must be downloaded with npm: [Google:node+js+fastcgi+site:debian.org].
     33* //[https://www.quora.com/How-can-Node-js-be-used-as-a-FastCGI-Process-ex-PHP-FPM-with-a-real-webserver-nginx-or-lighttpd-instead-of-running-it-on-port-X-and-calling-with-Reverse-Proxy How can Node.js be used as a FastCGI Process (ex: PHP-FPM) with a real webserver (nginx or lighttpd) instead of running it on port X and calling with Reverse Proxy?]//
    3134== Web Framework ==
    3235* [WikiPedia:Meteor_(web_framework)] [https://fr.wikipedia.org/wiki/Meteor_(framework) fr] (server initiated communication following publish-subscribe pattern)
     36* Connect [DebianPackage:node-connect], [https://www.npmjs.com/package/connect npm] https://www.npmjs.com/search?q=connect
     37== Express ==
    3338* [DebianPackage:node-express], [https://www.npmjs.com/package/express npm]
    34 * Connect [DebianPackage:node-connect], [https://www.npmjs.com/package/connect npm] https://www.npmjs.com/search?q=connect
     39=== FastCGI and Express ===
     40* [Google:express+js+fastcgi]
     41* //[https://github.com/expressjs/express/issues/2805 express breaks http module emulation #2805]// No more an issue 2016-08-29
     42* Code to be tested
     43{{{#!js
     44var fcgi = require('node-fastcgi');
     45var express = require('express');
     46var app = express();
     47
     48app.get('*', (req, res) => {
     49    res
     50      .status(200)
     51      .json({message: 'ok'})
     52})
     53
     54fcgi.createServer(app).listen();
     55}}}
     56=== SPDY and Express (may share some particularities with FastCGI in its interaction with Express) ===
     57* [Google:spdy+node.js+express]
     58* [https://github.com/indutny/node-spdy]
     59* [https://github.com/eee-c/express-spdy]
     60* //[https://webapplog.com/http2-node/ Easy HTTP/2 Server with Node.js and Express.js]//
    3561= Javascript Programming (Desktop) =
    3662* keywords: node js gui
     
    90116* [https://www.npmjs.com/package/mediator-js mediator-js] [[Image(https://img.shields.io/npm/dm/mediator-js.svg, link=https://www.npmjs.com/package/mediator-js, title=mediator-js,)]] Flexible event management. Implementation of the mediator pattern.
    91117* [https://www.npmjs.com/package/mediator mediator] [[Image(https://img.shields.io/npm/dm/mediator.svg, link=https://www.npmjs.com/package/mediator, title=mediator,)]] [https://github.com/henriknorberg/mediator henriknorberg/mediator]
     118==== Mediator and Observer Patterns ====
     119* Node.js ships with a simple EventEmitter class [...]. This is basically a simple implementation of the Observer pattern. //[http://nodeguide.com/style.html Felix's Node.js Style Guide]//
     120* [WikiPedia:Mediator_pattern], [WikiPedia:Observer_pattern]
     121* //[https://stackoverflow.com/questions/12534338/is-the-use-of-the-mediator-pattern-recommend Is the use of the mediator pattern recommend?]//
     122* [Google:observer+vs+mediator+pattern]
    92123=== About ===
    93124* //[https://addyosmani.com/largescalejavascript/#mediatorpattern Patterns For Large-Scale JavaScript Application Architecture]// Written by: Addy Osmani. Technical Review: Andrée Hansson