際際滷

際際滷Share a Scribd company logo
TanzimSaqibSoftware Architect Consultanthttp://TanzimSaqib.comFacebook: SaqibRocks | @TanzimSaqibMicrosoft MVP 2010, 2011
My Open Source ProjectsCreator:No Brainer (An MVC + CMS Framework: cross platform)Cassini 4.0 (Tiny web server: Windows Forms)MyStream (Social Streaming: ASP.NET)News Framework (Windows Phone 7)Contributor:Dropthings
An MVC + CMS Frameworkhttp://nobrainer.codeplex.com/
Caution:This session assumes knowledge of MVC.
MVC Review
CMS ReviewContent Management SystemPrimary objective:Being able to feed/change content without requiring developers
Why NoBrainer?A Framework for frustrated people:As an Architect, you cant feed MVC to your business stakeholdersbecause it is a very costly processthe decision is not in your handAs a business stakeholder, you have a developer pool who are:reluctant to changes afraid of the learning curve of ASP.NET MVC
A Frustrated Pool of Developers WhoDo not like to learn new technologyLearnt WebForms once and will never try to learn anything new againThey just cant think of living without their favorite drag & drop WebForms environment Anti-conventionAnti-patternsAnti-testabilityThere are tons of people around us.Including many in outsourcing companies
WebForms vs. MVCControl vs. FlexibilityWebForms: Toolbox, and drag & dropRich designerFamiliar life cycleEvent based programmingMVC: freedom as long as you observe a conventionTestabilityNatural to many agile practicesMVC has not come to take over the world of WebFormsBoth will live. Live really long.
A Smart Business Stakeholder WantsPredictability and reliabilityHence, they want both control and conventionWhat are they going to get from a frustrated pool of developers?
NoBrainer FeaturesAn MVC Framework that works with WebFormsBuilt-in CMS capabilityGradual upgradeTestability of WebForms logicAutomatic View  Model  Controller mappingAutomatic Error bindingStrongly typedIntellisense while codingBuilt-in Caching mechanismContent CombiningCan be extended to support different form factors of PCServes real production customer-base over millionsEasier to learn than ASP.NET MVC
Quick demoOverview of NoBrainer
Easy Setup
ModelpublicclassAccountModel : ModelBase{publicstringUserName { get; set; }publicstring Password { get; set; }publicstring Email { get; set; }publicboolPersistentCookieEnabled { get; set; }}
View
View (contd.)
View Codebehind
Controller
Content-driven
DemoBrowse featuresTest codeWebtestUnit test
NoBrainer Features (recap)An MVC Framework that works with WebFormsBuilt-in CMS capabilityGradual upgradeTestability of WebForms logicAutomatic View  Model  Controller mappingAutomatic Error bindingStrongly typedIntellisense while codingBuilt-in Caching mechanismContent CombiningCan be extended to support different form factors of PCServes 5M production customersEasier to learn than ASP.NET MVC
Content CombiningOutside scope of this presentationAn aspx is split into multiple HTML editable filesEach file can host combination of rich ASP.NET controlsIncluding Update Panels, nested and any combination of themNoBrainer combines those files in sequence per request and serves as oneExample 1: aspx files can be served extensionlessly or even via html/htmExample 2: html/htm is made capable of handling postbacks and server-side controls
Content Combining (a glimpse)Header.htmlAny ComplexNestedlevel controlhierarchySEO.ascxUser requestsNo BrainerViewPost.htmBlogContent.ascxViewPost.htmServes as a dynamic pageStaticAd.aspxFooter.htm
Questions?Contact:http://TanzimSaqibFacebook: SaqibRocks@TanzimSaqibhttp://nobrainer.codeplex.com

More Related Content

No brainer

  • 1. TanzimSaqibSoftware Architect Consultanthttp://TanzimSaqib.comFacebook: SaqibRocks | @TanzimSaqibMicrosoft MVP 2010, 2011
  • 2. My Open Source ProjectsCreator:No Brainer (An MVC + CMS Framework: cross platform)Cassini 4.0 (Tiny web server: Windows Forms)MyStream (Social Streaming: ASP.NET)News Framework (Windows Phone 7)Contributor:Dropthings
  • 3. An MVC + CMS Frameworkhttp://nobrainer.codeplex.com/
  • 4. Caution:This session assumes knowledge of MVC.
  • 6. CMS ReviewContent Management SystemPrimary objective:Being able to feed/change content without requiring developers
  • 7. Why NoBrainer?A Framework for frustrated people:As an Architect, you cant feed MVC to your business stakeholdersbecause it is a very costly processthe decision is not in your handAs a business stakeholder, you have a developer pool who are:reluctant to changes afraid of the learning curve of ASP.NET MVC
  • 8. A Frustrated Pool of Developers WhoDo not like to learn new technologyLearnt WebForms once and will never try to learn anything new againThey just cant think of living without their favorite drag & drop WebForms environment Anti-conventionAnti-patternsAnti-testabilityThere are tons of people around us.Including many in outsourcing companies
  • 9. WebForms vs. MVCControl vs. FlexibilityWebForms: Toolbox, and drag & dropRich designerFamiliar life cycleEvent based programmingMVC: freedom as long as you observe a conventionTestabilityNatural to many agile practicesMVC has not come to take over the world of WebFormsBoth will live. Live really long.
  • 10. A Smart Business Stakeholder WantsPredictability and reliabilityHence, they want both control and conventionWhat are they going to get from a frustrated pool of developers?
  • 11. NoBrainer FeaturesAn MVC Framework that works with WebFormsBuilt-in CMS capabilityGradual upgradeTestability of WebForms logicAutomatic View Model Controller mappingAutomatic Error bindingStrongly typedIntellisense while codingBuilt-in Caching mechanismContent CombiningCan be extended to support different form factors of PCServes real production customer-base over millionsEasier to learn than ASP.NET MVC
  • 14. ModelpublicclassAccountModel : ModelBase{publicstringUserName { get; set; }publicstring Password { get; set; }publicstring Email { get; set; }publicboolPersistentCookieEnabled { get; set; }}
  • 15. View
  • 21. NoBrainer Features (recap)An MVC Framework that works with WebFormsBuilt-in CMS capabilityGradual upgradeTestability of WebForms logicAutomatic View Model Controller mappingAutomatic Error bindingStrongly typedIntellisense while codingBuilt-in Caching mechanismContent CombiningCan be extended to support different form factors of PCServes 5M production customersEasier to learn than ASP.NET MVC
  • 22. Content CombiningOutside scope of this presentationAn aspx is split into multiple HTML editable filesEach file can host combination of rich ASP.NET controlsIncluding Update Panels, nested and any combination of themNoBrainer combines those files in sequence per request and serves as oneExample 1: aspx files can be served extensionlessly or even via html/htmExample 2: html/htm is made capable of handling postbacks and server-side controls
  • 23. Content Combining (a glimpse)Header.htmlAny ComplexNestedlevel controlhierarchySEO.ascxUser requestsNo BrainerViewPost.htmBlogContent.ascxViewPost.htmServes as a dynamic pageStaticAd.aspxFooter.htm