fr3dr1k on August 5th, 2010

Ajax is not new, its not revolutionary, but it has changed the way I view web development. Javascript no longer comes as a might-have, instead it comes as a critical part of any website application. These days I use JavaScript as the UI scripting tool of choice, and I try to steer away from doing [...]

  • Share/Bookmark

Continue reading about Ajax in the .NET environment…

fr3dr1k on November 4th, 2009

Today I had this scenario where I wanted to post items from multiple HTML input elements to a generic handler (.ashx) file without using the action attribute of the form. Specifying the action meant that that you are navigated away from the page where the action is happening, which means re-creating UI logic. How did [...]

  • Share/Bookmark

Continue reading about Getting POST values with an ASHX file

fr3dr1k on October 30th, 2009

So A < a, which means if you use the sort() function and your array contains elements starting with upper and lowercase then the uppercase will appear first, i.e.: Art, ASP.NET, LawDeed, LINQ will appear as: ASP.NET Art LawDeed LINQ To get this working correctly you need the following function: charOrdA: function(a, b) { a [...]

  • Share/Bookmark

Continue reading about JavaScript alphabetical sorting (A is less than a)

fr3dr1k on October 16th, 2009

One of the things that are quite weird to get use to, from a C# developer’s perspective, is JavaScript’s prototypical nature. Check out this basic example: var objXMLHTTP = { getXMLHTTPObject: function(url,elementName) { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else if (window.ActiveXObject) { // code [...]

  • Share/Bookmark

Continue reading about Getting to understand JavaScripts prototypal nature

So during the week I did a lot of JavaScript and the thing that I found most, what shall I say, mindshiftable, is that you cannot think in the classical OOP way with JavaScript, as you do with C#. JavaScript does everything in functions, and everything within JavaScript is prototypical. Inheritance is prototypical, everything is [...]

  • Share/Bookmark

Continue reading about Understanding JavaScript from a C# developer’s perspective

fr3dr1k on November 19th, 2008

What is the idea behind unobtrusive JavaScript? What makes JavaScript unobtrusive? Does it mean removing any onlclick events in your markup and handling those click events with an approach as provided with jQuery? With jQuery its very (extremely) easy to traverse between DOM elements and its even easier associating events to elements and executing them. [...]

  • Share/Bookmark

Continue reading about Unobtrusive JavaScript and a Session-less shopping cart

fr3dr1k on October 1st, 2008

What seemed a little odd to me today was that SQL Server Express 2005 is download-able from two places. Both shows different file sizes. Another issues that needs clarity is ASP.NET and .NET framework versions. .NET 3.5 is an ‘extension’ of .NET 2.0 and replaces .NET 3.0. .NET 3.5 covers AJAX (Asynchronous JavaScript and XML) [...]

  • Share/Bookmark

Continue reading about Demystifying some .NET Issues

fr3dr1k on September 28th, 2008

I susbscribe to The Code Project’s newsletter and today I got some great news, jQuery will be supported in Visual Studio 2008. Now this is some awesome news. Makes one wonder if the Microsoft AJAX library will become redundant. You can read the full article on Scott Gu’s website.

  • Share/Bookmark

Continue reading about jQuery and Microsoft

fr3dr1k on June 26th, 2008

I attended the Mix Essentials 2008 event at Canal Walk (Cape Town, South Africa) today and there were quite a few things that interested me. There were five speakers at the event: David Ives – Developer and Platform Strategy Group for Microsoft in South Africa – Microsoft Brad Abrams – Group Program Manager for the [...]

  • Share/Bookmark

Continue reading about Light up the Web – Mix Essentials 2008 Review

fr3dr1k on May 4th, 2008

This article and its contents are based on the articles on the W3C Website, and is a great place to start learning. AJAX uses the XMLHTTPRequest JavaScript object to communicate directly with the web server and has three important properties: the onreadystatechange property the readystate property the responsetext property It’s important to note that the [...]

  • Share/Bookmark

Continue reading about What is AJAX? Part2

Get Adobe Flash playerPlugin by wpburn.com wordpress themes