IntroductionKoa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. By leveraging async functions, Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware within its core, and it provides an elegant suite of methods that make writing serve
node.jsを使ってMySQLへのデータアクセスを行うmysql-jsを紹介する。これを利用すればSQLを使わずにオブジェクト指向プログラミングの恩恵を受けることが出来る。 出典について この記事はcraigrussell氏によるMySQL High Availabilityの投稿「The JavaScript Connector for MySQL you never heard of」(2015/7/14)をユーザが翻訳したものであり、Oracle公式の文書ではありません。 Webサーバをたてて、node.jsとExpressを使ってデータベースに接続するのはかつてないほど簡単になっている。node.jsを使ってRDBからデータを取り出すには、かつてはユーザーがSQLの技術に熟練している必要があった。 そこでMySQLの開発チームは、MySQLからのドキュメントを保存、検索し、nod
This isn't an X is better than Y post. I love Express, I still think it's a really great module and I've used it successfully in many projects. That being said, I'm hearing good things about Hapi.js (referred to as Hapi from hereon in) recently which is another HTTP server framework for Node.js. So I figured it was time to check it out. As most people who I imagine come to Hapi, I have experience
Web-based MongoDB admin interface, written with Node.js and express download .ZIPdownload .TGZ Web-based MongoDB admin interface written with Node.js and express - Master (stable) branch - Develop branch Features Current features: Connect to multiple databases Connect and authenticate to individual databases Authenticate as admin to view all databases Database blacklist/whitelist View/add/rename/d
Express3.x(connect2.3+)とSocket.IOでのセッション管理とmochaとsuperagentでexpressを使ったサービスのログイン周りのテストの続き。 今回はsocket.ioの同時接続のテストについて。今回は 1000人同時接続が出来るか 正しくメッセージのやりとりが出来るか(チャットなので) ログイン済みユーザーのみが接続できるか のテストを行なってみました。 socket.io-clientを用いれば、コンソールから同時接続のテストが簡単に出来ます。 ただし、環境によってはOS自体のファイルディスクリプタの最大数を引き上げないと1000人同時接続は難しいです。 ソースコード 今回は今までのを全て含めたものをgithubに上げています。 pxsta / express-socket.io-chat-test 今回の環境 Mac OSX 10.7.4 Lio
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く