タグ

2009年10月20日のブックマーク (2件)

  • 「RESTful MVC」なアーキテクチャの話

    最近、増井君と私でアーキテクチャの話をすることが多いのだが、そんなディスカッションの中で気に入っているのは左の図のようなアーキテクチャ。 もちろん、核となるのはビジネスロジックを含んだModelの部分。そこをしっかりと実装し、内部構造を隠す粒度の荒いインターフェイスを定義し、外から何をされてもデータの整合性が壊れない様にすることは何よりも大切。 そして、そのModel層へのインターフェイスを特定の言語に依存したクラスやAPIではなく、HTTP上でJSON(XMLでもかまわない)をやりとりするだけの RESTfulなWeb Serviceにすることがミソ。こうすることによりにより、どんなに締め切りに負われようが、誰がControllerを実装しようが「ずるができない」ように作っておく(ずる=来使うべき外部インターフェイスだけでなく、Model内部に直接アクセスして依存関係を作ってしまう事)

    「RESTful MVC」なアーキテクチャの話
    kotak
    kotak 2009/10/20
    組込みでも、ViewとModelを分離したアーキテクチャが理解されるといいな
  • Core Values: The silicon behind Android

    Core Values is our new monthly column from Anand Shimpi, Editor-in-chief of AnandTech. With over a decade of experience poring over the latest in chip developments, he's here to explain how things work and why our tech is the way it is. Remember this chart? It's interesting for a number of reasons, but I want to highlight that all present day Android phones use virtually the same Qualcomm applicat

    Core Values: The silicon behind Android
    kotak
    kotak 2009/10/20
    android端末に使われているプロセッサ一覧