タグ

2009年7月6日のブックマーク (4件)

  • Sharding for the masses: the spider storage engine

    In my previous article about the Spider storage engine, I made some tests and I saw that the engine has potential. I did also identify some problems, which were promptly addressed by the author. I have looked at the latest version (0.12), and the results are very much encouraging. Installing the Spider storage engine is not trivial but not extremely difficult either. My previous article has a step

    Sharding for the masses: the spider storage engine
  • Test driving the Spider storage engine - sharding for the masses

    Data seem sometimes to have their own life and will, and they refuse to behave as we wish. Then, you need a firm hand to tame the wild data and turn them into quiet and obeying pets. At the MySQL Conference 2009 I attended a session about the Spider storage engine, an engine with built-in sharding features. The talk was notable for the speaker wearing a spiderman costume, and for some language bar

    Test driving the Spider storage engine - sharding for the masses
  • CakePHPのユーザDBで Basic 認証するには! ( ラボブログ )

    スパイスラボ神部です。 以前、CakePHP で Basic 認証のやりかたについて書きました(CakePHP 1.2 の Basic 認証設定があまりにも簡単すぎる ( ラボブログ ) )。この方法はたしかに簡単なのですが、アカンと/パスワードの組み合わせを beforeFilter などにハードコーディングしなければならないという状況がありました。 そこでちょっと考えてみてください。もし AuthComponent を使ってユーザ管理を行っている場合、ここで使っているユーザIDとパスワードを上手に使って Basic 認証などの認証を上記のような Security コンポーネントの取り回しをすることができれば、サイトの可能性がもっと広がるかもしれません。例えば、OpenID の認証なんかをうまくハンドリングすることが出来るかもしれません。今回はそのやりかたの基礎的な部分についてかんたんに

  • 既存のRailsアプリケーションに手軽にCMSを付ける·Comatose MOONGIFT

    Webサイトの開発において何らかのスペシャルコンテンツや、定期的に入れ替えるコンテンツの差し込み機能が欲しいと言われることはよくある。そのために管理機能を追加するのは工数的に見合わず、ブログなどで情報配信してお茶を濁すなんてことはよくあるだろう。 キーワードやスラグが利用できる簡易CMS だがそれではWebサイトの成功にはおぼつかないかもしれない。RailsアプリケーションにCMS機能を追加するならComatoseを使おう。 今回紹介するオープンソース・ソフトウェアはComatose、ごく小さなCMSプラグインだ。 Comatoseはプラグインとして提供されるソフトウェアで、専用のコンテンツ管理画面が提供される。そして作成したコンテンツは専用のパス以下で呼び出すことができる。もちろんカスタマイズ可能なので、既存のシステムにインラインで表示することもできるだろう。管理画面は認証ありにすること

    既存のRailsアプリケーションに手軽にCMSを付ける·Comatose MOONGIFT