タグ

2009年6月14日のブックマーク (9件)

  • Andy Wardley: MVC: No Silver Bullet

    Introduction The Model-View-Controller (MVC) Design Pattern is much heralded as the "Right Way" to build web applications. Although MVC is undoubtedly a valuable and useful way to architect such systems, I believe it goes far deeper than MVC alone. In this article, based on a post originally sent to the Template Toolkit mailing list, I suggest that a clear separation of concerns is what is really

  • Bash&シェルスクリプトを極めるテクニックまとめ | OSDN Magazine

    UNIXやLinuxのエキスパートになるのに避けて通れないのが、Bashに代表されるコマンドラインシェルによる操作だ。そこで記事では、「Bashのカスタマイズ」「シェルスクリプトの高等テクニック」「Bash以外の高機能シェル」の3つについて、SourceForge.JP Magazineで過去に掲載された解説記事を紹介する。 Bashをカスタマイズして使いこなす Bashは非常にカスタマイズの幅が広く、またちょっとした改良や簡単なシェルスクリプトの利用により、大きく作業効率が改善する。ここでは、Bashのカスタマイズテクニックを解説する記事を紹介する。 コマンドラインでシェルのエイリアスと関数を使って作業を効率化する GNU/Linuxシステムを最大限に活用するには、やはりコマンドプロンプトとシェルスクリプトへの習熟が欠かせない。とはいえ、そうした処理はなるべく手早く済ませたいものだ。

    Bash&シェルスクリプトを極めるテクニックまとめ | OSDN Magazine
  • Profiling Ruby With Google's Perftools - igvita.com

    By Ilya Grigorik on June 13, 2009 Benchmarking, profiling and debugging are all areas where better tool support could really benefit the Ruby community. Built in benchmark library and extensions such as ruby-prof provide us with a minimal level of introspection to help identify the common bottlenecks, but they still fall short of the available tools for the JVM, or other dynamic runtimes. If you'r

  • Is it Rails? - let's test it!

    a Moriz GmbH production. Created by Roland Moriz. Thumbnails by websnapr. Contact & Imprint version: app #30 engine #3, 2009-06-01

    gom68
    gom68 2009/06/14
    Discover sites with Ruby on Rails
  • HugeDomains.com

    Captcha security check superjared.com is for sale Please prove you're not a robot View Price Processing

    HugeDomains.com
  • Rails Edge Architecture

    I've talked a bunch about the Rails 3 architecture in various talks, and it's finally come together enough to do a full blog post on it. With that said, there's a few things to keep in mind. We've done a lot of work on ActionController, but have only mildly refactored ActionView. We're going to tackle that next, but I don't expect nearly as many internal changes as there were for ActionController.

  • RESTFul Design Patterns

    Summarize a set of RESTful design practices that I have used quite successfully. Object Patterns If there are many objects of the same type, the object URL should contains the id of the object. http://www.xyz.com/library/books/668102 If this object is a singleton object of that type, the id is not needed. http://www.xyz.com/library Get the object representation HTTP GET is used to obtain a represe

  • MySQL とメモリに関するまとめ - LukeSilvia’s diary

    前回のエントリーデータベースを用いたセッションデータ管理についてで、MySQL とメモリの関係について良く分からない部分があると書きました。 実はここに関する理解はかなり曖昧な部分があって、調査して追記します。とくにメモリ利用量について。mysqld のプロセスが利用できるメモリの上限が、32bit OS の場合は3G 程度ということは、innodb_buffer_pool_size もこの制限を受け、これについての警告が、先に紹介したリファレンスマニュアルのものという理解だけどいいのだろうかというのが1つ。 2 つ目は、この理解があっているとすると、4G 以上のクラスのメモリをつんだサーバをDB サーバとして利用する場合、64 bit OS でないとリソースの有効活用ができないか。それとも、先に書いたとおり、OS レベルのキャッシュとして利用できるから、結果としてデータファイルを読み込む

    MySQL とメモリに関するまとめ - LukeSilvia’s diary
  • PHP5のオブジェクト指向と連想配列のパフォーマンス - nokunoの日記

    突然ですが、PHPのオブジェクト指向と連想配列の違いってなんでしょうかね?最近PHP5のオブジェクト指向について触れる機会があったのですが、そもそも型が動的なPHPではポリモフィズムの恩恵も微妙だし、連想配列が強力なので構造体としてもあえて使う理由が見当たらないし… と、ここまで考えて、パフォーマンスに違いがあるのではないか? と思い当たりました。つまり、クラスを「静的な型」として定義し、その型からインスタンスを生成する以上、変数名などの「共通な部分」はクラスの情報として持っておけばよいわけで、1つのクラスからたくさんのインスタンスを生成するときに、メモリ使用量の点で優れているのではないか、と。結論からいうと、オブジェクト指向は、連想配列よりもメモリ使用量が少なく、計算時間も短いことが分かりました。以下、検証コードとその結果です。memory_get_usage()を使ってメモリー使用量を

    gom68
    gom68 2009/06/14