Archives
-
Instantiating components on template markup
All client-side template engines enable you to create HTML (feel free to go ‘duh’). What they don’t all allow is the creation of event handlers and components over the markup they generate. The general approach with those engines is to do a second pass of code over the markup to create handlers and components. This is quite unfortunate as this generally requires some knowledge of the markup (which plays against separation of concerns) or something like the introduction of marker CSS classes into the markup.
-
Should HTML be considered as a data format?
As HTML is becoming more and more semantic, at least in intent, and all styling is moving into CSS, one has to wonder what it is now representing. It seems like it is now a format for unstructured data (a.k.a. rich text), in the same sense that XML and JSON are formats for semi-structured and structured data and CSV is a format for tabular data.
-
Is English speaking necessary for developers?
There’s been quite a few blog posts and tweets lately around the following (slightly distorted) quote:
-
Simplifying the edit in place behavior
Last week, I wrote about building a simple behavior to edit text in place. Almost at the same time, Nikhil was building a similar component for Silverlight, but it was considerably simpler because instead of substituting a label for the textbox on blur, he was just changing the border so that the textbox resembles a label. This is a lot simpler, cleaner and more stable. The textbox always behaves according to what one would expect from a textbox because it never ceases to be a textbox. No focus to manage, nothing to hide and show, just styles to change.
-
Getting a reference to a behavior
In the last post, I showed how you can instantiate multiple behaviors on a single input element, through server extenders or directly through client behaviors (which themselves can be created imperatively or declaratively). In this post, I want to show how to get a reference to these behaviors.
-
Putting more than one behavior on one element
Microsoft Ajax has the interesting ability to combine more than one component onto a single element. In the previous talk, I alluded to this possibility and one of the commenters (Tiamat) asked me to show how this is done.
-
Building a neat edit in place behavior
For the purposes of my next post, I built a neat little edit in place behavior and I thought it deserved its own post. It does a pretty good job at showing how easy it is to build a clean behavior using ASP.NET Ajax. It’s always good to go back to the basics… In this post, I’ll show you how the behavior works, but more importantly how I built it.
-
Deep Zoom without Silverlight
In a move that I wouldn’t have bet a dollar on, Live Labs released a purely JavaScript Deep Zoom client. You read that right, what was so far one of the nice features only found in Silverlight is now available in an open web, standards-based version.
-
One thing you didn’t know about ASP.NET unless you’re David Ebbo
David has an excellent post about a pretty cool ASP.NET feature that you almost certainly don’t know about. I had no idea for sure. Check it out.
-
Preview documentation for ASP.NET Ajax 4.0 available
We published some documentation for ASP.NET Ajax 4.0 Preview 3:
http://quickstarts.asp.net/previews/ajax/templates/default.aspx -
The magic behind live bindings explained
Dave has a fantastic and very detailed post about our implementation of the Observer pattern in ASP.NET Ajax 4.0.
-
Generating HTML from Silverlight
Martin has an interesting post on the technique he uses in his Silverlight chess board to generate HTML from a Silverlight application.
-
Visual Studio patched for better jQuery IntelliSense
Jeff King just announced the release of a patch for Visual Studio 2008 that enables the IDE to find the –vsdoc.js file without requiring the developer to reference it.
-
Building a data driven application with ASP.NET Ajax 4.0 and ADO.NET Data Services
Jim Wang (one of the great QA people on the Ajax team) just started a blog, and his first post is a very detailed walk through building a data-driven application from scratch using ADO.NET Data Services and the new client templates in ASP.NET Ajax 4.0.
-
PDC 2008 ASP.NET AJAX Futures talk available online
The full 83 minutes of my PDC talk are available on the Channel 9 web site. You can watch the session online (using Silverlight) or download the video in a number of formats. Slides and source code for the demo are also available.