Front-end Series 3: Templating syntax review

Template syntax families Binding simple values Binding values using Scope Blocks Grammars Parsing Consistency leads to Predictability Comparison of popular templating syntaxes String Insertion Iteration If Templating syntax (and language syntax in general) is very interesting. How a template is written somewhat informs mental-model of how it behaves, and how the data should be structured. The […]

Creating your own JavaScript Library – part 2 – Event Handling

In Part 1 of Creating your own JavaScript library, we cover the library essentials: library design, creating a solid object constructor, and adding functions by extending the object prototype. This post focuses on extending our basic library with event handling. Out of the box event handling can be accessed  through Javascript and DOM apis, shown […]

Creating a microformat / richsnippits resume

What are microformats? Microformats are small patterns of HTML to represent commonly published things like people, events, blog posts, reviewsand tags in web pages. Microformats are the quickest & simplest way to provide an API to the information on your website. See what else you can do with microformats. Have you ever searched for a recipe on Google, and wondered how the […]

Really Simple jQuery Tabs

Bugged by popular jQuery tab content rotators that a bulky, non semantic, to fast/slow, or can’t use custom HTML anywhere you want? Really Simple jQuery Tabs is a jQuery plugin that tries to address each one of those issues. It’s goal is to be as simple and flexible as possible. You can completely rip-out and replace the CSS with your own, changing elements position, styling, etc. It is quite small: at 844 bytes your bandwidth won’t know the difference!

100% Height Div with 2 lines of code

2016 Edit: This post is really out-dated. If you are looking for a solution for 100% height divs, please use modern css as described here EDIT: This post has several code-blocks of JavaScript to keep two divs at an equal height. I recommend the last method, if you are using jQuery — It seems […]

Hacking MyMathLab (a case study in software security best-practices)

This article details an experience I had while using the software MyMathLab, and overviews software security best practices. There is no information in this article that would allow students to alter their grades or cheat in any way, but details minor exploits in the software and security infrastructure related to “locking down” a workstation. This post was written […]