September 2008

September 15, 2008

Relax NG Schema for Adobe Flex 3

In the past Flex development on Emacs was not as it should be because of a missing Relax NG Schema, which is needed for nxml-mode to work properly. To improve the situation I developed a MXML Schema generator based on the XSD generator of Ali Mansuroglu. Now Emacs knows your Schema and can help you typing and validating MXML files.


September 16, 2008

Patroon - a Javascript Template Engine (Part 2)

This post is an update to my initial post. Patroon has been improved and is now easier to use and uses a better algorithm internally.


September 21, 2008

Using Javascript Templates for a Delicious Sidebar

Processing JSON data from an external source with Javascript templates is a natural fit. Create a template inside your HTML Document by adding class names and variables and write a few lines for fetching the JSON, that’s all. This tutorial is an example for my Javascript Template Engine called Patroon.


September 4, 2008

Emacs Completions with Hippie-Expand and Snippets

One of the most important features of a text editor is the completing of text inside a buffer. There a lots of packages for Emacs, which provide this feature in many different ways. I will show you, what I use to improve my life as coder.


September 5, 2008

Shinmun, a small and beautiful blog engine

Shinmun is a minimalist blog engine. You just write posts as text files, render them to static files and push your blog to your server.


September 7, 2008

Commenting system with lightweight JSON store

As I wrote this blog engine, the need for a commenting system arose and I reflected about a small and simple commenting system with just a flat file JSON store. This is my solution, which can be used on any static page on a server with PHP support.


September 13, 2008

Quick Guide for Passenger on Ubuntu Hardy

This is a short guide for installing Phusion Passenger on Ubuntu Hardy. This includes the installation of Ruby 1.8.6, Apache 2.2.8, MySQL 5.0.51a, Git 1.5.4 and Rails 2.1.1.


September 9, 2008

Patroon - a Javascript Template Engine

Patroon is a template engine written in Javascript in about 100 lines of code. It takes existing DOM nodes annotated with CSS classes and expand a data object according to simple rules. Additionally you may use traditional string interpolation inside attribute values and text nodes.