More Spooky-ness

I did some more hacking on Spooky last night and ended up splitting the implementation up into a core stylesheet and individual implementations that further refine the project creation. There’s only support for simple Java projects at present, but I’ll add some more.
This’ll make life easier for me, if no-one else. I tend to start hacking away at stuff and then, if the idea looks fruitful, go in and tidy up afterwards adding a project structure, build files, etc.
Now I’ve either got the option of automating the project creation so I work in a tidier way from the start. Or can tidy up after a hacking session by creating a spooky description of my in-progress project.
There’s now a project page.
Little languages are fun.

FTrain to use Cocoon?

Whilst dropping in on the recently revamped Cocoon Wiki, I noticed that Paul Ford has added a page there, noting that he’s going to try, “over the next year, to implement in Cocoon”.
Should be interesting to watch. Ftrain is one of my favourite sites.
Having implemented a (very) little language for working with project structures (Spooky), I’d considered producing another abstract language for describing simple Cocoon applications. That would hopefully help people, like Paul, who are approaching Cocoon for the first time.
Because they provide higher-level abstractions than the implementation (host) language, little languages can also be used as learning aids to introduce at least some of the features (if not all the syntactic details) of the host language.


This is spooky. Matt Biddulph has just posted a template for Java projects which is basically a tar ball of a standard project directory structure and an Ant build script to go with it.
In my last couple of lunch hours, after updating eclectic I’ve been tinkering with something very similar which I’d nicknamed “project maker”. Basically its a little language for describing project structures. The language is implemented using XSLT.

Read More »

It Ain’t Just RSS, or even HTML

There’s been a lot of discussion about Mark Pilgrims latest article on See, to pick a few examples, Dorothea, Marks follow-up comments and those of Dare Obasanjo.
I thought I’d comment briefly on Marks’ suggestion that “the ability to parse ill-formed feeds becomes a competitive advantage”. In short, he’s right. And it doesn’t only happen with RSS, or even just XML: I’ve seen it happen with SGML too.

Read More »

Quick Hack: W3C List Sidebar

I’ve added another sidebar to my Tools for XML-Deviants. This one just provides quick access to the archives and search function of all of the public W3C mailing lists.
It’s just a quick hack using an XSLT stylesheet to process the W3C archive homepage which happily is XHTML.
Personally I find this preferable to keeping lots of bookmarks, although admittedly the list of archives is rather long. Hope you find it useful too.