September 2010
10 posts
Sep 29th
Sep 26th
Sep 21st
1 tag
Sep 19th
Sep 18th
3 tags
Escaping reserved keywords in C#
I am going to show you something that you should use sparingly as if this is abused your code can become very difficult to read.  Have you ever had a need to escape a reserved word?  Take the following example where we have a class called Class. public class Class { public int Seats { get; set; } public string Name { get; set; } public DateTime StartTime { get; set; } } Now this...
Sep 17th
3 tags
jQuery templating with $.tmpl()
First off your question might be what exactly is jQuery templating?  Templating allows for easier interaction with the dom when adding repetitive items to an element.  Each of your templates are simple html markup with special syntax that allows you to specify the data that is contained in each location.  First off i will show you how it could be done by just using jQuery to render your data. ...
Sep 10th
1 note
Sep 5th
1 tag
Sep 4th
Using Linq style syntax in javascript with Rx for...
Ok at first reading this I am sure you are scratching your head, what, huh, how is this even possible?  Well my readers it certainly is using Reactive Extensions for JavaScript.  Rx was brought about to make async operations easier for people to use.  The idea behind this is that async operations are just collections.  The two main types are Observable and Observer.  An Observable is a collection...
Sep 2nd