ASP.NET, MVC, ASP.NET MVC

  • Published on
    14-Dec-2014

  • View
    1.765

  • Download
    17

Embed Size (px)

DESCRIPTION

: http://getdev.net/Event/asp-net-mvc-4 ASP.NET MVC, , , . , ASP.NET MVC

Transcript

<ul><li> 1. ASP.NET, MVC,ASP.NET MVC, , </li></ul> <p> 2. 1991 HTML Hyper TextMarkup Language - ( , , ), -, - , ( ) ( ) 2002 ASP.NET Web Forms ( .NET ) 3. Web Forms? ASP.NET , HTML (, Visual Basic) JavaScript ( LiveScript, JScript, ECMAScript), DOM, , GET POST( Web Forms ) 4. ? AJAX JavaScript (jQuery, Yahoo) unit- 5. , ... HTML- - 6. MVC ASP.NET 7. IHttpHandler , 8. MVC Model-view-controller (MVC, --, --) , , , , . (Model). ( View), ( ), . (View). (). (Controller). , , .- - 9. ASP.NET MVC 2007 , , 2007 , ASP.NET MVC CTP 2007 2009 MVC 4 2012 . 10. ASP.NET MVC 11. Separation of Concerns , 12. Configuration over Convention ( , ), , () MVC, IController(, ), Controllers Controller (, ) 13. ASP.NET MVC ASP.NET ... Web Forms MVC , , HTTP , Web Forms ASP.NET MVC 14. Controllers ,, , (, )Actions Action , :- (model)- (View) 15. Model . . Plain Old Class Object, POCO. . Best Practices :- Action- , (public class HumanViewModel)- , , Entity Framework ( ) , ( -... ) 16. Views () ASPX/ASCX , (Page) . , . HTML View Engine, Microsoft ViewEngine Razor ASP.NET MVC 17. C View Pure HTML HTML.* helpers AJAX.* helpers URL.* helpers vs vs vs @... vs @{ } 18. Rich User Interface JavaScript jQuery , Microsoft AJAX- Action AJAX.* helpers ( 3 jQuery, Microsoft) plain HTML, JSON, JavaScript 19. Unobtrusive JavaScript HTML , JavaScript HTML-5 style AJAX.* , 3 HTML ajax- 20. (, ) MVC 3 jquery.validation HTML-5 AJAX 21. URL mapping , Action- User-friendly URL 22. User Request IIS handles request Routing Module MVCRouteHandlerhttp://getdev.netView Engine lookController Factory ControllerAction for view Execute View to getSend responsemarkup back to user agent 23. ? Model Binders , , Single Responsibility , , Default Model Binder ValueProvider: , .NET, Reflection 24. Areas Area , View () Area , 25. Action Filters (action filter) , . IActionFilter - IAuthorizationFilter - IExceptionFilter - , IResultFilter - 26. Dependency Injection , ASP.NET MVC , , :- - View Engine- Model Binder ASP.NET MVC4 27. Pro ASP.NET MVC 3 Framework by Steven Sanderson &amp; Adam Freeman Professional ASP.NET MVC 4 by Phil Haack and many, many others http://www.asp.net/mvc ASP.NET MVC 28. http://www.mvcconf.com/ - -, ASP.NET MVC ASP.NET MVC For Web Forms developers by Dino Esposito 29. ? ! kaa-tula@ya.ruakuleshov.tula http://GetDev.NET </p>