NoBrainer is an MVC + CMS Framework, as its name suggests for low-fi developers and savvy business stakeholders. It provides developers the flexibility of MVC as well as the control of WebForm, resulting in a testable and content manageable WebForm infrastructure for you application. NoBrainer currently supports only Web at the launch, however it can easily be extended to work with Desktop as well as Mobile. That way your logic and test code remain the same across different UI layers.
Yesterday we had an electrifying event Open Source in .NET | Open Day in collaboration with Microsoft Bangladesh, that I have posted earlier about. In my second session I unveiled my shiny new Open Source project NoBrainer which is the topic of this presentation. More: http://nobrainer.codeplex.com
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
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