• Sample #1

        (1) simplest

        <default feature>
        • SPDY server ( if you want to confirm, use SPDY indicator )
        • auto base tag/base path out
        • auto minify
        • auto gzip
        • auto caching
        • easy error handling
        • gridfs
        • dom handling on server side
        foonyah.use('hello').returnHTML(res, loc, nav, callback);
        • Activate Sample #1

          !attention !

          THE PREPAREMENT FOR USING foonyah IS NOT ENOUGH, SORRY!
          Liberty Technology
          • 1. Installation
            At first, make and move to your working directory.
            mkdir ~/foonyah-work
            cd ~/foonyah-work
            1) install node.js via nvm
            git clone git://github.com/creationix/nvm.git ./nvm
            source ./nvm/nvm.sh
            nvm install v0.12.10
            2) install mongodb and start
            curl http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.3.tar.gz
            tar -zxvf mongodb-*.tar.gz
            ln -s ./mongodb* mongodb
            mkdir data
            ./mongodb/bin/mongod --port=27017 --logpath=log17 --nssize=4 --oplogSize=32 --nohttpinterface --dbpath=data/db17 --pidfilepath=pid17 --nojournal --fork&
            3) download and install foonyah with sample
            curl http://liberty-technology.biz/foonyahstation/experience  |  /bin/sh 
          • 2. Start sample server
            node ./experience/start.js -ISLOCAL=true
          • 3. Access to application
            (1) simplest
            http://localhost/simplest/
            (2) simplest with header and footer
            http://localhost/with-some-plugins/
        • Server Settings

        • Application Configuration

        • Working Details

          • basic use
          • setupper use
      • Sample #2

        (2) with-some-plugins

        <default feature+>
        • (plugin)[layout] auto layout, header, footer with copyright (+0 line)
        • (plugin)[webfonts] web font import (+3 lines)
        • (plugin)[googleanalytics] implement google analytics tag (+1 line)
        foonyah.use('hello-advanced').returnHTML(res, loc, nav, callback);