• !attention !

      THE PREPAREMENT FOR USING foonyah IS NOT ENOUGH, SORRY!
      • precondition

        We are to support conditions shown below.
        server base Node.js( >= 0.12.10) + Mongodb( >= 3.0.0)
        shells macOSX
        cloud service Amazon EC2, Rackspace, GMO Cloud, Heroku
        setup/maintenance tools browsers which scores more than 370 on : The HTML5 test
      • launch

      • server setting

        • simplest server

        • options

        • http request

        • ws event

        • using plugin

        • plugin access

          you can access to plugin files, plugin functions and plugin databases from both server side and browser side respectively.
          server
          file
          function
          database
          browser
          file (1) URL access ( prefix path "node-foonyah-plugins" can define when server start )
          node-foonyah-plugins/[plugin-name]/[file-path]
          (2) query access ( also active POST method )
          ?plugin_file=[plugin-name]/[file-path]
          function (1) URL access ( prefix path "plugin" can define when server start )
          plugin/[plugin-name]/[path]
          (2) query access (also active POST method )
          ?plugin_call=[plugin-name]/[path]
          database Access via data-io plugin. Database-Name is predefined for security reason, so that if you want complicated action ( such as DB-bridged ),
          you should implement these action on server.
          (1) get data by callback
          var p = foonyah.call('[plugin-name]'), dIO = foonyah.use('data-io');
          dIO.find( p.ns(), { [mongo-selector] }, callback )
          (2) get data by event stream
          var p = foonyah.call('[plugin-name]'), dIO = foonyah.use('data-io');
          dIO.find( p.ns(), { [mongo-selector] } ).on('error', [errorFn]).on('data', [curlFn]).on('end', [endFn]);
          See more detail on data-IO plugin API document.
      • application setting