Fabian Vilers Hands on ASP.NET MVC.

Slides:



Advertisements
Similar presentations
Introduction to ASP.NET MVC
Advertisements

Apache Struts Technology
INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
Web Applications Development Using Coldbox Platform Eddie Johnston.
Languages for Dynamic Web Documents
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Software Architecture Patterns (2). what is architecture? (recap) o an overall blueprint/model describing the structures and properties of a "system"
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
Session-01. Layers Struts 2 Framework The struts 2 framework is used to develop MVC-based web application. Struts 1.0 was released in June The.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Tutorial -01. Objective In this session we will discuss about : 1.What is MVC? 2.Why MVC? 3.Advantages of MVC over ASP.NET 4.ASP.NET development models.
Struts 2.0 an Overview ( )
UNIT-V The MVC architecture and Struts Framework.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College Lecture 8: WebForms — Web-based.
ASP.NET MVC 3 and Some 4 JaxCodeCamp August 2011.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Ori Calvo, 2010 “If people want to have maximum reach across *all* devices then HTML will provide the broadest reach” Scott Guthrie,
MVC pattern and implementation in java
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
ExtWebDriver Open Source Project Daniel Koo Latha Nagaraj Bryan Robbins 04/23/2014.
XForms: A case study Rajiv Shivane & Pavitar Singh.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
ASP.NET and Model View Control Jesper Tørresø ITNET2 F08.
Todd Snyder Development Team Lead Infragistics Experience Design Group.
Building Web Sites with ASP.NET MVC Framework Noam King CTO Sela College
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Alcatel-Lucent CDC Workshop, Coaching & Knowledge Transfer Architecture.
Jonathan Canfield Mavin Lisa Giss Professor Kenytt D. Avery
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
MVC Design Pattern Web Developer at Crimshield, Inc Application Developer at IBM Present - Delta Developer at Tides.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Building Secure Web Applications With ASP.Net MVC.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Model View Controller Architecture of Java Web Applications Dr. M V S Peri Sastry, Ph.D.[BITS-Pilani]
Getting Started with ASP.NET MVC BRIJ BHUSHAN MISHRA.
Getting started with ASP.NET MVC Dhananjay
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
MVC WITH CODEIGNITER Presented By Bhanu Priya.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
ASP.NET MVC Telerik Academy
ASP.NET MVC An Introduction. What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components:
Virtual techdays INDIA │ 9-11 February 2011 SESSION TITLE Kamala Rajan S │ Technical Manager, Marlabs.
Jean-Claude Trachsel Senior Consultant, Trivadis AG The good news.
Model-View-Controller an introduction to MVC design pattern with Castle.MonoRail Presentation: v1.0 Prepared by: Chorn Sokun
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Apache Struts Technology A MVC Framework for Java Web Applications.
ASP.NET WEB Applications. ASP.NET  Web application framework developed by Microsoft  Build dynamic data driven web applications and web services  Subset.
The New Face of ASP.NET ASP.NET MVC, Razor, and jQuery Ido Flatow | Senior Architect | Sela | This session is.
Bob German Principal Architect Developing SharePoint Applications with MVC and Entity Framework.
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
INTRODUCTION TO MVC BY SUHA MNEIMNEH. WHAT’S THE AGENDA What is MVC? MVC components MVC vs web forms vs ASP.NET vocabulary When to create MVC application.
Enterprise Library 3.0 Memi Lavi Solution Architect Microsoft Consulting Services Guy Burstein Senior Consultant Advantech – Microsoft Division.
Presented by Alexey Vedishchev Developing Web-applications with Grails framework American University of Nigeria, 2016 Intro To MVC Architecture.
A Detailed Introduction To Visual Studio.NET CRB Tech ReviewsCRB Tech Reviews introduces you to the world of Visual.
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
Introduction to ASP.NET MVC [Name] [ Address] [Blog URL]
Introduction to MVC Slavomír Moroz. Revision from Previous Lesson o ASP.NET WebForms applications Abstract away HTTP (similar to desktop app development)
Introduction to .NET Florin Olariu
Social Media And Global Computing Introduction to The MVC Pattern
ASP.NET MVC Introduction
Haritha Dasari Josue Balandrano Coronel -
CS5220 Advanced Topics in Web Programming Course Overview
ASP.NET Web Forms Vs. ASP.NET MVC ASP.NET is Microsoft’s big leap after Active Server Pages (ASP), ASP.NET provides flexible and unified web development.
Introduction to ASP.NET MVC
ASP.NET Roadmap Mike Ormond Developer & Platform Group Microsoft Ltd
Lecture 1: Multi-tier Architecture Overview
The Model Layer What is Model?
ASP.NET MVC Imran Rashid CTO at ManiWeber Technologies.
CS5220 Advanced Topics in Web Programming Course Overview
Presentation transcript:

Fabian Vilers Hands on ASP.NET MVC

Dev One is your dedicated partner providing high quality experts on architecture, development, and testing roles on IT projects using Microsoft.NET technologies. Visit us on: We will help your enterprise to build a state of the art solution using the latest available technologies so you can rapidly deploy your applications and services. Our proven experience, and a deep understanding of your business, will help us to you reduce your IT development costs and let your employees concentrate on your core business. We are aimed at providing consultancy experts on architecture, development, and testing roles, especially using the.NET technologies and the Microsoft ecosystem. With more than 10 years of multiple IT development experiences, we have forged a set of skills through various project & missions in several activity sectors that enables us to deliver you high quality services. ABOUT DEV ONE ASP.NET MVC – Hands on 2

 Presentation  What is MVC?  MVC on the web today  ASP.NET MVC  Timeline  Comparison with ASP.NET web forms  What web forms does well  Where web forms doesn’t fit  ASP.NET MVC believes  Should you fear ASP.NET MVC?  The MVC pattern  Model  View  Controller  What’s new in ASP.NET MVC 3  Demos  Q & A ASP.NET MVC – Hands on 3 AGENDA

4 ASP.NET MVC – Hands on PRESENTATION

 The MVC pattern is 30+ years old!  It is a powerful and elegant means of separating concerns  It makes it easier to test application  It promotes parallel development thanks to the loose coupling between the three main components ASP.NET MVC – Hands on 5 WHAT IS MVC?

 Ruby on Rails  Django and Python  Spring, Struts and Java  Zend Framework and PHP  MonoRail  … ASP.NET MVC – Hands on 6 MVC ON THE WEB TODAY

 Separation of application tasks (input logic, business logic, and UI logic), testability, and test-driven development (TDD) by default  An extensible and pluggable framework  A powerful URL-mapping component that lets you build applications that have comprehensible and searchable URLs  Convention over configuration  Don’t repeat yourself, keep it simple (DRY/KISS principles) ASP.NET MVC – Hands on 7 ASP.NET MVC

ASP.NET MVC – Hands on 8 TIMELINE ScottGu sketched out the core of ASP.NET MVC (~100 lines of code) February 2007 Presenstation of Scalene at the Austin ALT.NET conference September 2007 First Community Technology Preview December 2007 ASP.NET MVC 1.0 March 2009 ASP.NET MVC source code was released under the MS-PL April 2009 ASP.NET MVC 2.0 Shipped with Visual Studio 2010 March 2010 ASP.NET MVC 3.0 Shipped with Visual Studio 2010 January 2011

9 ASP.NET MVC – Hands on COMPARISON WITH ASP.NET WEB FORMS

 Represent a Page as control tree  Give these server-side controls events like their desktop counterparts  Hide as much HTTP and HTML as is reasonable  Make state management as transparent as possible ASP.NET MVC – Hands on 10 WHAT WEB FORMS DOES WELL

 ViewState is powerful, but it has its drawbacks (weight,…)  Page life cycle can be a nightmare  Limited control over HTML  Client IDs and the ctl00$ContentPlaceHolder1$UserControl1$TextBox1 syndrome  It’s nearly impossible to run a Web Form through its life cycle outside IIS ASP.NET MVC – Hands on 11 WHERE WEB FORMS DOESN’T FIT

 Guiding tenets:  Be extensible, maintainable, and flexible  Be testable  Get out of the user’s way when necessary  Serving methods, not files  Separation of concerns  ScottHa said: « ASP.NET MVC is Web Forms unplugged » ASP.NET MVC – Hands on 12 ASP.NET MVC BELIEVES

 ASP.NET MVC is built on top of ASP.NET  ASP.NET MVC is not a replacement for anything  It is just an alternative  It’s a totally different approach SHOULD YOU FEAR ASP.NET MVC? ASP.NET MVC – Hands on 13

14 ASP.NET MVC – Hands on THE MVC PATTERN

 Model  objects are the parts of the application that implement the logic for the application’s data domain  View  components that display the application’s user interface  Controller  components that handle user interaction, work with the model, and ultimately select a view to render ASP.NET MVC – Hands on 15 THE MVC PATTERN

 Business logic and validation of the application’s data domain  Totally independant from the views or the controllers  Model state can be stored in memory, database, XML files,… ASP.NET MVC – Hands on 16 MODEL

 Application’s user interface using data from the model  No interaction with the models or the controllers  Views can be strongly typed  Almost no code ASP.NET MVC – Hands on 17 VIEW

 Handle user interaction  Query the model  Select the right view to render ASP.NET MVC – Hands on 18 CONTROLLER

19 ASP.NET MVC – Hands on WHAT’S NEW IN ASP.NET MVC 3

 Razor View Engine  Support for multiple view engine  Global action filters  « ViewBag » property  New « ActionResult » types  JavaScript and AJAX improvements  Client-side validation enabled by default  Remote validator  JSON binding support  Data annotations metadata attributes  Validation interfaces  Dependency injection improvements  Partial-Page Output Caching  Granular Control over Request Validation  … ASP.NET MVC – Hands on 20 WHAT’S NEW IN ASP.NET MVC 3

21 ASP.NET MVC – Hands on DEMOS

 Using the ASP.NET MVC 3 template and playing around with Razor  First data access and display a list of authors  Manage authors  Display a list of books  Create and edit a book using the ViewModel pattern  Source code available on: ASP.NET MVC – Hands on 22 BOOK STORE

23 ASP.NET MVC – Hands on Q & A

ASP.NET MVC – Hands on 24