Quantcast
Channel: Forloop Blog
Browsing all 15 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Event Internals in jQuery - Part Two

Part one of jQuery Event internals looked at the DOM Event specifications, the history of the Document Object Model (DOM) event models and reasoning behind why jQuery has an event system. In the second...

View Article



Event Internals in jQuery - Part One

I’ve been using jQuery for a number of years now and think it’s an awesome JavaScript library for providing a rich client experience to web applications with little effort.  Whilst I advocate the use...

View Article

This Developer's Life

I'm probably a little late to the party on this one, but I have just started listening to This Developer's Life, a podcast presented by Rob Conery and Scott Hanselman. Each episode focuses on a...

View Article

Wrap child elements in groups in jQuery

A while ago, I answered a Stack Overflow question about how to wrap child elements matching some selector into groups of a specified size. I had a need for this again recently so I went back to the...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET MVC 3 IMetadataAware and custom ModelMetadata attributes

UPDATE: I've added a simple example project up on bitbucket to demonstrate the ColorPicker attributeASP.NET MVC 3 introduces a new interface, IMetadataAware, for providing additional values to the...

View Article


ASP.NET MVC Permanent 301 redirects for legacy routes

Having a good url routing scheme is extremely important when developing an application. Urls should be canonical to aid in search engine optimization and discoverable in order to aid users in learning...

View Article

Image may be NSFW.
Clik here to view.

Implement Recaptcha properly in ASP.NET MVC

Love them or hate them, the humble CAPTCHA is a tried and trusted approach to mitigating spam content from infiltrating your beautifully crafted application and flooding it with adverts selling all...

View Article

Image may be NSFW.
Clik here to view.

Event Messaging on the client side with jQuery

How many times have you come across the following kind of code in JavaScript// code in script-1.js // eek, two global variables! var dialog, updateMessage = function updateMessage (message) {...

View Article


C# 5 asynchronous programming

If you missed Anders Hejlsberg talk on the Future directions for C# and Visual Basic, go check it out now, I’ll wait.I hope you'll agree that asynchronous programming just got a whole lot easier to do....

View Article


Resolving IoC container services for Validation Attributes in ASP.NET MVC

I'm a fan of the Data Annotation Validation attributes to validate user input on both the client and server side for ASP.NET MVC applications. I'm also a fan of Inversion of Control and Dependency...

View Article

Presentations from NDC 2012

The Norwegian Developers Conference is one of the largest .NET Developer conferences of the year, running over several days and including presentations on topics as wide-ranging as software...

View Article

Image may be NSFW.
Clik here to view.

CSV ValueProvider for model binding to collections

TL;DRI have written a ValueProvider for binding model collections from records in a CSV file. The source code is available on BitBucket.Model binding in ASP.NET MVC is responsible for binding values to...

View Article

Web API – Binding Complex types from the URI by default for HTTP GET requests

The model binding implementation in ASP.NET Web Api shares some similarities to the model binding you find in ASP.NET MVC and at the same time has some striking differences. For a more detailed...

View Article


Nuget Package for Managing Scripts in ASP.NET MVC 4

As per the comments on my previous post about Managing Scripts for Razor Partial Views and Templates in ASP.NET MVC, I've created a Nuget package for the HtmlHelpers used. Go take a look and leave a...

View Article

Image may be NSFW.
Clik here to view.

Managing Scripts for Razor Partial Views and Templates in ASP.NET MVC

UPDATE 13-03-2013: I've created a nuget package for the helpers. The original ScriptContext scope had to be brought back in for MVC 4 as the TemplateStack approach no longer worked.UPDATE 21-11-2011:...

View Article

Browsing all 15 articles
Browse latest View live




Latest Images