Archive for the ‘Technology’ Category

Add Date Greater Than validation to jQuery.Validate

This method adds date or number greater than validation to jQuery.Validation plugin. From: http://stackoverflow.com/questions/833997/end-date-greater-than-start-date-jquery-validation   jQuery.validator.addMethod(“greaterThan”, function (value, element, params) {             if (!/Invalid|NaN/.test(new Date(value))) {                 return new Date(value) > new Date($(params).val());             }             return isNaN(value) && isNaN($(params).val()) || (parseFloat(value) > parseFloat($(params).val()));         }, ’Must be greater than {0}.’);

Continue reading »

My Best Practices for Writing web Applications

A few people have asked me what patterns do I use when developing web applications so I figured I would take a few minutes to write them down. Please note that these are the practices I have found work great for me. Warning: one size does not fit all First let me say that I’m [...]

Continue reading »

How to load jQuery from within your DotNetNuke module safely

If you are writing a module for DotNetNuke that depends on jQuery, you must find a reliable way to make sure jQuery is loaded. Furthermore, you must make sure the right version of jQuery is loaded and must also ensure the rest of the DNN installation is not affected. Here is how you can do [...]

Continue reading »

How to change the way jQuery.validate handles error messages

I use the jQuery.validate plugin to handle most of my html form validation. This is by far the most widely used jQuery plugin for form validation. To reinforce the importance and quality of this plugin a bit more, Microsoft recently announced that they were dropping their own validation implementation in favor of jQuery.Validate for ASP.NET [...]

Continue reading »

HtmlDirect: A DotNetNuke module that outputs the content of an html file to the page

A few weeks back I blogged about wanting to create a module that would simply output the contents of an html file. After watching Will Morgenweck video on how to create a simple one page module in DotNetNuke 5.5 – an awesome feature by the way – I had the idea to do the same [...]

Continue reading »

DotNetNuke *must* hit reset on Design

Let me start by saying that I love DotNetNuke! I believe it to be the most powerful CMS in the market from both a 3rd party support perspective as well as from a developer perspective. I am however dumbfounded by the atrocious design decisions made on the main DNN site. I’m not a designer, I’m [...]

Continue reading »

BigfootCSS, my CSS bag of tricks

BigfootCSS is a 22k uncompressed / 6k compressed CSS stylesheet that can be used to aid you in the styling of your web pages. It is a collection of real world CSS classes, box model fixes, generic classes for various common styles, standard Ad sizes, and a solid browser reset based on Eric Meyer’s CSS [...]

Continue reading »

HtmlDirect: A new DotNetNuke module to include html files directly in your page

When creating DotNetNuke sites, I find myself editing my html in the text editor of my  choice, saving the file to make the changing easier in the future, and then copying and pasting the html code into the html module in source view. I don’t use the Wysiwyg editor at all quite frankly it gets [...]

Continue reading »

Learning Ruby through the eyes of a .NET developer – Part 1

I’ve been fascinated with the ruby syntax for quite sometime now, and have been reading Mr. Neighborly’s Humble Little Ruby Book one of the most entertaining books I’ve found on Ruby. It is not meant to be an in-depth reference, instead it provides a no non-sense approach to learning the Ruby syntax and the Ruby [...]

Continue reading »

BigfootMVC: A module development alternative for DotNetNuke – Part 1: Overview

What is BigfootMVC? BigfootMVC is an MVC style development framework developed for DotNetNuke. It’s main goal is to increase your productivity while keeping a high degree of maintainability. This is the first in a series of posts regarding BigfootMVC. In this post I will concentrate in giving you the history as well as the goals [...]

Continue reading »

Follow

Get every new post delivered to your Inbox.