Category Archives: Model-View-Presenter

Building An Email List Component With BackboneJS

In my post about re-launching myself in to the independent life, I talked a little bit about restarting my effort to complete my Building Backbone Plugins eBook. I’ve already started down the path, reviewing existing chapters and beginning to fill … Continue reading 

Also posted in Backbone, Books, E-Books, HTML5, Javascript, Marionette, Model-View-Controller, Modules | 5 Comments

Handling DOM Events With EmberJS Views And Controllers

Hot on the heels of picking up Ember and starting to learn it, I think I’ve actually learned something useful! I certainly hope I have, at least. Otherwise, I’m going to be in trouble soon. In my EmberCloneMail app, I … Continue reading 

Also posted in DOM, Ember, Javascript, JQuery, Model-View-Controller | 10 Comments

EmberJS: Initial Impressions (Compared To Backbone)

Hey! This article references a pre-release version of Ember.js. Now that Ember.js has reached a 1.0 API the code samples below are no longer correct and the expressed opinions may no longer be accurate. Just keep that in mind when … Continue reading 

Also posted in Backbone, Ember, Handlebars, Javascript, Model-View-Controller, Rails, Ruby, Sinatra | 27 Comments

Backbone.js Is Not An MVC Framework

I’ve seen this question / statement / argument more than a few dozen times. I don’t particularly care whether or not people try to understand Backbone in terms of MVC frameworks, because that’s how we learn. We adapt new ideas … Continue reading 

Also posted in Backbone, Design Patterns, Javascript, Model-View-Controller | 32 Comments

Intro To Backbone.js: How A Winforms Developer is At Home In Javascript

Today, I was introduced to Backbone.js and I almost immediately fell in love with it. It’s powerful. It’s elegant. But most of all, it’s a set of design and interaction patterns that I have a lot of experience using.   … Continue reading 

Also posted in Backbone, Design Patterns, Javascript, JQuery, Model-View-Controller | 25 Comments

What’s your favorite part of software development, and why?

I love solving problems and making the lives and/or jobs of others easier. I have a natural fascination with puzzles, electronics and tools combined with a deep seeded need to create and combine things in different ways. This is part … Continue reading 

Also posted in Analysis and Design, Domain Driven Design, Model-View-Controller, Productivity | 5 Comments

Help! I’m Terrible At Migrating/Restructuring Code In A Test-First Manner

I’ve spent the last day or so restructuring some code – specifically converting a WinForms form into a user control so that I can host the control in several different forms that need it. This involves changing the presenter for … Continue reading 

Also posted in AntiPatterns, Continuous Improvement, Craftsmanship, Philosophy of Software, Pragmatism, Unit Testing | 11 Comments

Swashbuckling Tentacles

Surrounded by the wriggling tentacles of the beast that had attached itself to the ship, Ed – the lone surviving member of the ship’s crew – brandishes he sword and lunges toward the nearest of the appendages. With a cry … Continue reading 

Also posted in AntiPatterns, Brownfield, Continuous Improvement, Principles and Patterns, Semantics | 3 Comments

Application Events: Modeling Selection vs De-Selection as Separate Events?

I’m using my Event Aggregator in my current project to manage communication between a custom control and it’s parent form. This is the same control I talked about in my CQRS Performance Engineering post. It has several drop down lists … Continue reading 

Also posted in Analysis and Design, AppController, Craftsmanship, Messaging | 10 Comments

Role Specific Interfaces: DIP And ISP In Action

I do most of my UI development – in ASP.NET WebForms and in WinForms – with a Model-View-Presenter setup. It helps me keep my application logic separate from my view implementations, makes it possible to unit test the presenters, etc. … Continue reading 

Also posted in .NET, C#, Principles and Patterns | Leave a comment