SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Caliburn.Microan open source micro-framework for WPF, Silverlight and Windows Phone  7 Presented by Bryan HunterPartner , Software Engineer Firefly Logic , Inc. Twitterhash tagsTweeps#devlink 	#geeksocial	@bryan_hunter  (your presenter)#caliburn	#FTW		@EisenbergEffect (the creator of Caliburn)
Brief History of Caliburn.Micro I use it. I’m a fan Based on the mature Caliburn project Created by Rob Eisenberg Grew from Rob’s MIX10 talk “Build Your Own MVVM Framework” Around 2,000 lines of code Made public July 2010 Now the mainline
Caliburn.Micro Elevator Speech A better version of what nearly every WPF veteran has attempted to home-grow Reduces the drudgery of property binding and commands  Simplifies building a deeply composed UI Helps unify the programming models of WPF,  Silverlight and Windows Phone 7  Simplifies asynchronous programming Built in Tombstone & Resurrection for WP7 Small enough to grok and to “own”
Important Terms MVVM (Model-View-ViewModel) Convention over Configuration Event Aggregator (pub-sub) Coroutines Bootstrapper
The GameLibrary Demo  Run the demo fool
The GameLibrary Demo  Wow that was fun! Rob’s “Game Library” sample from “Build you won MVVM Framework” talk was the inspiration for Caliburn.Micro. After Caliburn.Micro  was made public Marco Amendola ported the Game Library sample to Caliburn.Micro.
The lifecycle App starts up
The lifecycle App starts up News up Bootstrapper<ShellViewModel> public class ShellViewModel {    public void Back() {…}    public IScreenActiveScreen    { get; set; }    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView <ContentControl x:Name=“ActiveScreen”/> public class ShellViewModel {    public void Back() {…}    public IScreenActiveScreen    { get; set; }    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView <ContentControl x:Name=“ActiveScreen”/> ViewModelBinder.Bind() public class ShellViewModel {    public void Back() {…}    public IScreenActiveScreen    { get; set; }    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> <ContentControl x:Name=“ActiveScreen”/> ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind()
The lifecycle App starts up News up Bootstrapper<ShellViewModel> <ContentControl x:Name=“ActiveScreen”/> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind() public class SearchViewModel {    public string SearchText    { get; set; }    public void AddGame {…}    public void Search {…}    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() public class SearchViewModel {    public string SearchText    { get; set; }    public void AddGame {…}    public void Search {…}    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() ViewModelBinder.Bind() public class SearchViewModel {    public string SearchText    { get; set; }    public void AddGame {…}    public void Search {…}    … }
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() ViewModelBinder.Bind()
The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind() ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() and so on, and so on, and so on…
The Code for the Demo  Bootstrapper Convention over Config View Location and composition ViewModelBinder (Property Binding & Action Binding) Conductors and Screen Coroutines
Wrapping up Hope this was enough to get you rolling Caliburn.Micro is on Codeplex http://caliburnmicro.codeplex.com These slides and the code will be at http://codeswamp.com Please fill out the your session evals
Big Thanks Rob Eisenberg has stuck with it for three years and has built a great framework Marco Amendola  ported the GameLibrary to Caliburn.Micro http://marcoamendola.wordpress.com
My Contact Info Bryan HunterPartner, Software EngineerFirefly Logic, Inc.1000 Main Street, Suite 201Nashville, TN 37206 Twitter: @bryan_hunter Blog: codeswamp.com Email: bryan.hunter@fireflylogic.com

Weitere ähnliche Inhalte

Was ist angesagt?

Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021Matt Raible
 
A realtime infrastructure for Android apps: Firebase may be what you need..an...
A realtime infrastructure for Android apps: Firebase may be what you need..an...A realtime infrastructure for Android apps: Firebase may be what you need..an...
A realtime infrastructure for Android apps: Firebase may be what you need..an...Alessandro Martellucci
 
Secrets mvc-diagram
Secrets mvc-diagramSecrets mvc-diagram
Secrets mvc-diagramsecrets app
 
Secrets app presentation
Secrets app presentationSecrets app presentation
Secrets app presentationsecrets app
 
Get Hip with JHipster - GIDS 2019
Get Hip with JHipster - GIDS 2019Get Hip with JHipster - GIDS 2019
Get Hip with JHipster - GIDS 2019Matt Raible
 
What's New in JHipsterLand - Devoxx Poland 2017
What's New in JHipsterLand - Devoxx Poland 2017What's New in JHipsterLand - Devoxx Poland 2017
What's New in JHipsterLand - Devoxx Poland 2017Matt Raible
 
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020Matt Raible
 
Front End Development for Back End Developers - Devoxx UK 2017
 Front End Development for Back End Developers - Devoxx UK 2017 Front End Development for Back End Developers - Devoxx UK 2017
Front End Development for Back End Developers - Devoxx UK 2017Matt Raible
 
Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019
Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019
Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019Matt Raible
 
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Spring IO '15 - Developing microservices, Spring Boot or Grails?Spring IO '15 - Developing microservices, Spring Boot or Grails?
Spring IO '15 - Developing microservices, Spring Boot or Grails?Fátima Casaú Pérez
 
Building Event Driven API Services Using Webhooks
Building Event Driven API Services Using WebhooksBuilding Event Driven API Services Using Webhooks
Building Event Driven API Services Using WebhooksCloud Elements
 
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020Matt Raible
 
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...Matt Raible
 
Front End Development for Back End Developers - UberConf 2017
Front End Development for Back End Developers - UberConf 2017Front End Development for Back End Developers - UberConf 2017
Front End Development for Back End Developers - UberConf 2017Matt Raible
 
Seven Simple Reasons to Use AppFuse
Seven Simple Reasons to Use AppFuseSeven Simple Reasons to Use AppFuse
Seven Simple Reasons to Use AppFuseMatt Raible
 
If Hemingway Wrote JavaDocs
If Hemingway Wrote JavaDocsIf Hemingway Wrote JavaDocs
If Hemingway Wrote JavaDocsVMware Tanzu
 
How to Win at UI Development in the World of Microservices - THAT Conference ...
How to Win at UI Development in the World of Microservices - THAT Conference ...How to Win at UI Development in the World of Microservices - THAT Conference ...
How to Win at UI Development in the World of Microservices - THAT Conference ...Matt Raible
 

Was ist angesagt? (20)

Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
 
A realtime infrastructure for Android apps: Firebase may be what you need..an...
A realtime infrastructure for Android apps: Firebase may be what you need..an...A realtime infrastructure for Android apps: Firebase may be what you need..an...
A realtime infrastructure for Android apps: Firebase may be what you need..an...
 
Continuous Deploy
Continuous DeployContinuous Deploy
Continuous Deploy
 
Secrets mvc-diagram
Secrets mvc-diagramSecrets mvc-diagram
Secrets mvc-diagram
 
Secrets app presentation
Secrets app presentationSecrets app presentation
Secrets app presentation
 
Get Hip with JHipster - GIDS 2019
Get Hip with JHipster - GIDS 2019Get Hip with JHipster - GIDS 2019
Get Hip with JHipster - GIDS 2019
 
What's New in JHipsterLand - Devoxx Poland 2017
What's New in JHipsterLand - Devoxx Poland 2017What's New in JHipsterLand - Devoxx Poland 2017
What's New in JHipsterLand - Devoxx Poland 2017
 
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
 
Orchestrating Microservices
Orchestrating MicroservicesOrchestrating Microservices
Orchestrating Microservices
 
Front End Development for Back End Developers - Devoxx UK 2017
 Front End Development for Back End Developers - Devoxx UK 2017 Front End Development for Back End Developers - Devoxx UK 2017
Front End Development for Back End Developers - Devoxx UK 2017
 
Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019
Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019
Microservices for the Masses with Spring Boot, JHipster and OAuth - GIDS 2019
 
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Spring IO '15 - Developing microservices, Spring Boot or Grails?Spring IO '15 - Developing microservices, Spring Boot or Grails?
Spring IO '15 - Developing microservices, Spring Boot or Grails?
 
Building Event Driven API Services Using Webhooks
Building Event Driven API Services Using WebhooksBuilding Event Driven API Services Using Webhooks
Building Event Driven API Services Using Webhooks
 
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020
Java REST API Comparison: Micronaut, Quarkus, and Spring Boot - jconf.dev 2020
 
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...
Mobile Development with Ionic, React Native, and JHipster - ACGNJ Java Users ...
 
Front End Development for Back End Developers - UberConf 2017
Front End Development for Back End Developers - UberConf 2017Front End Development for Back End Developers - UberConf 2017
Front End Development for Back End Developers - UberConf 2017
 
Seven Simple Reasons to Use AppFuse
Seven Simple Reasons to Use AppFuseSeven Simple Reasons to Use AppFuse
Seven Simple Reasons to Use AppFuse
 
From Monolith to K8s - Spring One 2020
From Monolith to K8s - Spring One 2020From Monolith to K8s - Spring One 2020
From Monolith to K8s - Spring One 2020
 
If Hemingway Wrote JavaDocs
If Hemingway Wrote JavaDocsIf Hemingway Wrote JavaDocs
If Hemingway Wrote JavaDocs
 
How to Win at UI Development in the World of Microservices - THAT Conference ...
How to Win at UI Development in the World of Microservices - THAT Conference ...How to Win at UI Development in the World of Microservices - THAT Conference ...
How to Win at UI Development in the World of Microservices - THAT Conference ...
 

Ähnlich wie Caliburn.Micro

Creating Swing DSL with_Kotlin
Creating Swing DSL with_KotlinCreating Swing DSL with_Kotlin
Creating Swing DSL with_KotlinNebojša Vukšić
 
Java REST API Framework Comparison - UberConf 2021
Java REST API Framework Comparison - UberConf 2021Java REST API Framework Comparison - UberConf 2021
Java REST API Framework Comparison - UberConf 2021Matt Raible
 
China Science Challenge
China Science ChallengeChina Science Challenge
China Science Challengeremko caprio
 
SgCodeJam24 Workshop
SgCodeJam24 WorkshopSgCodeJam24 Workshop
SgCodeJam24 Workshopremko caprio
 
Spring training
Spring trainingSpring training
Spring trainingTechFerry
 
Griffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java TechnologyGriffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java TechnologyJames Williams
 
Java REST API Framework Comparison - PWX 2021
Java REST API Framework Comparison - PWX 2021Java REST API Framework Comparison - PWX 2021
Java REST API Framework Comparison - PWX 2021Matt Raible
 
JavaOne 2009 BOF-5189 Griffon In Depth
JavaOne 2009 BOF-5189 Griffon In DepthJavaOne 2009 BOF-5189 Griffon In Depth
JavaOne 2009 BOF-5189 Griffon In DepthDanno Ferrin
 
Android presentation
Android presentationAndroid presentation
Android presentationImam Raza
 
Play Support in Cloud Foundry
Play Support in Cloud FoundryPlay Support in Cloud Foundry
Play Support in Cloud Foundryrajdeep
 
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7Igor Moochnick
 
Plone FSR
Plone FSRPlone FSR
Plone FSRfulv
 
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...DataLeader.io
 
Android architecture
Android architecture Android architecture
Android architecture Trong-An Bui
 

Ähnlich wie Caliburn.Micro (20)

Caliburn micro
Caliburn microCaliburn micro
Caliburn micro
 
Creating Swing DSL with_Kotlin
Creating Swing DSL with_KotlinCreating Swing DSL with_Kotlin
Creating Swing DSL with_Kotlin
 
Griffon Presentation
Griffon PresentationGriffon Presentation
Griffon Presentation
 
Java REST API Framework Comparison - UberConf 2021
Java REST API Framework Comparison - UberConf 2021Java REST API Framework Comparison - UberConf 2021
Java REST API Framework Comparison - UberConf 2021
 
Javascript talk1
Javascript talk1Javascript talk1
Javascript talk1
 
China Science Challenge
China Science ChallengeChina Science Challenge
China Science Challenge
 
SgCodeJam24 Workshop
SgCodeJam24 WorkshopSgCodeJam24 Workshop
SgCodeJam24 Workshop
 
Spring training
Spring trainingSpring training
Spring training
 
Griffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java TechnologyGriffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java Technology
 
Micronaut Launchpad
Micronaut LaunchpadMicronaut Launchpad
Micronaut Launchpad
 
Java REST API Framework Comparison - PWX 2021
Java REST API Framework Comparison - PWX 2021Java REST API Framework Comparison - PWX 2021
Java REST API Framework Comparison - PWX 2021
 
JavaOne 2009 BOF-5189 Griffon In Depth
JavaOne 2009 BOF-5189 Griffon In DepthJavaOne 2009 BOF-5189 Griffon In Depth
JavaOne 2009 BOF-5189 Griffon In Depth
 
Android presentation
Android presentationAndroid presentation
Android presentation
 
EmbbededGF@JavaOneHyd
EmbbededGF@JavaOneHydEmbbededGF@JavaOneHyd
EmbbededGF@JavaOneHyd
 
Play Support in Cloud Foundry
Play Support in Cloud FoundryPlay Support in Cloud Foundry
Play Support in Cloud Foundry
 
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
Caliburn.micro jump start composite applications for WPF, Silverlight and WP7
 
Plone FSR
Plone FSRPlone FSR
Plone FSR
 
Understanding meteor
Understanding meteorUnderstanding meteor
Understanding meteor
 
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
 
Android architecture
Android architecture Android architecture
Android architecture
 

Kürzlich hochgeladen

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 

Kürzlich hochgeladen (20)

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 

Caliburn.Micro

  • 1. Caliburn.Microan open source micro-framework for WPF, Silverlight and Windows Phone 7 Presented by Bryan HunterPartner , Software Engineer Firefly Logic , Inc. Twitterhash tagsTweeps#devlink #geeksocial @bryan_hunter (your presenter)#caliburn #FTW @EisenbergEffect (the creator of Caliburn)
  • 2. Brief History of Caliburn.Micro I use it. I’m a fan Based on the mature Caliburn project Created by Rob Eisenberg Grew from Rob’s MIX10 talk “Build Your Own MVVM Framework” Around 2,000 lines of code Made public July 2010 Now the mainline
  • 3. Caliburn.Micro Elevator Speech A better version of what nearly every WPF veteran has attempted to home-grow Reduces the drudgery of property binding and commands Simplifies building a deeply composed UI Helps unify the programming models of WPF, Silverlight and Windows Phone 7 Simplifies asynchronous programming Built in Tombstone & Resurrection for WP7 Small enough to grok and to “own”
  • 4. Important Terms MVVM (Model-View-ViewModel) Convention over Configuration Event Aggregator (pub-sub) Coroutines Bootstrapper
  • 5. The GameLibrary Demo Run the demo fool
  • 6. The GameLibrary Demo Wow that was fun! Rob’s “Game Library” sample from “Build you won MVVM Framework” talk was the inspiration for Caliburn.Micro. After Caliburn.Micro was made public Marco Amendola ported the Game Library sample to Caliburn.Micro.
  • 7. The lifecycle App starts up
  • 8. The lifecycle App starts up News up Bootstrapper<ShellViewModel> public class ShellViewModel { public void Back() {…} public IScreenActiveScreen { get; set; } … }
  • 9. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView <ContentControl x:Name=“ActiveScreen”/> public class ShellViewModel { public void Back() {…} public IScreenActiveScreen { get; set; } … }
  • 10. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView <ContentControl x:Name=“ActiveScreen”/> ViewModelBinder.Bind() public class ShellViewModel { public void Back() {…} public IScreenActiveScreen { get; set; } … }
  • 11. The lifecycle App starts up News up Bootstrapper<ShellViewModel> <ContentControl x:Name=“ActiveScreen”/> ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind()
  • 12. The lifecycle App starts up News up Bootstrapper<ShellViewModel> <ContentControl x:Name=“ActiveScreen”/> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind() public class SearchViewModel { public string SearchText { get; set; } public void AddGame {…} public void Search {…} … }
  • 13. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() public class SearchViewModel { public string SearchText { get; set; } public void AddGame {…} public void Search {…} … }
  • 14. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() ViewModelBinder.Bind() public class SearchViewModel { public string SearchText { get; set; } public void AddGame {…} public void Search {…} … }
  • 15. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds ShellView ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() ViewModelBinder.Bind()
  • 16. The lifecycle App starts up News up Bootstrapper<ShellViewModel> ViewLocator.LocateForModel finds ShellView ViewModelBinder.Bind() ActiveScreen set to SearchViewModel ViewLocator.LocateForModel finds SearchView ViewModelBinder.Bind() and so on, and so on, and so on…
  • 17. The Code for the Demo Bootstrapper Convention over Config View Location and composition ViewModelBinder (Property Binding & Action Binding) Conductors and Screen Coroutines
  • 18. Wrapping up Hope this was enough to get you rolling Caliburn.Micro is on Codeplex http://caliburnmicro.codeplex.com These slides and the code will be at http://codeswamp.com Please fill out the your session evals
  • 19. Big Thanks Rob Eisenberg has stuck with it for three years and has built a great framework Marco Amendola ported the GameLibrary to Caliburn.Micro http://marcoamendola.wordpress.com
  • 20. My Contact Info Bryan HunterPartner, Software EngineerFirefly Logic, Inc.1000 Main Street, Suite 201Nashville, TN 37206 Twitter: @bryan_hunter Blog: codeswamp.com Email: bryan.hunter@fireflylogic.com