Simon Ince's Blog

Ramblings of a gadget freak

Browse by Tags

Tagged Content List
  • Blog Post: Immersive MVC and jQuery: Project Silk

    Patterns and Practices have just released their latest round of guidance for developing web applications - “Project Silk”. I’ve been watching what they generate closely and I think you’ll be impressed. To quote the landing page; “Project Silk provides guidance for building maintainable cross-browser...
  • Blog Post: Project Silk: Patterns and Practices do Rich Web Apps

    My blog has been quiet of late – because our team is busy I think. We’re recruiting by the way Something I’ve been wanting to blog about for a while now is “Project Silk”. This is Patterns & Practices latest round of web development guidance. Karl Shifflett  is the man at the wheel, so be sure...
  • Blog Post: 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...
  • Blog Post: Conditional Validation in ASP.NET MVC 3

    Update: If you like this, you'll like Mvc.ValidationTookit even more - check out this post ! Some time ago I blogged on Conditional Validation in MVC , and Adding Client-Side Script to an MVC Conditional Validator . A number of people have asked me to update the sample to MVC 3, so guess what –...
  • Blog Post: Unobtrusive jQuery and HTML 5 MSDN Flash Article

    If you don’t get the UK edition of MSDN Flash delivered to your inbox, you might want to head over to the latest edition to check out the jQuery article I wrote for this month; MSDN Flash feature article: Unobtrusive JavaScript with jQuery, HTML 5 Style The post is based on some jQuery I originally wrote...
  • Blog Post: Adding Client-Side Script to an MVC Conditional Validator

    Update: If you like this, you'll like Mvc.ValidationTookit even more - check out this post ! In a previous post I covered how to write a conditional validator to work with ASP.NET MVC, and a little gotcha to avoid. However, I didn’t include any details on how to wire up this validator with some...
  • Blog Post: jQuery.validate and Html.ValidationSummary playing nice together

    A customer recently asked me how to get MVC with the MVC Futures project’s MicrosoftMvcJQueryValidation.js adapter file to play nicely with the Validation Summary HTML helper. It turns out that this functionality isn’t built into the adapter script file. They also pointed me at this post...
  • Blog Post: JavaScript Coding Standards

    About six months ago a few customers asked me about coding standards when writing custom JavaScript using Microsoft’s frameworks… it turned out that we didn’t really have any publicly available standards. To address this myself and Stuart Leeks set about coordinating and writing some standards to...
  • Blog Post: Client Script Patterns: Predictive Fetch

    Why do you write JavaScript? It's probably for one of two major reasons – Responsiveness or Richness. Richness we know about – it's the flying, sliding, flashing, and sometimes annoying UI features we see J But Responsiveness is much less tangible – it's about how an application feels to use. Does...
  • Blog Post: 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...
  • Blog Post: JavaScript Prototypes versus Closures

    Recently I've been coordinating and authoring some JavaScript best practice documentation, and one area that came up which I thought was interesting was the reason for using prototypes instead of constructors to define JavaScript class members. Thanks to Bertrand , Dave , and Stephen for assistance with...
  • Blog Post: Important news for ASP.NET MVC, Ajax and jQuery

    It's been a busy period for announcements, so if you've not heard check these two out; 1. ASP.NET MVC 2 was released late last week! See Scott's post. 2. We've announced that we're investing heavily in (by contributing to) jQuery as the JavaScript platform of choice for MVC development, and that...
  • Blog Post: Handling errors with jQuery.load

    I've just posted a very simple walkthrough of the different ways to handle errors when you're using jQuery's ".load" function to do partial rendering... it's on our team blog so check it out here; http://blogs.msdn.com/ukadc/archive/2010/02/12/handling-errors-with-jquery-load.aspx
  • Blog Post: 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...
  • Blog Post: Closure Exposure: A JavaScript Scope Trick

    You might have seen some JavaScript is wrapped up in funny looking functions, such as this screen shot, and wondered why – even parts of the Microsoft Ajax Framework previews use such an approach. At first it can seem very strange, but don't worry – it's actually very simple, and equally useful. ...
  • Blog Post: 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...
  • Blog Post: The Microsoft Ajax Content Delivery Network (CDN)

    I keep looking for the URL’s to get Microsoft Ajax, jQuery, the MVC Ajax libraries and more from our new shiny CDN (check here if you’ve not heard of it)... and I can never remember where they are. So this post is for my benefit, not yours J The links to all scripts are at http://www.asp.net/ajax...
  • Blog Post: Loading Scripts Late

    On the ASP.NET ScriptManager control there is a useful little property that very few people have heard of called “LoadScriptsBeforeUI”. What does it do? Well, simply put... · When “true” (the default) it will render <script> tags for each script you reference using the ScriptManager at the...
  • Blog Post: Executing JavaScript after a Partial Render

    I had a fun day debugging some ASP.NET plus jQuery this week, and came across something I’ve known is possible for some time, but that I’ve never actually needed to do... and that was to ensure a bit of JavaScript ran once an UpdatePanel had refreshed as part of a partial render. It turns out that...
  • Blog Post: Enforcing Unobtrusive JavaScript

    Unobtrusive JavaScript is a concept that’s been around for quite a while, but it’s now finally starting to make its way into the mainstream. The basic idea is that you should separate your JavaScript from your HTML – so instead of; < a href ="Default.aspx" onclick ="alert('Sorry, that is unavailable...
  • Blog Post: Using Anchor Links with AJAX History

    A customer asked me about doing this the other day, and I’d never come across it, although it seems obvious now! If I have a page that makes use of ASP.NET’s server-side ScriptManager AJAX history features but also want to link to an anchor on that page, I get problems. For example, if I have a page...
  • Blog Post: AJAX Script Patterns: Service Agent

    I’ve been thinking for a while about how people tend to build AJAX applications, as there seems to be something a lot of people have forgotten. This post examines how applying a pattern you probably know very well to AJAX could help – and leaves it to you to decide whether this is useful. Let me know...
Page 1 of 1 (22 items)