用户操作
[即时聊天] [发私信] [加为好友]
James ZhouID:jameszhou
95046次访问,排名999(-1)好友3人,关注者37
PMP & MCAD
jameszhou的文章
原创 94 篇
翻译 0 篇
转载 0 篇
评论 72 篇
James Zhou的公告
Locations of visitors to this page

最近评论
holon:不错,支持一下。

------------------------------
www.arraylist.cn cn域名免费送
IT人的酒吧式交流平台
-----------------------------
chjttony:说多了,没什么意思啊,时间才能证明一切,等到看就有答案了
kenpusney:总感觉微软没前途...
控制帐户:很好。
找了半天什么是控制帐户,终于看到这里有说明。
不过英文看起来恼火。
aladdin:這沒有帶來什麼思想解放阿...

1. HttpContext.RewriteUrl,從2003年就開始用了。

2. M$沒事把這些並不是常常需要用到的把戲,弄得好像和藹可親,但卻常常忘記了: 1) Layering,2) Lightweight,再加上M$常常給出不正確的practice,以致於新的小朋友進公司,還得要花上很多時間把這些錯誤從他們的……
文章分类
收藏
    相册
    链接
    Old Blog - Runner on .NET
    存档
    订阅我的博客
    XML聚合  FeedSky

    原创 ASP.NET MVC - 一次思想解放收藏

    新一篇: ASP.NET MVC - 用户验证和权限验证 | 旧一篇: ASP.NET MVC Toolkit - how to use the Html Helper class

    如果你看过ScottGu的MVC系列blog,那么你一定对MVC有了一个初步的认识。这只是惊鸿一瞥!

    Rob Conery带来的才是真正的 ”思想解放“!(用词太夸张了吧?- 看过Rob的blog 就知道了)

    必读 - http://blog.wekeroad.com/2007/12/06/aspnet-mvc-using-restful-architecture/

    思想解放1 - REST是什么

    People like to equate REST and SOAP in the same sentence, as if it’s an option for web service architecture. The truth is, REST is an architectural principle in and of itself that is as old as the web and, In fact, the Web itself is the REST poster child. More accurately: REST is a state of mind.

    思想解放2.1 - 没有"Pages"只有"Remote Procedure Calls"

    you should throw the notion of “pages” away, since these “resources” should be consumable by whatever client is calling on them (so the information might be an XML or JSON stream). To summarize: stop thinking “pages”, start thinking “Remote Procedure Call”.

    思想解放2.2 - 没有"Form"

    The important thing to remember at all times is that  you are building an instruction set for the web - a collection of consumable “Methods” that are displayed via “Views”.

    思想解放3 - 没有"Site"

    it’s not a collection of pages. It’s an application and as such, the logic can be plugged into other MVC applications.

    If you move this to a new MVC Application, or combine it with another, you just reset some routes in your Global.asax and drop in your Views (these are static content pages) - and you’re all set!

    发表于 @ 2008年01月08日 23:56:00|评论(loading...)|编辑

    新一篇: ASP.NET MVC - 用户验证和权限验证 | 旧一篇: ASP.NET MVC Toolkit - how to use the Html Helper class

    评论

    #Juzz 发表于2008-01-09 19:00:18  IP: 125.77.216.*
    兄台看过MonoRail否?对MS MVC有何感想?
    #Ben Peng 发表于2008-02-08 14:50:56  IP: 219.237.188.*

    不错,先收下了. 前天正好听了个REST的讲座,一头雾水中...
    #aladdin 发表于2008-05-13 01:43:25  IP: 59.124.242.*
    這沒有帶來什麼思想解放阿...

    1. HttpContext.RewriteUrl,從2003年就開始用了。

    2. M$沒事把這些並不是常常需要用到的把戲,弄得好像和藹可親,但卻常常忘記了: 1) Layering,2) Lightweight,再加上M$常常給出不正確的practice,以致於新的小朋友進公司,還得要花上很多時間把這些錯誤從他們的記憶中「洗掉」。

    System.Web.Mvc,看起來又要增加我們不少「洗去記憶」的麻煩...
    发表评论  


    当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
    Csdn Blog version 3.1a
    Copyright © James Zhou