‘Code’ Category Archive

Gracefully Handling AJAX Requests with ASP Classic

Jul 06

I’ve been working with so-called “Classic” ASP for about two years now. Here’s a trick I’ve put into practice with great success. Often when writing data-driven web scripts you may need to alter the presentation of that data based on the requester or some other variable. For instance, a script may be requested via aRead the whole post.

 

Lehigh Valley Ruby Meetup Notes 2011/03/02

Mar 05

Notes from the March second LV Ruby Meetup group. We built an ‘IdeaShouter’ app with haml, sass, and compass. By the end of these notes you should have built one too. Companion code can be had on github.

 

Gracefully Degrading AJAX with PHP and jQuery

Aug 19

The intention here is to augment the form rather than force it into behavior we want.

 

Passing Email Addresses in URLs With CodeIgniter

Apr 22

CodeIgniter has some handy security features that sometimes get in the way. One such feature is URI scrubbing for disallowed characters. There are probably more secure ways to tell a script what email address to use than to pass it directly via URI. I’m using this for a simple intranet application to manage email recipientsRead the whole post.

 

Basic Cryptography With PHP – shift and unshift

Apr 10

I just started reading Dan Brown’s, “Digital Fortress” which is an excellent read so far. Early on in the novel, we are introduced to some very basic cryptography. Nothing like the FBI Cryptography Challenge, mind you. This is much simpler. So, what is the cypher? It’s simple. Just shift each letter of the “clear text”Read the whole post.