Professional ASP.NET MVC 1.0 (Paperback)
暫譯: 專業 ASP.NET MVC 1.0 (平裝本)

Rob Conery, Scott Hanselman, Phil Haack, Scott Guthrie

  • 出版商: Wrox Press
  • 售價: $1,920
  • 貴賓價: 9.5$1,824
  • 語言: 英文
  • 頁數: 456
  • 裝訂: Paperback
  • ISBN: 0470384611
  • ISBN-13: 9780470384619
  • 相關分類: .NETASP.NET
  • 已過版

買這商品的人也買了...

相關主題

商品描述

This book begins with you working along as Scott Guthrie builds a complete ASP.NET MVC reference application. He begins NerdDinner by using the File->New Project menu command within Visual Studio to create a new ASP.NET MVC Application. You'll then incrementally add functionality and features. Along the way you’ll cover how to create a database, build a model layer with business rule validations, implement listing/details data browsing, provide CRUD (Create, Update, Delete) data form entry support, implement efficient data paging, reuse UI using master pages and partials, secure the application using authentication and authorization, use AJAX to deliver dynamic updates and interactive map support, and implement automated unit testing.

From there, the bulk of the rest of the book begins with the basic concepts around the model view controller pattern, including the little history and the state of the MVC on the web today. We'll then go into the ways that MVC is different from ASP.NET Web Forms. We'll explore the structure of a standard MVC application and see what you get out of the box. Next we dig deep into routing and see the role URLs play in your application. We'll deep dive into controllers and views and see what role the Ajax plays in your applications. The last third of the book focuses entirely on advanced techniques and extending the framework.

In some places, we assume that you're somewhat familiar with ASP.NET WebForms, at least peripherally. There are a lot of ASP.NET WebForms developers out there who are interested in ASP.NET MVC so there are a number of places in this book where we contrast the two technologies. Even if you're not already an ASP.NET developer, you might still find these sections interesting for context, as well as for your own edification as ASP.NET MVC may not be the web technology that you're looking for.

It’s worth noting, that ASP.NET MVC is not a replacement for ASP.NET Web Forms (aka just "ASP.NET"). Many web developers have been giving a lot of attention to other web frameworks out there (Ruby on Rails, Django) which have embraced the MVC (Model-View-Controller) application pattern, and if you’re one of those developers, or even if you’re just curious, this book is for you.

MVC allows for (buzzword alert!) a "greater separation of concerns" between components in your application. The book goes into the ramifications of this, but if it had to be said it in a quick sentence: ASP.NET MVC is ASP.NET Unplugged. ASP.NET MVC is a tinkerer’s framework that gives you very fine-grained control over your HTML and Javascript, as well as complete control over the programmatic flow of your application.

商品描述(中文翻譯)

本書開始時,您將跟隨 Scott Guthrie 一起構建一個完整的 ASP.NET MVC 參考應用程式。他首先使用 Visual Studio 中的 File->New Project 菜單命令來創建一個新的 ASP.NET MVC 應用程式,名為 NerdDinner。接著,您將逐步添加功能和特性。在這個過程中,您將學習如何創建數據庫、構建具有業務規則驗證的模型層、實現列表/詳細數據瀏覽、提供 CRUD(創建、更新、刪除)數據表單輸入支持、實現高效的數據分頁、使用母版頁面和部分頁面重用 UI、通過身份驗證和授權來保護應用程式、使用 AJAX 提供動態更新和互動地圖支持,以及實現自動化單元測試。

接下來,本書的主要內容將圍繞模型-視圖-控制器(MVC)模式的基本概念展開,包括一些歷史背景以及當前網路上 MVC 的狀態。我們將探討 MVC 與 ASP.NET Web Forms 的不同之處,深入了解標準 MVC 應用程式的結構,並查看您可以即時獲得的功能。接下來,我們將深入研究路由,了解 URL 在您的應用程式中所扮演的角色。我們將深入探討控制器和視圖,並了解 AJAX 在您的應用程式中的作用。本書的最後三分之一將專注於高級技術和擴展框架。

在某些地方,我們假設您對 ASP.NET WebForms 有一定的了解,至少是邊緣性的。許多 ASP.NET WebForms 開發人員對 ASP.NET MVC 感興趣,因此本書中有許多地方將這兩種技術進行對比。即使您尚未成為 ASP.NET 開發人員,您仍然可能會發現這些部分對於背景了解以及自我提升是有趣的,因為 ASP.NET MVC 可能不是您所尋找的網路技術。

值得注意的是,ASP.NET MVC 並不是 ASP.NET Web Forms(即僅稱為 'ASP.NET')的替代品。許多網頁開發人員對其他網頁框架(如 Ruby on Rails、Django)給予了很多關注,這些框架都採用了 MVC(模型-視圖-控制器)應用程式模式。如果您是這些開發人員之一,或者即使您只是出於好奇,本書都適合您。

MVC 允許在應用程式的組件之間實現(流行詞警報!)「更大的關注分離」。本書將深入探討這一點的影響,但如果要用一句話來概括:ASP.NET MVC 是 ASP.NET 的無線版本。 ASP.NET MVC 是一個讓您對 HTML 和 JavaScript 進行非常細緻控制的框架,並且對應用程式的程式流程擁有完全的控制權。