thinkingonthinking.com
CommonJS for the database
http://thinkingonthinking.com/commonjs-for-databases
I wrote the Pipefishbook. And like UIs. How can I help you? Enter your email address:. CommonJS for the database. Module format is spreading into the browser. Since some months, you can also use CommonJS modules in the ArangoDB. Database. Why would this be interesting? Let’s start with a pattern: In many web applications, ActiveRecord. Although a number of document stores. Let’s apply the idea of querying data with objects, with data coming from the Kimonolabs. Can be retrieved with:. Apikey=.", func...
ellengummesson.com
Ellen Gummesson • Browserify, browserify-shim and gulp
http://ellengummesson.com/blog/2014/07/10/browserify-browserify-shim-and-gulp
Browserify, browserify-shim and gulp. July 10th, 2014. As I’ve mentioned earlier I’m on a Browserify. Kick and thus exploring the available transform modules for it. One of them is browserify-shim. Which let’s you make CommonJS. Incompatible files browserifyable . Let’s say we have a library that’s exposes itself as. The easiest way to use it with Browserify and browserify-shim is to add this to our. This will make browserify-shim replace. Var module = require('module'). Var module = (typeof window!
ellengummesson.com
Ellen Gummesson • napa (with a hint of Browserify)
http://ellengummesson.com/blog/2014/06/21/napa-with-a-hint-of-browserify
Napa (with a hint of Browserify). June 21st, 2014. Over the last couple of weeks I’ve been diving deep into the world of Browserify. It felt a little bit strange to use it in the beginning but now I’ve really fallen in love with the CommonJS. Way of handling dependencies. One thing that’s kind of a bummer though is that far from everything is available on npm. Thankfully I discovered a nice little tool called napa. Napa is a helper for installing repos without a. With npm . It basically does a.
qianduanfan.com
七天学会NodeJS
http://qianduanfan.com/api/nodejs
确保系统下g 版本在4.6以上,python版本在2.6以上。 Configure $ make $ sudo make install. Node console.log(Hello World! Function hello() { console.log(Hello World! Node hello.js Hello World! Sudo node server.js. Sudo chown root /usr/local/bin/node $ sudo chmod s /usr/local/bin/node. Var foo1 = require(./foo); var foo2 = require(./foo.js); var foo3 = require(/home/user/foo); var foo4 = require(/home/user/foo.js); / foo1至foo4中保存的是同一个模块的导出对象。 Var data = require(./data.json);. Home/user/hello/ - util/ counter.js main.js. Sudo l...
jsrocks.org
ES6 modules today with 6to5 - JS Rocks
http://jsrocks.org/2014/10/es6-modules-today-with-6to5
A collaborative website about the latest JavaScript features and tools. Tue Oct 28 2014 12:49:54 GMT 0000 (UTC). ES6 modules today with 6to5. Ive posted the image below on Twitter. Showing how happy I was. Its great what transpilers. Can do. In JavaScripts World its like a time machine we can forward to the near future of awesomeness ES6 will bring. In this tutorial well show how to start writing ES6 modules. Today, using the awesome 6to5. For an brief introduction. Also, I recommend you to read @jcemer.
fr.wikipedia.org
JavaScript — Wikipédia
https://fr.wikipedia.org/wiki/JavaScript
Un article de Wikipédia, l'encyclopédie libre. Aller à : navigation. 160;Ne doit pas être confondu avec Java (langage). Date de première version. Est un langage de programmation. Principalement employé dans les pages web. Interactives mais aussi pour les serveurs. C'est un langage orienté objet. C'est-à-dire que les bases du langage et ses principales interfaces sont fournies par des objets. Qui ne sont pas des instances. Mais qui sont chacun équipés de constructeurs. Sont des objets de première classe.
wiki.mozilla.org
Labs/Jetpack/JEP/25 - MozillaWiki
https://wiki.mozilla.org/Labs/Jetpack/JEP/25
This page has been superseded by documentation contained in the Jetpack SDK. In a chrome-privileged document. In a JS module. It's currently difficult to share JavaScript code between different contexts in the Mozilla platform:. Code written for the web, for instance, is difficult to load into a JS module, while JS modules and XPCOM components that don't use privileged functionality are impossible to load into web content without nontrivial modifications. Often need to be fixed up. Is a grassroots group ...