Secrets of an Umbraco Ninja Presented by : Aaron powell.com.

Slides:



Advertisements
Similar presentations
Apache Struts Technology
Advertisements

Yii – How Power Comes Introduction, OOP & Design Patterns Presented at: Nextbridge Multan Center Aug 25, 2011.
{ Model View Controller ASP.NET By Scott Crooks & Maggie Wettergreen.
Design for Testability: Mocks, Stubs, Refactoring, and User Interfaces Benjamin Day benday.com |
The course builder architecture & project planning presented by: Bahareh Agha Jafari.
Pattern Abstract Factory
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
CRM WEB UI – ARCHITECTURE- DEFINITIONS For More details please go to
Storm-The-Castle an introduction to MVC, AR design pattern using Castle MonoRail and ActiveRecord rev 2 Date: 2009/10/04.
Secrets of an Umbraco Ninja Simplifying development with Umbraco.
Ori Calvo, 2010 “If people want to have maximum reach across *all* devices then HTML will provide the broadest reach” Scott Guthrie,
Design for Testability: Mocks, Stubs, Refactoring, and User Interfaces Benjamin Day.
Presenter - Donn Felker.  Senior Consultant for Microsoft Gold Certified Partner- Statêra.  8 years of experience in developing and architecting enterprise.
ExtWebDriver Open Source Project Daniel Koo Latha Nagaraj Bryan Robbins 04/23/2014.
Sofia, Bulgaria | 9-10 October Large-Scale Client Script Development in ASP.NET "Atlas“ Tools, Tips, And Techniques Hristo Deshev telerik Hristo Deshev.
MVC and MVP. References enter.html enter.html
Todd Snyder Development Team Lead Infragistics Experience Design Group.
Building Web Sites with ASP.NET MVC Framework Noam King CTO Sela College
CSSE 374: Introduction to Gang of Four Design Patterns
Copyright © 2005 Finetix LLC All Rights Reserved 0 SpringFramework.Net Developer Session Chris Donnan The Peer Frameworks Series -.Net and Java.
DaveAndAl.net Do Application Design Patterns Make Sense in ASP.NET? Alex Homer You may like to write these down now...
Tech Talk Go4 Factory Patterns Presented By: Matt Wilson.
CHEF II / Sakai Architecture. CHEF II Changes uPortal replaces Jetspeed –jsr 168 portlet, servlet compliant Spring replaces Turbine component framework.
GoF Design Patterns (Ch. 26). GoF Design Patterns Adapter Factory Singleton Strategy Composite Façade Observer (Publish-Subscribe)
@DNNCon Don’t forget to include #DNNCon in your tweets! Effective Unit Testing for DNN James McKee Solutions Developer / Enterprise
The Roadmap to Software Factories Tools, Patterns and Frameworks.
The Factory Patterns SE-2811 Dr. Mark L. Hornick 1.
Refactoring for Testability (or how I learned to stop worrying and love failing tests) Presented by Aaron Evans.
Using Mock Objects with Test Driven Development Justin Kohlhepp
Alternative Architectures: Inversion of Control Mike Hadlow mikehadlow.blogspot.com.
Refactoring & Testability. Testing in OOP programming No life in flexible methodologies and for refactoring- infected developers without SOME kind of.
Sadegh Aliakbary. Copyright ©2014 JAVACUP.IRJAVACUP.IR All rights reserved. Redistribution of JAVACUP contents is not prohibited if JAVACUP.
EMBEDDED REAL-TIME, INC. December 8, 2015 Java Unit Mark Mosher Rochester Java Users Group.
Using Test Driven Development Jon Kruger Blog: Twitter: JonKruger.
ASP.Net MVC Extensibility, scalability and testability Andrew Locatelli Woodcock.
Build Robust Web Apps in the Real WakeUpAndCode.com.
1 Chapter 5:Design Patterns. 2 What are design pattern?  Schematic description of design solution to recurring problems in software design and,  Reusable.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
Presentation Title Subtitle DSpace UI Prototype 7 Spring, Angular.js, and the DSpace REST API.
ASP.NET MVC An Introduction. What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components:
Virtual techdays INDIA │ 9-11 February 2011 SESSION TITLE Kamala Rajan S │ Technical Manager, Marlabs.
#SPSSAN June 30, 2012 San Diego Convention Center WRITING TESTABLE CODE In SharePoint.
Testing WebForms w/ Model-View-Presenter Erik Peterson.
Abstract Factory Pattern Jiaxin Wang CSPP Winter 2010.
Model-View-Controller an introduction to MVC design pattern with Castle.MonoRail Presentation: v1.0 Prepared by: Chorn Sokun
Understanding Dependency Injection… and those pesky containers Miguel A. Castro Architect -
Automated Testing for Dynamics CRM
Benjamin Unit Testing & Test-Driven Development for Mere Mortals.
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
Introduction to ASP.NET MVC [Name] [ Address] [Blog URL]
Build Robust Web Apps in the Real WakeUpAndCode.com * aka ASP.NET 5 before RC1.
Introduction to MVC Slavomír Moroz. Revision from Previous Lesson o ASP.NET WebForms applications Abstract away HTTP (similar to desktop app development)
Ukázková aplikace je ke stažení na wug
Stable and reliable Web Automation
Build Windows 10 UWP MVVM Apps with Prism
Plan for today Refactoring and Design Patterns
Building Web Applications with Microsoft ASP
Managed Extensibility Framework
Unit Testing & Test-Driven Development for Mere Mortals
ASP.NET Web Forms Vs. ASP.NET MVC ASP.NET is Microsoft’s big leap after Active Server Pages (ASP), ASP.NET provides flexible and unified web development.
GoF Design Patterns (Ch. 26). GoF Design Patterns Adapter Factory Singleton Strategy Composite Façade Observer (Publish-Subscribe)
Unit Testing & Test-Driven Development for Mere Mortals
Unit Testing & Test-Driven Development for Mere Mortals
GoF Design Patterns (Ch. 26)
Work out (if you can, simplify your answer) 8 6.
Designing For Testability
Dependency Inversion principle
FRAMEWORKS AND REUSE What is “Framework”?
Dependency Injection Mechanism
An Introduction to the Model-View-ViewModel Pattern
Presentation transcript:

Secrets of an Umbraco Ninja Presented by : Aaron powell.com

Not Test Driven Development Separation of logic from UI Ability to create reusable components Reduced errors by repeatable tests in controlled environments Better API design

UmbracoUI

CodeBuildDeployTest

Umbraco Logic UI Tests

CodeTestBuildDeployTest

Stub is an instance which wont break your test –Stubs can be implementations of a class created purely for testing purposes Mocks –Less common in current unit testing –Type instances where nothing is defined –Can be very brittle

Do you need a mocking framework? –Short answer is no –Can create your own stub types –Gives you greater control Why to use one? –Easy expectation setup –Using stubs on less accessible types Set-less properties

WebForms MVP to abstract away ASP.NET WebForms features Dependency Injection to simplify the creation of factory types Factory Pattern for data access

Heavy reliance of HttpContext –Hard to Mock –Requires a web context Lots of static –Hard to mock Changing data –What are we working against?

Thank you for coming