MVVM Basics with Caliburn.Micro Presented by Stefan Nuxoll, Lithium PC.

Slides:



Advertisements
Similar presentations
Module 1: Creating an Application by Using Windows Presentation Foundation Overview of WPF Creating a Simple WPF Application Handling Events and Commands.
Advertisements

1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.
Websydian products.
Building RADNUG8 – the windows 8 app Part 1 Matt
FIM MOBILE PRESENTATION
Expression Blend 4 – deep dive
Silverlight is dead! Long live MVVM!
Understanding the MVVM pattern
Software Testing with Visual Studio 2013 & Team Foundation Server 2013 Benjamin Day.
INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
USING THE MODEL-VIEW- VIEWMODEL PATTERN Laurent Bugnion Director, User Experience Integration IdentityMine
CROSS PLATFORM DEVELOPMENT WITH MVVM CROSS By Ken Tucker.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Real world Windows Phone development Igor
Building Silverlight Applications Using the MVVM pattern An Introduction by Peter Messenger Senior Developer – Qmastor
Adding Controls to User Forms. Adding Controls A user form isn’t much use without some controls We’re going to add controls and write code for them Note.
Hot Tuna CROSS PLATFORM DEVELOPMENT WITH.NET, XAMARIN AND MVVMCROSS.
@benday #vslive Better Unit Tests through Design Patterns: Repository, Adapter, Mocks, and more… Benjamin
Introduction to Silverlight. Slide 2 What is Silverlight? It’s part of a Microsoft Web platform called Rich Internet Applications (RIA) There is a service.
Introduction to Mobile Programming. Slide 2 Overview Fundamentally, it all works the same way You get the SDK for the device (Droid, Windows, Apple) You.
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
Building an Offline Smart Client using Domain-Driven Design Principles Tim McCarthy.
POSTSHARP TECHNOLOGIES Better software through simpler code.
Let’s Celebrate – Visual Basic 2008 Professor Corinne Hoisington.
Getting Started with Caliburn.Micro and Windows Phone 7 Gary Ewan Park Twitter: Blog:
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Windows Vista PhotoSynth Office 2007 Xbox 360 Craft PlatformTools UX.
Windows 8 for Existing.NET Developers Tim Heuer Program Manager Windows Developer Experience Microsoft Corporation.
JAVASCRIPT WITH A VIEW Jordan Knight Solution Architect Xamling SESSION CODE: WEB305 (c) 2011 Microsoft. All rights reserved.
Overview of the MVVM pattern for Silverlight and WPF.
Windows Phone 7 Mobile Code Camp The Why Why develop for Windows Phone 7 versus Droid or iPhone? It’s all relative to total app users. SDK and Environment.
04 |Sharing Code Between Windows 8 and Windows Phone 8 in Visual Studio Ben Riga
Identify Windows Application Types Windows Development Fundamentals LESSON 1.1.
Model View ViewModel Architecture. MVVM Architecture components.
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
Programming with MVVM Miguel A. Castro Architect -
Vladimir Milev New Venture Software Sharing Code between WPF and Universal Apps.
Benjamin Unit Testing & Test-Driven Development for Mere Mortals.
The cutting edge event for ITPros and Devs December 7-8, 2013 Athens, Greece Fix it once use it everywhere Elias Markelis MCT, Windows Phone Enthusiast.
Adam Schultz MVVM and WPF. MVVM Model, View, ViewModel A software architecture designed to separate out User Interface design, Business Logic, and Data.
Why Freelance Developers Are Switching To Econtracts
Xamarin Development with
Integrating Data Lesson 6.
Real world Windows Phone development
Introduction to Xamarin C# Everywhere
Building Windows 8 App.
DotNetSpider Editor Hefin Dsouza
Unit testing your metro style apps built using XAML
The Modern ASP.NET Tech Stack!
Build Windows 10 UWP MVVM Apps with Prism
Building Web Applications with Microsoft ASP
JavaScript is a language that is used on any website to add tags, improve the function of the website and allow users to interact. When the development.
It’s a Knockout! MVVM Style Web Development
Visual Studio 2010 and .NET Framework 4 Training Workshop
Unit Testing & Test-Driven Development for Mere Mortals
MonoGame and Windows 8.
Introduction to Silverlight
Mobile App Development Company With Great UI And UX.
Unit Testing & Test-Driven Development for Mere Mortals
Principles of report writing
WPF AKEEL AHMED.
Introduction to the MVVM Pattern
תכנות אסינכרוני, תקשורת ופיתוח אפליקציות ל-Windows 8
Present by Andie Saizan, MCP
Lecture Overview The 4 W’s of courseware Reasons for courseware
Unit Testing & Test-Driven Development for Mere Mortals
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
WCF Data Services and Silverlight
An Introduction to the Model-View-ViewModel Pattern
Presentation transcript:

MVVM Basics with Caliburn.Micro Presented by Stefan Nuxoll, Lithium PC

Overview What is MVVM (And why do I care?) Getting Started (What is Caliburn.Micro?) Slides are Pointless (Let’s write some code!) Hello, World is Boring (Let’s do something real) Review / Q&A

Assumptions This is an intermediate (200) level presentation Working knowledge of C# and.Net needed You do NOT need to know what IoC or Convention-over-configuration mean You do NOT need to know XAML Though it will help

What is MVVM? And why do you care?

MVVM Explained Model-View-ViewModel Data is pulled by UI, not pushed to it Complete separation between interface and code

MVVM Relationships ViewModel ViewModel

Benefits of MVVM Testable! UI/UX developers can focus on their job Cleaner, more maintainable code

Getting Started What is Caliburn.Micro?

Fully featured MVVM framework Utilizes IoC and convention-over-configuration Fully customizable and extremely flexible Under 3K LoC (lean and easy to modify) Supports WPF, Silverlight, Windows Phone and Windows RT Available at

Why use Caliburn.Micro? Don’t reinvent the wheel Conventions and Actions Built-in support for IoC (typically the MEF) Already has support for all major.net environments

Slides are Pointless Let’s write some code!

Before We Begin Sample code and presentation are available online We will be starting from scratch If you’ve got Visual Studio on your laptop, feel free to follow along

Creating the Project Create a new WPF application Install Caliburn.Micro from NuGet Configure bootstrapper

Demonstration

Wiring It Up Create our first View Create our first ViewModel Demonstrate Data Binding and Actions

Demonstration

Hello, World is Boring Let’s do something real

Let’s Talk to Netflix Anyone know what Odata is? Odata is a great idea with a so-so implementation Somebody saw SOAP and WSDL and said “What the fuck is this?” Think of it as SOAP-but-better (not exactly high praise).Net 3.5 and higher have native support, integrates with LINQ Netflix has an Odata endpoint, making our lives easier

Okay, Let’s *ACTUALLY* Talk to Netflix Done complaining about Odata Add service reference in visual studio Create a helper class to handle querying Netflix.Net’s Odata support works with LINQ (easy peasy!)

Demonstration

User Interface Search box Results list Let’s show cover art too

Demonstration

Holy Crap I understood all that (I think)

MVVM Review Cleaner, more readable code Modular, testable Separation of UI from code Means UI/UX developers don’t need to know jack about programming Pull, not push Stop creating a ton of controls in code-behind, let the UI handle all that

Q&A You don’t actually have questions, do you? Fine, I guess I’ll answer them.