04.11.2008

フレームワーク

さて、次は全然関係ないんだけど
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

Trackback from: Oscommerce Solutions [訪問者]
Thank you for the wonderful article.
2009/11/13 @ 15:07
Trackback from: Oscommerce Integration [訪問者]
wonderful article. Wants to read more.
2009/11/13 @ 16:07
Trackback from: 630 area code [訪問者]
A chain is no stronger than its weakest link.
2010/01/11 @ 13:17
Trackback from: Purchase Domian Names [訪問者]
howtobuyadomainname.org/best-domain-name-registrars
No answer is also an answer.
2010/04/05 @ 12:31
Trackback from: Learn To Sing Free [訪問者]
Learn To Sing Free
I really like and appreciate your blog article.Really looking forward to read more. Much obliged.
2010/04/24 @ 02:52
Cheap Web Hosting Reseller
Great article post.Really looking forward to read more. Keep writing.
2010/05/15 @ 18:07
Trackback from: Window Web Hosting [訪問者]
Window Web Hosting
I truly appreciate this article post.Thanks Again. Really Cool.
2010/05/17 @ 17:11
Trackback from: Web Hosting Ssh [訪問者]
Web Hosting Ssh
Very neat blog.Really thank you! Keep writing.
2010/05/17 @ 19:41
Cheap Cabins In Smoky Mountains
I appreciate you sharing this article post.Really looking forward to read more. Great.
2010/05/18 @ 14:49
Cheap Pigeon Forge Cabin Rentals
Major thanks for the article.Really thank you!
2010/05/19 @ 00:23
Trackback from: Womens Wetsuits [訪問者]
Womens Wetsuits
A round of applause for your blog post. Much obliged.
2010/05/20 @ 22:32
Nikon Prostaff Laser 440
I appreciate you sharing this blog article.Really looking forward to read more. Keep writing.
2010/05/27 @ 01:31
How To Become A Famous Singer
Great thanks for sharing this article.Really thank you! Will read on...
2010/05/27 @ 17:48
Trackback from: How To Sing Higher [訪問者]
How To Sing Higher
I think this is a real great article post.Really looking forward to read more. Much obliged.
2010/05/27 @ 22:57
Watch Argentina Vs Nigeria Online
Wow great blog post.Really looking forward to read more. Really Cool.
2010/06/07 @ 18:06
Left Handed Electric Guitar
wow awesome article post.Thanks Again. Cool.
2010/06/18 @ 17:19
Germany Vs Serbia Live Streaming
wow awesome blog article.Really thank you! Really Cool.
2010/06/18 @ 17:36
Watch Slovenia Vs Usa Online
I really liked your article post.Much thanks again. Keep writing.
2010/06/18 @ 20:45
Interesting Report On Natural High Blood Pressure Remedies
...and was just recalling that this article made a lot of sense...
2010/06/19 @ 03:18
Back Pain Relief Systems
...was besides the point. You should read instead this...
2010/06/27 @ 06:36
Famous Restaurant Recipes
Thanks again for the post.Thanks Again. Cool.
2010/06/27 @ 19:23
Trackback from: iron condor [訪問者]
www.ironcondoroptiontradingstrategy.com
God couldnt be everywhere so he created mothers
2010/06/28 @ 16:15
Trackback from: How To Play Violin [訪問者]
How To Play Violin
Thanks for the blog.Really looking forward to read more. Keep writing.
2010/07/01 @ 22:16
www.undergroundaffiliatesystem.com
http://www.undergroundaffiliatesystem.com
2010/07/03 @ 19:41
Trackback from: Tigi Hair Products [訪問者]
Tigi Hair Products
A big thank you for your post.Really looking forward to read more. Keep writing.
2010/07/04 @ 20:05
Trackback from: Wella Hair Products [訪問者]
Wella Hair Products
Thanks for sharing this is a fantastic post.Really thank you! Really Cool.
2010/07/04 @ 21:08
Germany Vs Spain Free Streaming
I really enjoy the blog post.Much thanks again. Fantastic.
2010/07/05 @ 14:49
2010 World Cup Third Place Match
Thanks so much for the blog post.Really thank you! Want more.
2010/07/10 @ 20:48
Trackback from: Relationship Quiz [訪問者]
Relationship Quiz
Im grateful for the article.Thanks Again. Keep writing.
2010/07/10 @ 22:51
Trackback from: How To Play Violin [訪問者]
How To Play Violin
Fantastic article post. Will read on...
2010/07/13 @ 01:56
hazmatcard.com/enroll-in-an-environmental-first-responder-awareness-level-course-today-–-get-hazmat-card/
Pleasure reading your content, as always!
2010/07/13 @ 11:04
Internet Safety Tips For Kids
Wow great blog post.Much thanks again. Great.
2010/07/14 @ 13:03
Trackback from: How To Play Violin [訪問者]
How To Play Violin
I am so grateful for your blog post.Thanks Again. Keep writing.
2010/07/16 @ 02:14
Trackback from: Best Wrinkle Products [訪問者]
Best Wrinkle Products
A round of applause for your blog article.Thanks Again. Keep writing.
2010/07/16 @ 15:27
Trackback from: How To Play Violin [訪問者]
How To Play Violin
Muchos Gracias for your post.Really thank you! Cool.
2010/07/23 @ 02:08
Trackback from: How To Play Violin [訪問者]
How To Play Violin
Looking forward to reading more. Great blog post.Really thank you! Great.
2010/07/29 @ 02:34
Trackback from: Nasal Irrigation [訪問者]
Nasal Irrigation
Say you got a nice blog post.Much thanks again. Cool.
2010/07/29 @ 07:53
Trackback from: Sciatica Symptoms [訪問者]
Sciatica Symptoms
Thanks-a-mundo for the blog post. Really Great.
2010/07/31 @ 16:02
Wedding Photographer Gainesville
Great blog post. Really Great.
2010/08/02 @ 07:50
Get Free Guide To Fafsa And Calculator
Very informative blog. Really Great.
2010/08/02 @ 10:31
Trackback from: Itp Blood Disorder [訪問者]
Itp Blood Disorder
Really informative blog.Thanks Again. Awesome.
2010/08/05 @ 10:00
Trackback from: Nasal Irrigation Tips [訪問者]
Nasal Irrigation Tips
This is one awesome blog post. Keep writing.
2010/08/07 @ 21:59
Trackback from: Sciatica Symptoms [訪問者]
Sciatica Symptoms
Great blog post. Really Cool.
2010/08/10 @ 23:19
Everyday is a school day, must say I learned a lot from that post, thanks
2010/08/12 @ 17:05
Trackback from: Sciatica Relief [訪問者]
Sciatica Relief
I really like and appreciate your blog.Much thanks again. Much obliged.
2010/08/27 @ 02:18
French Language Software
Awesome blog post.Much thanks again. Cool.
2010/08/27 @ 11:42
Great post, when did you first get interested in this?
2010/08/27 @ 18:43
Trackback from: Nail Fungus Cure [訪問者]
Nail Fungus Cure
good stuff... thanks and keep it up!
2010/08/28 @ 11:22
Shokz Starcraft 2 Guide Review
Major thanks for the post.Really thank you! Really Cool.
2010/08/28 @ 13:38
Shokz Starcraft 2 Guide Review
Thanks for the article post.Thanks Again. Much obliged.
2010/08/28 @ 18:18
What will you be talking about next?
2010/08/29 @ 03:44
Watch The A Team Online
Fantastic article post.Really thank you! Fantastic.
2010/09/05 @ 14:07
Trackback from: Traffic Voodoo 2 Bonus [訪問者]
Traffic Voodoo 2 Bonus
Great Article. What is next?
2010/09/05 @ 18:59
Watch Charlie St Cloud Movie
Major thanks for the blog.Really thank you! Fantastic.
2010/09/05 @ 21:53
Jeff Johnsons Traffic Voodoo 2.0 Unstoppable Traffic
very good stuff... thanks a lot and keep it up!
2010/09/06 @ 00:04
Trackback from: Jack Power Juicer [訪問者]
Jack Power Juicer
Very interesting I learned some thing today... many thanks
2010/09/06 @ 09:53
Trackback from: Lip Plump [訪問者]
Lip Plump
Highly interesting I learned some thing today... appreciate it
2010/09/06 @ 20:19

コメントを残す


Your email address will not be revealed on this site.

頂いたURLは表示されます。
PoorExcellent
(改行が自動で <br /> になります)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)