Zend_Form Introduction, part 1
Category: Web Development > PHP      Posted: 02 Aug 09

This screencast ran a little long, and unfortunately I'll have to post the rest next week. We start with creating a DTO (Data Transfer Object) that will house our data as we pass it from the Controller, to the form and then back to the view. Zend_Form is used for validation and rendering

Exploring Code Contracts: Taking a look at Pre/Post Conditions
Category: Languages > .net      Posted: 27 Jun 09

In this episode we are going to take a look at the new Code Contracts library which is out of MS Research and will be part of .Net 4.0/Vs2010.

Contracts allow for many different ways to perform language agnostic code validation and in this episode we are going to focus on how to setup pre ...

Conditional Validations
Category: Web Development > Ruby On Rails      Posted: 10 Jun 07

By default, validations will take place every time the model is saved. Sometimes you only want a validation to happen when certain conditions are met. See how to do that in this episode.

Customize Field Error
Category: Web Development > Ruby On Rails      Posted: 03 Jun 07

When a validation error occurs, Rails helpfully wraps the field in a div tag so you can style it. But sometimes you don't want this behavior. In this episode you will see how to customize it.

Credit Cards
Category: Web Development > Ruby On Rails      Posted: 30 May 07

This screen cast demonstrates credit card validation within a Ruby application. It uses the credit card library from Lucas Carlson. This library validates the structure of a credit card number and can also return the type of card being used

Validating Input Parameters
Category: Web Development > Coldfusion      Posted: 22 May 07

One of the first things a web programmer learns is that the web is stateless. To get around this fact, web programmers use a variety of methods including form, URL, and cookie variables. A user can manipulate all of these variables, however. So, for example, you wouldn't pass the price of a product t...