タグ

2012年4月3日のブックマーク (3件)

  • Express - node web framework

    Installation curl: $ curl -# http://expressjs.com/install.sh | sh npm: $ npm install express git clone, first update the submodules: $ git submodule update --init $ make install $ make install-support Creating An Application The express.Server now inherits from http.Server, however follows the same idiom by providing express.createServer() as shown below. This means that you can utilize Express se

    oqzl
    oqzl 2012/04/03
  • WebSocket を通す ReverseProxy が欲しいの

    Node.js で socket.io 使ってウェブチャット作って遊ぶ! とかやってると、そのうち作ったアプリを自宅サーバとかで公開したくなるのが人の世の常というものですが。 とくに考えずに自宅サーバで作ったアプリを動かそうとすると、 「Node.js で作ったアプリをポート3000番で動かしてー、フロントサーバとして Apache か nginx を置けば良いやー」 って感じで上の図のような構成になると思いますー。が (そもそもイベントループが売りの Node.js のフロントサーバが Apache ってどうなの?ってのは置いといて。) ふと気づく。クライアントからの WebSocket が届いてねえ! はい、対応してないんですよね、Apache も nginx も、WebSocket のプロキシは。 仕方ないので無理矢理動かそうとすると、Node.js アプリが動いてるポートを開くこと

    WebSocket を通す ReverseProxy が欲しいの
    oqzl
    oqzl 2012/04/03
  • TechCrunch | Startup and Technology News

    Seedstars Capital and Swiss philanthropic foundation Fondation Botnar have launched Seedstars Youth Wellbeing Ventures, a $20 million investment mandate targeting early-stage startups in Africa that a

    TechCrunch | Startup and Technology News
    oqzl
    oqzl 2012/04/03
    こんな時Operaは空気