フレームワーク
さて、次は全然関係ないんだけど
Zend Frameworkについてです。
以前書いたようにMVCフレームワークが流行ですね。
Ruby on Railsに始まり、Symfony, Ethnaなどなど。
確かに開発がかなり楽になります。
というのもドキュメンテーションがすでにあるということと
フレームワークが定まっているということで
チームでの共有がしやすいと思います。
急遽開発メンバーが新規で参加したとしても
こうしたフレームワークを使っていれば
割とすんなり入り込める気がします。
会社独自のサービスなんかは、それで一つのオブジェクトとして
クラスにブチこめばいいわけで
あくまでも基礎的なクラスはフレームワークに準じていればいいわけです。
以前symfonyを使ったのですが、あれはかなり楽です。
余計なことをしなくていいのが楽です。
とはいっても、設定項目が多すぎるのがやや難点ですが・・・。
そしてやや重いというウワサも・・・。
そしてこないだZend Frameworkを動かしてみました。
基本はSymfonyと似ています。
フロントコントローラーからアクションを動かすあたりや
ディレクトリ構成も似ています。
ただし、コマンドでDBのスキーマを読み込んで、
DB関係のクラスをばーっと作るとかいうのはできません。
また、アプリケーション>アクション関係のディレクトリやファイルも自分で
作らなきゃいけません。
このヘンはちょっと面倒ですが
デメリットというほどでもないと思います。
あえてこの両者を比較すると
Symfonyのほうは開発期間を短縮できるような気がします。
また、細かすぎる設定項目も、マスターすればやはり楽だと思います。
ただ、propelから生成されるDBマップクラスでは
テーブル結合まわりが非常に弱いので
アプリとしてはシンプルなものにしか対応できない気がします。
というか、複雑なものになると、結局自分でクエリーを書かなきゃいけないので
Symfonyにした意味があまりないような・・・。
ZFのほうは「作り込む」タイプのように思います。
基本的には自分で書くソースの量がZFのほうが増えそうです。
しかし、symfonyに比べて軽いというハナシでもありますが
そのへんはどうかなぁ?
次はRailsを動かしてみたい!
というか、MVCフレームワークが必要なほど大きなサービス・アプリケーションを作る機会なんて
あまりないんだけどね・・・。
好きなんです。こういうの。
今の会社のサービスもこれで作りたいなぁ。と強く思います。
が、実は今日リニューアルしたばっか。。。
がーん。
ページ: 1 · 2
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
57 trackbacks
No answer is also an answer.
I really like and appreciate your blog article.Really looking forward to read more. Much obliged.
Great article post.Really looking forward to read more. Keep writing.
I truly appreciate this article post.Thanks Again. Really Cool.
Very neat blog.Really thank you! Keep writing.
I appreciate you sharing this article post.Really looking forward to read more. Great.
Major thanks for the article.Really thank you!
A round of applause for your blog post. Much obliged.
I appreciate you sharing this blog article.Really looking forward to read more. Keep writing.
Great thanks for sharing this article.Really thank you! Will read on...
I think this is a real great article post.Really looking forward to read more. Much obliged.
Wow great blog post.Really looking forward to read more. Really Cool.
wow awesome article post.Thanks Again. Cool.
wow awesome blog article.Really thank you! Really Cool.
I really liked your article post.Much thanks again. Keep writing.
...and was just recalling that this article made a lot of sense...
...was besides the point. You should read instead this...
Thanks again for the post.Thanks Again. Cool.
God couldnt be everywhere so he created mothers
Thanks for the blog.Really looking forward to read more. Keep writing.
http://www.undergroundaffiliatesystem.com
A big thank you for your post.Really looking forward to read more. Keep writing.
Thanks for sharing this is a fantastic post.Really thank you! Really Cool.
I really enjoy the blog post.Much thanks again. Fantastic.
Thanks so much for the blog post.Really thank you! Want more.
Im grateful for the article.Thanks Again. Keep writing.
Fantastic article post. Will read on...
Pleasure reading your content, as always!
Wow great blog post.Much thanks again. Great.
I am so grateful for your blog post.Thanks Again. Keep writing.
A round of applause for your blog article.Thanks Again. Keep writing.
Muchos Gracias for your post.Really thank you! Cool.
Looking forward to reading more. Great blog post.Really thank you! Great.
Say you got a nice blog post.Much thanks again. Cool.
Thanks-a-mundo for the blog post. Really Great.
Great blog post. Really Great.
Very informative blog. Really Great.
Really informative blog.Thanks Again. Awesome.
This is one awesome blog post. Keep writing.
Great blog post. Really Cool.
I really like and appreciate your blog.Much thanks again. Much obliged.
Awesome blog post.Much thanks again. Cool.
good stuff... thanks and keep it up!
Major thanks for the post.Really thank you! Really Cool.
Thanks for the article post.Thanks Again. Much obliged.
Fantastic article post.Really thank you! Fantastic.
Great Article. What is next?
Major thanks for the blog.Really thank you! Fantastic.
very good stuff... thanks a lot and keep it up!
Very interesting I learned some thing today... many thanks
Highly interesting I learned some thing today... appreciate it