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 Review Content Management System Primary objective: Being able to feed/change content without requiring developers
7. Why NoBrainer? A Framework for frustrated people: As an Architect, you can’t feed MVC to your business stakeholders because it is a very costly process the decision is not in your hand As 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 Who… Do not like to learn new technology Learnt WebForms once and will never try to learn anything new again They just can’t think of living without their favorite drag & drop WebForms environment Anti-convention Anti-patterns Anti-testability There are tons of people around us. Including many in outsourcing companies
9. WebForms vs. MVC Control vs. Flexibility WebForms: Toolbox, and drag & drop Rich designer Familiar life cycle Event based programming MVC: freedom as long as you observe a convention Testability Natural to many agile practices MVC has not come to take over the world of WebForms Both will live. Live really long.
10. A Smart Business Stakeholder Wants… Predictability and reliability Hence, they want both control and convention What are they going to get from a frustrated pool of developers?
11. NoBrainer Features An MVC Framework that works with WebForms Built-in CMS capability Gradual upgrade Testability of WebForms logic Automatic View Model Controller mapping Automatic Error binding Strongly typed Intellisense while coding Built-in Caching mechanism Content Combining Can be extended to support different form factors of PC Serves real production customer-base over millions Easier to learn than ASP.NET MVC
21. NoBrainer Features (recap) An MVC Framework that works with WebForms Built-in CMS capability Gradual upgrade Testability of WebForms logic Automatic View Model Controller mapping Automatic Error binding Strongly typed Intellisense while coding Built-in Caching mechanism Content Combining Can be extended to support different form factors of PC Serves 5M production customers Easier to learn than ASP.NET MVC
22. Content Combining Outside scope of this presentation An aspx is split into multiple HTML editable files Each file can host combination of rich ASP.NET controls Including Update Panels, nested and any combination of them NoBrainer combines those files in sequence per request and serves as one Example 1: aspx files can be served extensionlessly or even via html/htm Example 2: html/htm is made capable of handling postbacks and server-side controls
23. Content Combining (a glimpse) Header.html Any ComplexNestedlevel control hierarchy SEO.ascx User requests No Brainer ViewPost.htm BlogContent.ascx ViewPost.htm Serves as a dynamic page StaticAd .aspx Footer .htm