風若 foonyah v0.0.2
-
Upload
yoshitaka-sakamoto -
Category
Technology
-
view
1.947 -
download
2
description
Transcript of 風若 foonyah v0.0.2
db.twitter.finOne({_id: ystk_skm}) { name : Yoshitaka Sakamoto, from : Liberty Technology, github: ystskm, born : osaka JAPAN,
like : { book: [Kaho Nashiki, Ryotaro Shiba], music: [Kobukuro, Mr\.Children] football : [Arsenal, Gamba], girlfriend: [null, undefined] } }
・Both server and client side writable in JavaScript
・MongoDB is default database, also capable of transaction.
・foonyah recommends SCM developing approach on being based on MVC model.
SCM : Structure Controller Modules - it's agile-oriented development approach. - powerful for distributed cloud architecture
Summary
Browser
+ DOM structure generation+ module setup
GridFSClusterEvent Drive
http
+ LocalStorage, worker, ServerSentEvent and any HTML5 technology
+ management idea for cluster servers and datas
+ file system for clustering system
ws&&
require('foonyah').start()1. http server start2. web socket server start3. grid-fs file system launch 4. cluster communicate system launch5. option can be set (.start(options)) - all servers hosts or ports, virtual hosts, alias for url, server module type (default: express), process is forked or not, ... - modules used in foonyah preset positions - if you want to launch multiple application servers, set hosts / ports as an array in options. - can set whether launch or not for every server in 1-4.
window.require('client.js');
window = structure canvas on server"client.js" gets from gridfs-based foonyah!