Blog articles tagged 'javascript'

0
comment
on 1/15/2011 6:14 PM
Java vs C# As Jon Skeet pointed out in this excellent article on closures, the strategies of capturing the execution context which the behaviour is bound to different between Java and C#. C# captures the variable itself, whereas Java captures the value of[...]
.
0
comment
on 1/15/2011 8:58 AM
In my last post I explained the difference between the techniques of Currying and Partial Application, following on where there let me show you how you might apply these two techniques in F#, Javascript and C#. F# Starting with F#, being a functional lang[...]
.
0
comment
on 1/14/2011 6:15 PM
Recently I have come across some really interesting questions and debates around these two terms and how they differ from one another. There seems to be widespread confusions with many examples demonstrates one whilst intends another, and some simply uses[...]
.
0
comment
on 1/10/2011 2:21 PM
I saw this in last month’s .Net magazine and thought it was pretty cool and worthwhile sharing. Without giving away too much of the intricacies (seeing as this is not my own work), this technique essentially boils down to using Javascript to append a <spa[...]
.
0
comment
on 1/3/2011 4:29 PM
Following on from part 2 where I wrote a simple page with a canvas area where you can scribble, I thought I’d add a couple of new features: ability to show the image as PNG image so user can save it change the line cap change the line join change the shad[...]
.
0
comment
on 1/3/2011 10:25 AM
This is a neat trick I picked up the other day, you can create a dynamic class which takes in a set of properties in the constructor and dynamically generates Accessor and/or Mutation methods (you just have to choose which lines to leave out): In your cal[...]
.
0
comment
on 1/3/2011 9:55 AM
In C# and other similar general purpose languages, there are access modifiers which allow you to specify whether a particular property can be accessed/modified by everyone (public), only subclasses (protected) or only from within the same class (private).[...]
.
0
comment
on 1/3/2011 6:34 AM
Earlier I explored some of the basic drawing methods available on the 2D context of the new canvas element in HTML5, moving on from there, I’ve put together another quick demo here (see image below) which lets the user scribble inside the canvas element. [...]
.
0
comment
on 1/1/2011 1:32 PM
One of the cool new features introduced by HTML5 is the new <canvas> tag, which defines an area for you to draw graphics on using javascript. Basics To create a canvas element is as easy as inserting a <canvas> tag like this: Typically you will give it an[...]
.
0
comment
on 12/29/2010 4:33 AM
HTML5 includes two new ways to store data on the client – local storage and session storage. Local storage has no time limit on how long the data should be kept around, session storage on the other hand (as the name suggests) stores data for only one sess[...]
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper