mattdorn.com

Generously funded by Matt Dorn

Archive for the ‘technology’ Category

RESTful Web apps with Django, Piston and Ext JS

with 9 comments

Piston appears to have emerged as the preferred method for giving your Django applications a RESTful API. While there are any number interesting things you might want to want to do with such an API, this post is about using it to give your Django app an attractive, Ajax-y, Ext JS interface.

READ MORE...

Written by mdorn

December 20th, 2009 at 10:52 pm

Posted in technology

Tagged with , , , , ,

A few reflections on “Dreaming in Code”

with one comment

Some years ago I became aware of a software project called Chandler, a personal information manager/calendar/email client being developed by something called the Open Source Applications Foundation, which was started by by Mitch Kapor of Lotus fame. It appeared on my radar for two reasons. First, it seemed an unusually ambitious effort to [...]

READ MORE...

Written by mdorn

August 7th, 2009 at 9:27 pm

Posted in technology

Tagged with , ,

Plone i18n: a brief tutorial

without comments

The following tutorial details the steps I took to internationalize (starting with a Spanish translation) the interface of Plone Translation Hub, a Plone Archetypes-based product.

Contents

Basic Plone i18n with i18ndude
Advanced Plone i18n
Translating workflow states and transitions
Accessing the Plone translation machinery directly

Resources

Basic Plone i18n with i18ndude
First, processing your UML model via ArchGenXML (assuming you have i18ndude installed) [...]

READ MORE...

Written by mdorn

April 20th, 2007 at 12:47 pm

Posted in technology

Tagged with ,

Open Source i18n

without comments

Not so long ago I found myself in the rather embarrassing position of having authored a translation collaboration tool for use by an international user base without having implemented the platform’s (Plone) internationalization (i18n) facilities. That is, I gave the application an English interface and left it at that. Furthermore I began to [...]

READ MORE...

Written by mdorn

April 17th, 2007 at 11:05 am

Posted in technology

Tagged with ,

Updating Plone user roles programatically

without comments

Today for a site using Plone Translation Hub I had to programatically update the roles for all users who had logged in since March 9th, given that this group was known to be responsible enough to be worthy of the "Reviewer" role. One of the site managers asked that I simply run a "SQL [...]

READ MORE...

Written by mdorn

March 12th, 2007 at 1:35 pm

Posted in technology

Tagged with

reStructuredText tools for gedit

with one comment

Over the last couple of days, I put together some reStructuredText tools for gedit, the lightweight text editor for the Gnome desktop on Linux. They include syntax highlighting, some keyboard shortcuts, and an HTML preview feature that I derived from another developer’s earlier work on Markdown support.
This was made possible by gedit’s excellent plugin [...]

READ MORE...

Written by mdorn

February 15th, 2007 at 9:20 am

Posted in technology

Tagged with , ,

Gnapsack 0.2 released

without comments

Version 0.2 of my client for the Backpack Web Services API, Gnapsack, was released today, and now has a new home. The two main enhancements are Windows compatibility and ability to handle multiple lists.

READ MORE...

Written by mdorn

February 7th, 2007 at 4:03 pm

Agile tools in Ruby and Python

without comments

I spent a few months at the end of last year working on a Ruby on Rails project. While I constantly found myself longing for Python, I did appreciate the extent to which RoR carried certain best practices–among them an MVC architecture and Test-Driven Development–to an extreme, baking them into the framework.
The following table [...]

READ MORE...

Written by mdorn

February 1st, 2007 at 12:51 pm

Posted in technology

Tagged with , , ,

Trac + Darcs + reStructuredText

with one comment

Edgewall Software’s Trac seems to have become something of a standard for agile management of software projects both within the Open Source community and within closed organizations, and after having the opportunity to use it on a recent project, I can appreciate why. It’s simple to setup and manage, and its self-described "minimalistic approach [...]

READ MORE...

Written by mdorn

February 1st, 2007 at 10:50 am

Getting AWStats to show Plone-authenticated users

without comments

I’m using AWStats to track usage on a Plone site that’s essentially a portal for collaborative document translation. That means that most users of the site need to login to do anything useful, and I want to see who’s logging in along with the rest of the stats on my site.
For hosting the site, [...]

READ MORE...

Written by mdorn

October 15th, 2006 at 7:12 pm

Posted in technology

Tagged with , , ,