De presentatie wordt gedownload. Even geduld aub

De presentatie wordt gedownload. Even geduld aub

MVC in de praktijk Jeroen Swart.NET architect, Quintor

Verwante presentaties


Presentatie over: "MVC in de praktijk Jeroen Swart.NET architect, Quintor"— Transcript van de presentatie:

1 www.devNetNoord.nl MVC in de praktijk Jeroen Swart.NET architect, Quintor jswart@quintor.nl http://blog.codeblack.nl @codeblacknl

2 www.devNetNoord.nl Agenda Introductie MVC Patterns, tips & trucs – Simplified example anti-pattern – Seperation of concerns principle – Single responsibility principle – Loose coupling pattern – Inversion of control principle – Dependency Injection pattern – Models – DRY principle – REST – Javascript & jQuery

3 www.devNetNoord.nl Vragen

4 www.devNetNoord.nl ASP.NET MVC

5 www.devNetNoord.nl ASP.NET MVC Framework voor web development Browser Presentation Layer UI Process Components UI Components Business Layer Business Workflow Application Facade Business Workflow Business Workflow Data Layer Data Access Components Service Agents Data Sources Services Security Operational Management Communication

6 www.devNetNoord.nl ASP.NET MVC Framework voor web development Browser Presentation Layer UI Process Components UI Components Business Layer Business Workflow Application Facade Business Workflow Business Workflow Data Layer Data Access Components Service Agents Data Sources Security Operational Management Communication Services

7 www.devNetNoord.nl ASP.NET MVC Onderdeel van ASP.NET ASP.NET Web Forms ASP.NET MVC ASP.NET Web Forms View Engine Razor View Engine ASP.NET Web Pages

8 www.devNetNoord.nl ASP.NET MVC Model-View-Controller pattern Model ControllerView HTTP request HTTP response ASP.NET MVC ASP.NET Business Layer

9 www.devNetNoord.nl ASP.NET MVC Nadruk op HTML, CSS & javascript Browser Presentation Layer UI Process Components UI Components HTMLCSSJavascript Client Server

10 www.devNetNoord.nl ASP.NET MVC In samenwerking met: – Razor – jQuery – NuGet – MSDeploy

11 www.devNetNoord.nl ASP.NET MVC In samenwerking met: – Razor – jQuery – NuGet – MSDeploy

12 www.devNetNoord.nl ASP.NET MVC In samenwerking met: – Razor – jQuery – NuGet – MSDeploy

13 www.devNetNoord.nl ASP.NET MVC In samenwerking met: – Razor – jQuery – NuGet – MSDeploy

14 www.devNetNoord.nl ASP.NET MVC In samenwerking met: – Razor – jQuery – NuGet – MSDeploy

15 www.devNetNoord.nl Patterns, tips & trucs

16 www.devNetNoord.nl Patterns, tips & trucs Simplified example anti-pattern

17 www.devNetNoord.nl Patterns, tips & trucs Seperation of concerns principle Single responsibility principle – Solution – Project

18 www.devNetNoord.nl Seperation of concerns principle Single responsibility principle Patterns, tips & trucs Model View Controller pattern – Model – View – Controller Fat controller anti-pattern DEMO

19 www.devNetNoord.nl Patterns, tips & trucs Loose coupling pattern DEMO

20 www.devNetNoord.nl Patterns, tips & trucs Loose coupling pattern Inversion of control principle Dependency Injection pattern

21 www.devNetNoord.nl Patterns, tips & trucs Models – Dynamic model – Domain model – View model DEMO

22 www.devNetNoord.nl Patterns, tips & trucs DRY principle – Partial views & actions – ActionResult – Validaties Required StringLength RegularExpression Remote DEMO

23 www.devNetNoord.nl Patterns, tips & trucs REST – Resources HTML XML JSON CSV, Excel … ? – HTTP Methods GET, POST< PUIT, DELETE) Status codes Content type DEMO

24 www.devNetNoord.nl Patterns, tips & trucs Javascript & jQuery – Unobtrusive – Graceful degredation of progressive enhancement – Script services

25 www.devNetNoord.nl Vragen Jeroen Swart.NET architect, Quintor jswart@quintor.nl http://blog.codeblack.nl @codeblacknl


Download ppt "MVC in de praktijk Jeroen Swart.NET architect, Quintor"

Verwante presentaties


Ads door Google