SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

La actualidad más candente (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 ...
 

Similar a Caliburn.Micro

China Science Challenge
China Science ChallengeChina Science Challenge
China Science Challenge
remko caprio
 
Android presentation
Android presentationAndroid presentation
Android presentation
Imam Raza
 
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
Igor Moochnick
 
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
 

Similar a 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
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

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