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.
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.
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.
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.
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.
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.
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.
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.