Tags: babysmash
Tags: babysmash
Learning WPF with BabySmash - MVC or MVP and the Benefits of a Designer
Posted Thursday July 10, 2008, 1:49 pm, Over one day old at ComputerZen.com - Scott Hanselman
Here it is now (and it's got animations and interactions, but you'll have to run it to see ): There's also a bunch of new features that have been made possible by refactoring the project to an MVP (Model-View-Presenter) pattern.
Read Learning WPF with BabySmash - MVC or MVP and the Benefits of a Designer (Links)
Back To Basics - Everyone Remember Where We Parked (that memory)!
Posted Thursday July 10, 2008, 1:49 pm, Over one day old at ComputerZen.com - Scott Hanselman
Read Back To Basics - Everyone Remember Where We Parked (that memory)! (Links)
Learning WPF with BabySmash - Keeping it DRY with XAML Styles
Posted Friday June 13, 2008, 10:54 am, Over one day old at ComputerZen.com - Scott Hanselman
Shape = Shape = new Path() { Data = MakeCharacterGeometry(nameToDisplay), Fill = fill, Stroke = Brushes.Black, StrokeThickness = 5, Height = 400 }; This kind of object initializer code is copy/pasted all over.
Read Learning WPF with BabySmash - Keeping it DRY with XAML Styles (Links)
Learning WPF with BabySmash - Pushing things up a level with another set of eyes
Posted Friday June 13, 2008, 10:54 am, Over one day old at ComputerZen.com - Scott Hanselman
It's the same four lines over and over again. public class SquareFigure : Figure { public SquareFigure(Brush fill) : base(fill, "square") { Shape s = new Rectangle(); s.Style = Application.Current.Resources["square"] as Style; s.Fill = fill; Shape = s; } } Ripe for refactoring I say.
Read Learning WPF with BabySmash - Pushing things up a level with another set of eyes (Links)
Learning WPF with BabySmash - Factories, Interfaces, Delegates and Lambdas, oh my!
Posted Friday June 13, 2008, 10:54 am, Over one day old at ComputerZen.com - Scott Hanselman
What I need is a better Factory to make these Figures, but a "random factory" that is a little easier to extend than a Switch statement. I'm interested in your comments as there's very likely an even cleaner pattern to solve this little problem in your head, waiting to get out.
Read Learning WPF with BabySmash - Factories, Interfaces, Delegates and Lambdas, oh my! (Links)
Learning WPF with BabySmash - Configuration with DataBinding
Posted Tuesday June 3, 2008, 9:13 am, Over one day old at ComputerZen.com - Scott Hanselman
Read Learning WPF with BabySmash - Configuration with DataBinding (Links)
Introducing BabySmash - A WPF Experiment
Posted Monday June 2, 2008, 9:47 am, Over one day old at ComputerZen.com - Scott Hanselman
This way we'll have not just a random sample - with credit to Rob Conery's MVC Storefront application and his transparent design process - but two, before and after, and at some point I'm hoping my brain will break out of my Win32 thinking and I'll better understand WPF idioms.
Read Introducing BabySmash - A WPF Experiment (Links)