Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
- Ebooks
- Hardware
- Other
- MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF. If you’re using Silverlight and WPF, then employing the MVVM pattern can make a powerful difference to your projects, reducing code and bugs in one. This book is an invaluable resource for serious developers
E-book details
Log in, If you're interested in the contents of the item.
MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF. If you’re using Silverlight and WPF, then employing the MVVM pattern can make a powerful difference to your projects, reducing code and bugs in one. This book is an invaluable resource for serious developers
Muhammad Shujaat Siddiqi, Ryan Vice
Ebook
MVVM (Model View View Model) is a Microsoft best practices pattern for working in WPF and Silverlight that is highly recommended by both Microsoft and industry experts alike. This book will look at the reasons for the pattern still being slow to become an industry standard, addressing the pain points of MVVM. It will help Silverlight and WPF programmers get up and running quickly with this useful pattern.MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF will help you to choose the best MVVM approach for your project while giving you the tools, techniques, and confidence that you will need to succeed. Implementing MVVM can be a challenge, and this book will walk you through the main issues you will come across when using the pattern in real world enterprise applications.This book will help you to improve your WPF and Silverlight application design, allowing you to tackle the many challenges in creating presentation architectures for enterprise applications. You will be given examples that show the strengths and weaknesses of each of the major patterns. The book then dives into a full 3 tier enterprise implementation of MVVM and takes you through the various options available and trade-offs for each approach. During your journey you will see how to satisfy all the demands of modern WPF and Silverlight enterprise applications including scalability, testability, extensibility, and blendability.Complete your transition from ASP.NET and WinForms to Silverlight and WPF by embracing the new tools of these platforms, and the new design style that they allow for. MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF will get you up to speed and ready to take advantage of this powerful new presentation platform.
- MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF
- Table of Contents
- MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF
- Credits
- Foreword
- About the Authors
- About the Reviewer
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Instant Updates on New Packt Books
- Support files, eBooks, discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Presentation Patterns
- The Project Billing sample application
- Types of state
- History of presentational patterns
- Monolithic design
- The problems with monolithic design
- Code maintenance
- Code structure
- Code testability
- The problems with monolithic design
- Data service stub
- Monolithic design
- Monolithic Project Billing sample
- ProjectsView
- Initialization
- Event handlers
- Helpers
- Running the sample
- Takeaways
- Poor testability
- Poor extensibility and code reuse
- Takeaways
- Rapid application development
- RAD Project Billing sample
- Takeaways
- MVC
- View
- Controller
- Model
- Layered design
- The layers
- Presentation layer
- Business layer
- Data layer
- The layers
- MVC with layered design
- MVC Project Billing sample
- Model
- Controller
- View
- Initialization
- Event handlers
- Helpers
- MainWindow
- How it works
- Takeaways
- Memory leaks
- MVP
- MVP Project Billing sample
- Model
- View
- Event handlers
- Public methods
- Helpers
- Presenter
- Event handlers
- Helpers
- Main window
- How it works
- Takeaways
- ProjectsView
- Summary
- The Project Billing sample application
- 2. Introduction to MVVM
- History
- Structure
- Pure MVVM
- View
- View Model
- WPF and Silverlight enablers
- Dependency Properties
- Dependency property inheritance
- Data context
- Attached behavior pattern
- Dependency property inheritance
- Rich data binding
- INotifyCollectionChanged and ObservableCollection<>
- Automatic dispatching
- Triggers
- Styles
- Control Templates
- Data templates
- Commands
- Dependency Properties
- MVVM project billing sample
- MVVM design
- View Models
- ProjectsViewModel
- ProjectViewModel
- Model
- View Models
- Code
- ProjectsModel
- ProjectViewModel
- ProjectsViewModel
- WPF UI
- ProjectsView
- MainWindow
- Silverlight UI
- Porting assemblies to Silverlight
- ProjectsView
- MainPage
- MVVM design
- Benefits of MVVM
- MVVM and humble views
- Issues and pain points of MVVM
- MVVM Light
- Summary
- 3. Northwind Foundations
- Northwind requirements
- Presentation tier foundation
- Locator pattern
- Data access tier
- Listing the customers
- Unit testing getting customers
- Using an isolation framework
- Unit testing getting customers
- Adding tabs
- Viewing customer details
- Viewing details for one customer
- Testing CustomerDetailsViewModel
- Viewing details for one customer
- Wiring up the customer list box
- Testing ShowCustomerDetails()
- Summary
- 4. NorthwindServices and Persistence Ignorance
- Adding a Service Layer
- Integrating the Service Layer
- Persistence ignorance and custom models
- Trade-offs of generated models
- Adding persistence ignorance
- Adding unit tests
- Summary
- 5. NorthwindCommands and User Inputs
- Pure MVVM
- Making it easier with frameworks
- Updating customer details
- Testing and updating customer details
- Gestures, events, and commands
- InputBindings
- KeyBinding
- MouseBinding
- Using code behind
- Event to command
- Attached Behavior
- Using MVVM Light
- InputBindings
- Summary
- 6. NorthwindHierarchical View Model and IoC
- Adding orders to customer details
- Service layer
- Application layer
- Presentation layer
- View Models
- Views
- Take aways
- Viewing order details
- ToolManager
- Inversion of Control frameworks
- IoC designs
- Service Locator anti-pattern
- IoC best practices
- Adding an IoC container to Northwind
- IoC designs
- Order details
- Summary
- Adding orders to customer details
- 7. Dialogs and MVVM
- Should we make a compromise?
- Dialog service
- Using DataTemplates with DialogService
- Convention over configuration
- Mediators
- Attached behaviors
- Summary
- 8. Workflow-based MVVM Applications
- WF for business rules execution
- Handling delays in rules execution
- Using WorkflowInvoker in background thread
- Using WorkflowApplication
- Handling delays in rules execution
- WF for controlling application flow
- Summary
- WF for business rules execution
- 9. Validation
- Validations and dependency properties
- Error templates
- Validation in MVVM-based applications
- Validation rules
- Using validation rules
- Specializing validation rulessupporting parameters
- Validation rules and converters
- Validation mechanism in WPF and Silverlight
- IDataErrorInfo
- Validation states
- Providing a summary validation error
- Invalidating multiple fields
- Limitations and gotchas
- Validation states
- INotifyDataErrorInfo
- Enterprise library validation application block
- Complex business rules
- Validation rules
- Error notifications
- Error message box
- Highlighting fields
- Error messages in the tooltip
- Error messages beside the control
- Validation summary pane
- Flip controls
- Summary
- 10. Using Non-MVVM Third-party Controls
- Using attached behaviors
- Using binding reflector
- readonly CLR properties (with no change notification support)
- Using .NET 4.0 dynamic
- Using MVVM adapters
- Summary
- 11. MVVM Application Performance
- Asynchronous binding
- Asynchronous View Model construction
- Priority binding
- Virtualization and paging
- Using BackgroundWorker
- Targeting system configuration
- Event Throttling
- Lazy Initialization
- Summary
- A. MVVM Frameworks
- B. Binding at a Glance
- Basics
- Validation
- ValidationRules
- IDataErrorInfo
- INotifyDataErrorInfo [.net 4.5]
- Enterprise Library 5.0 Validation Application Block
- Windows WF
- Validation.ErrorTemplate
- Static properties/fields
- Executing code in DataContext
- Binding to DataContext[DC]
- Resources
- Types with default constructor
- XmlDataProvider
- ObjectDataProvider
- Binding to resource
- Static resource
- Dynamic resource
- Updating source
- Binding.UpdateSourceTrigger
- Binding.Delay: [.net 4.5] [Binding.Mode:TwoWay / OneWayToSource ]
- Mode [Binding.Mode] [T:Target, S:Source]
- Binding to other elements in the view
- ElementName
- RelativeSource
- Conversion
- Binding.StringFormat [SF]
- Converter [C]
- Performance
- Async binding
- ObjectDataProvider.IsAsynchronous
- PriorityBinding
- Index
- Title: MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF. If you’re using Silverlight and WPF, then employing the MVVM pattern can make a powerful difference to your projects, reducing code and bugs in one. This book is an invaluable resource for serious developers
- Author: Muhammad Shujaat Siddiqi, Ryan Vice
- Original title: MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF. If you’re using Silverlight and WPF, then employing the MVVM pattern can make a powerful difference to your projects, reducing code and bugs in one. This book is an invaluable resource for serious developers.
- ISBN: 9781849683432, 9781849683432
- Date of issue: 2012-08-03
- Format: Ebook
- Item ID: e_3d3e
- Publisher: Packt Publishing