Presenter: Stephen J Bodnar
Level: Beginner
When: Wednesday, October 26, 1:00 - 4:00, Gilbert
There are some great VFP solutions for building websites for those of us who can host our own websites or work with hosting companies that will support these tools. Many of us, though, need to work with a hosting company that doesn't support these VFP Tools.
Microsoft's ASP.NET MVC provides a great solution for developing data-driven websites, though this solution is completely independent of VFP. The latest release, MVC 3, is a mature, extensible product that can be used to develop complex, robust and attractive websites.
MVC stands for Model View Controller, a design pattern that clearly separates concerns such that the Model is responsible for handling data, the View is responsible for the User Interface and the Controller is responsible for the application logic. The pattern feels very natural to a VFP developer, which makes the learning curve that much easier when trying to adopt new web-based technologies.
Microsoft's ASP.NET MVC implements the MVC pattern in the .NET framework giving us complete control over HTML Markup, supporting AJAX and jQuery, using SEO-friendly URLs and embracing Test Driven Development (TDD).
This session will provide a complete overview of the MVC pattern from the perspective of a VFP Developer. We will develop a fully functioning website during the course of this session. The examples will be written in C#, but we'll take the time to explain exactly what the code is doing so that developers without C# experience won't be left behind.
At the end of this session, you should be well prepared to build your own ASP.NET MVC applications.
You will learn:
- What the MVC pattern is all about.
- The difference between ASP.NET MVC and ASP.NET Webforms.
- Where to get all the tools you need to build MVC applications for free, and the limitations of the free tools.
- What a View Engine is.
- How to use Linq2SQL or Entity Framework to create a basic model.
- How to create Controllers and use them in our website.
- How to create Views.
- How Strongly Typed views can help us create CRUD pages efficiently.
- Where to find a great wealth of additional resources for learning, developing and extending ASP.NET MVC applications.
Prerequisites: There are no prerequisites for this session. It is designed for developers with no ASP.NET or C# experience.