| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
12 Articles match "Model","WPF"
| Related DevelopMentor Courses | MORE | | Guerrilla.NET (US) Training WPF/SL : Develop cutting-edge UIs with Windows Presentation Foundation and Silverlight including coverage of Silverlight 5.0 MVVM : Learn advanced WPF / Silverlight design patterns and techniques including MVVM (Model-View-ViewModel). EF : Decouple your entity model from the data using Plain Old CLR Objects (POCOs). iOS : Build multi-touch enabled applications on platforms such as WPF, Silverlight, and Apple's iPhone / iPad. WPF/SL : Develop cutting-edge UIs with Windows Presentation Foundation and Silverlight including coverage of Silverlight 5.0 DevelopMentor Courses - Tuesday, March 1, 2011 Scott Reed: Repository pattern improvements Introduction to WPF and Silverlight • ASP.NET MVC 3.0: Beyond the Basics • LINQ to Objects and LINQ to XML • Entity Framework • Model-View-ViewModel for WPF and Silverlight • PFx: Task and The Parallel I just finished a Guerrilla.NET in Boston with Michael Kennedy and Mark Smith. Here are the topics we covered. DevelopMentor Courses - Saturday, May 7, 2011 Essential Windows Presentation Foundation - WPF Training Use new technologies such as LINQ and XLINQ with WPF. Utilize your existing controls, forms and resources from Windows Forms with WPF. Come and get familiar with the dynamic and creative application development that WPF enables. Learn how to best utilize WPF for both new projects as well as porting existing Windows Forms, MFC or traditional Win32 application over to this new platform. You'll get answers to these questions: What are the main building blocks of a WPF application and how do I use them? What are the new features in WPF 3.5 to WPF 4.0 DevelopMentor Courses - Wednesday, February 22, 2012 |
43 Articles match "Model","WPF"
| The Latest from DevelopMentor | MORE | | Join Me at Guerrilla.NET in November Model-View-ViewModel for WPF and Metro. Just a quick announcement for an developer upcoming event I’ll be participating in… Early November I’ll be co-teaching DevelopMentor’s biggest.NET developer event of the year in Los Angeles: Guerrilla.NET. If you haven’t been to Guerrilla.NET, it’s a very unique and memorable event – it’s unlike almost any other training class you’ve seen. We’ve just updated the outline with the most important current and upcoming technologies (see below). hope to see you there! mkennedy. C# 5.0. Michael C. Kennedy's Weblog - Tuesday, September 25, 2012 How to get started with Knockout.js this become somewhat more like Silverlight/WPF. First name: last name: Full name: So what does the view model look like? Once you get into doing more client side JavaScript code with business applications and REST services you are going to run into the question of how to construct the client side HTML required to show the data to the users. Using jQuery Assuming most people are going to be using jQuery on the client you might start with some jQuery code to generate HTML. Your code might look something like this $( function () {. $( "#btn" ).click( Using templates. Enjoy! The Problem Solver - Monday, February 6, 2012 How to get started with Knockout.js this become somewhat more like Silverlight/WPF. First name: last name: Full name: So what does the view model look like? Once you get into doing more client side JavaScript code with business applications and REST services you are going to run into the question of how to construct the client side HTML required to show the data to the users. Using jQuery Assuming most people are going to be using jQuery on the client you might start with some jQuery code to generate HTML. Your code might look something like this $( function () {. $( "#btn" ).click( Using templates. Enjoy! The Problem Solver - Monday, February 6, 2012 | -
| The Best from DevelopMentor | MORE | - WPF MVVM Helper Library (WPF + MVVM = testability)
There's been a lot of talk about the Model-View-ViewModel pattern recently and it's usage around the WPF and Silverlight technology stack. When teaching WPF, I always introduce students to MVVM as part of the Essential WPF class, it's an incredibly useful pattern that really separates the UI from the code behind behavior. It's evolution owes a lot to various blog posts, WPF Disciples, and other WPF leaders; I certainly didn't invent anything radically new but borrowed heavily from all kinds of places as I built various classes I needed for my own work. - Using Model – View – ViewModel with Silverlight
The View – Model – ViewModel design pattern, also known as MVVM, is getting more popular these days. have found it extremely easy to use when developing very different applications and have used the design pattern recently in both ASP.NET, WPF and Silverlight applications. Josh Smith did an excellent screen cast for Pixel8 on using MVVM with WPF, you can find it here. The ViewModel is a wrapper for a Model. Think of the Model as the data and the business rules. This is just UI so not a business rule and as a result it is not stored in the Model. 11: {. The Problem Solver - Tuesday, April 7, 2009 - Building a Leak-Proof Eventing Model
In full.NET (and consequently WPF) this code works like a charm. Best of all, this approach works across the board with full.NET / WPF, Silverlight and Windows Phone. Then start enjoying the safety that a leak-proof eventing model has to offer! One of the main features of the.NET Framework is to provide automatic memory management via garbage collection. You might think this would solve the problem of memory leaks in managed applications, but the effectiveness of the garbage collector can be hampered by your code. Note: You can download the code for this blog post here. Tony and Zuzana's World - Tuesday, March 22, 2011 - MVVM: Views and ViewModels
Views are the UI presentation of data - in the case of a WPF/Silverlight application this is most commonly the XAML and XAML code behind files (they are considered a single element together). That way, my ViewModel sticks with base (non-WPF) types. This is necessary under WPF 3.5 The other two are child view models used to represent the files and folders respectively. cf0 cf3 ///cf4 String used to send message to main view model about directory selection.par ??cf0 Tags: NET Code MVVM WPF Project Template. Dependencies. ViewModels. Views. Views. par ??cf1 - Simple MVVM Toolkit: Feature Rich with WPF and WP7 Support
I’ve rounded out the feature set of my Simple MVVM Toolkit to include a Message Bus (also known as an event aggregator or mediator ) for loosely coupled communication among view-models and to support MEF (Managed Extensibility Framework0 for dependency injection (also known as inversion of control) of service agents to better enable unit testing of view-models. ve included in the download sample applications for these features, including how to drive page navigation from business logic in view-models with command-binding. Technical MEF MVVM Silverlight WP7 WPF Tony and Zuzana's World - Friday, February 4, 2011 - Easier Async for Silverlight Apps using MVVM
However, as is the case with other UI frameworks such as Windows Forms or WPF, you should not touch UI elements from worker threads. WPF and Silverlight have Dispatcher.CheckAccess / Dispatcher.BeginInvoke. For example, whenever you fire NotifyPropertyChanged from the setter in a view-model property, you should check to make sure that you’re on the UI thread and, if not, marshal the call over to the UI thread. It makes sense to execute long-running tasks on a background thread, in order to keep the UI responsive by not tying up the main thread. Technical MVVM Silverlight Tony and Zuzana's World - Saturday, January 29, 2011 - Tackling the Problem of Modal Dialogs in MVVM
One of the first issues you’ll run into when wading into the waters of MVVM is how to display model dialogs to the user while executing code in the view-model. Popping up a dialog, such as a MessageBox or a ChildWindow, from the view-model is an anti-pattern that violates the separation of concerns that exists between the view and the view-model. If you separate concerns of presentation (the view) from business logic (the view-model) and data (the model), making a change in one area is less likely to impact other areas. Another benefit is testability. Tony and Zuzana's World - Friday, January 28, 2011 %>
| | |