Presentation is loading. Please wait.

Presentation is loading. Please wait.

Alvin Ashcraft Eclipsys Corporation / DZone.com

Similar presentations


Presentation on theme: "Alvin Ashcraft Eclipsys Corporation / DZone.com"— Presentation transcript:

1 Alvin Ashcraft Eclipsys Corporation / DZone.com

2  Introduction – Who Am I?  Model-View-Controller pattern & ASP.NET MVC  NHibernate, Fluent NHibernate & MVCcontrib  The S#arp Archtecture Project  Building a S#arp Architecture Application  Summary  Additional Resources

3  14 Years Development Experience  Software Engineer at Eclipsys Corporation – Malvern, PA  Contributing Editor at DZone’s.NET Zone –  MCSD, MCAD, MCDBA, MCSE, MCSA, CompTIA ITProject+ Certifications  Microsoft Most Valuable Professional (MVP) – Awarded April 2009  Alvin Ashcraft’s Morning Dew –

4  MODEL – Business logic plus one or more data sources such as a relational database.  VIEW – The user interface that displays information about the model to the user.  CONTROLLER – The flow- control mechanism means by which the user interacts with the application.

5  Released April 9, 2009  Alternative to ASP.NET WebForms  Built for testability  User-friendly (and SEO-friendly) URLs  Clear separation of concerns  Lacks rich control set available with WebForms  Demo – ASP.NET MVC 1.0 Project Structure

6  Object-Relational Mapping (ORM) Tool  Map data to your domain objects (.hbm.xml mapping files)  Manipulate persistent data  Handle transactions and concurrency

7  An alternative to NHibernate's standard XML mapping files.  Write mappings in strongly typed C# code.  Benfits:  Refactoring  Readability  Concise  Fluent mapping  Automapping  Fluent database configuration

8  Adds functionality on top of the MVC Framework  UI Helpers  Routing  Filters  View Engines  Lots More… 

9  Owner & Creator: Billy McCafferty  Project Members  Frank Laub  Simone Busoli  Kyle Baley  Rapidly build maintainable web applications.  Leverage ASP.NET MVC, NHibernate and Spring.NET.  Ignore infrastructure. Focus on domain and UX.

10  DDD-Focused  Loosely Coupled  Preconfigured Architecture  Open-Ended Presentation  jQuery  Yahoo UI Widgets  ASP.NET AJAX

11

12  Detailed Documentation in S#arp Architecture Reference Guide document.  Software Prerequisites  Visual Studio 2008 SP1  NUnit v2.4.8  T4Toolbox v  ASP.NET MVC 1.0  Install Visual Studio S#arp Architecture Project Template  Configuring IIS  Demo - Configuration

13  Music Store  Chinook Database 1.1 (www.codeplex.com/ChinookDatabase)www.codeplex.com/ChinookDatabase  Index will list data for entities  Artists  Albums  Tracks  Playlists  Customers  Invoices  Create/Edit records  Demo – Create the Project

14  Manual Mapping  XML Mapping  Fluent NHibernate  CRUD Scaffolding  Demo – Mapping Data

15  Filtering View Data  Using Custom View Data to Access Multiple Repositories (Entity Lists)  Support for Different View Engines  Add some jQuery flair  Submit via AJAX  Add Edit-in-Place  Add jQuery UI tabs  jQuery Grid Options  Demo – Feature Options

16  Fill out your evals  Book & shirt giveaway  After Shanachie in Ambler  All slides and sample code will be posted to Philly.NET site  Thank our sponsors!

17 Professional Cheat Sheets for Developers!

18  S#arp Architecture on Google Code:  S#arp Architecture Discussion Group:  S#arp Architecture Community Site:  S#arp Architecture Wiki:  Billy McCafferty’s Blog:  Virtual ALT.NET S#arp Architecture Presentation – 10pm:  DimeCasts.NET Episodes by Kyle Baley:  Episode #75: Introduction to S#arp Architecture  Episode #97: Another look at Sharp Architecture: Validation, Design Decisions and Automapping  Episode #102: Taking a look at how to modify the T4 templates used by Sharp Architecture  NHibernate Best Practices with ASP.NET:  Summer of NHibernate Screencast Series:  Rob Conery’s MVC Storefront Project: part-1/http://blog.wekeroad.com/mvc-storefront/mvc-storefront- part-1/  Stephen Walther’s ASP.NET MVC Application Building Series:  James Gregory’s Blog (Fluent NHibernate): fluent-nhibernate/http://blog.jagregory.com/2008/08/08/introducing- fluent-nhibernate/  Great ASP.NET MVC & NHibernate Bloggers: Phil Haack, Scott Guthrie, Scott Hanselman, Simone Chiaretta, Keyvan Nayyeri, Nick Berardi, Oren Eini, Derik Whittaker, Tim Barcz, Ben Scheirman, and more…

19 ASP.NET MVC with S#arp Architecture Alvin Ashcraft


Download ppt "Alvin Ashcraft Eclipsys Corporation / DZone.com"

Similar presentations


Ads by Google