This document introduces the foonyah architecture, which allows both server-side and client-side code to be written in JavaScript. [1] Foonyah uses MongoDB as its default database and supports transactions. [2] It recommends an SCM (Structure Controller Modules) development approach based on the MVC model. [3] The foonyah module handles cluster management, event handling, DOM generation, and uses GridFS for file storage across servers.
5. We can use any technology for web easier
on foonyah!
6. Summary
・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
7. Cluster
GridFS
Event Drive
+ DOM structure generation
+ management + module setup + file system for
idea for cluster clustering system
servers and datas
http && ws
Browser
+ LocalStorage, worker, ServerSentEvent
and any HTML5 technology
10. require('foonyah').start()
1. http server start
2. web socket server start
3. grid-fs file system launch
4. cluster communicate system launch
5. 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.
11. I know I have to write script
AGAIN for Node.js
I wrote for client, haha!
12. NOWAY!!
Love is...
Anyway, foonyah has
"SYNCHRONY".