JavaScript Architecture

No, that isn’t meant to be an oxymoron. But something I’ve noticed recently is that people’s approach to JavaScript seems to be diverging down two common paths. This blog post is designed to encourage you to adopt the one you probably aren’t planning to adopt right now! The approaches I’m describing are depicted below; Keep…

10

Comparing Architectural Options

Often when I speak with people that are planning a new solution they have a few different products or platforms in mind. To compare these options, most try something like a “capability matrix” (which goes by many names). Roughly these end up looking like this; Feature Product One Product Two Supports .NET X X Supports…

0

jQuery + MVC = Progressive Enhancement

If you write a lot of JavaScript, you really should consider adopting Progressive Enhancement as the standard way that you work. This is basically whereby you write a web site without script, and then enhance it with script. The result is a site that does not rely on JavaScript (and hence works with accessibility tooling…

6

Checklist: Discussing an Azure Migration

I’ve been consulting with various customers of late to help them understand how they can prepare for “the cloud” (specifically Windows Azure), and what elements of their system might need work in order to work well there. This blog post is so that I have a handy checklist to hand to help drive these discussions…

0

Boundary Analysis

This week I hosted an interactive session at the Architect Insight Conference with my colleague Josh Twist… if you were there thanks for being so interactive! We really enjoyed it and found it useful so I hope you did too. One concept that I mentioned during the session was an approach I use to help…

0

How to do Claims-Based Security in .NET

Windows Identity Foundation has been around for a while now, and “Claims Based Security” is the cool kid that everyone wants to be friends with. The problem is that everyone (except Zulfiqar who speaks SAML natively) seems to think this stuff is impenetrably difficult to do… Enter stage left: “A Guide to Claims-Based Identity and…

1

Packaging UI Components in MVC

Something I get asked by most customers starting out with ASP.NET MVC is how they should package, group, factor, and reuse their UI components. We’re all used to thinking about User Controls, Custom Controls, and other Web Forms approaches. But rest assured, MVC provides a wealth of options. The thoughts below describe how I see…

0

View Models in ASP.NET MVC

Q: Should I have a view Model in my ASP.NET MVC architecture? A: Yes. Well, that was a short post! J Being more serious, this is an interesting topic that the advisors and p&p team discussed a few times while they were building the Reference Implementation for the soon-to-be-complete Web Client Guidance, and it is…

41

Check out the Web Client Guidance

If you’ve not come across the Web Client Guidance that patterns & practices have been working on, now is the time to head on over to their CodePlex site; http://webclientguidance.codeplex.com/ The team have been really busy pulling together resources, advice, and guidance on a lot of topics related to web client development, including ASP.NET MVC…

0

A JavaScript Event Bus

I was working on a Proof of Concept recently that needed to support loosely coupled Ajax components. The idea is a common one – components need to be able to hook into an existing page without detailed knowledge of how the page works, and immediately start responding appropriately. This is basically using loosely coupled events…

4