|start | find | index | login or register | edit|
by earl, 4948 days agoLet's ignore worldwide financial tumults and regional political mumbo-jumbo for a few minutes and explore some more parts of Helma NG instead. Quite a few things changed my last post on 2008-09-05, and today I'll concentrate on a few changes I contributed to :) Welcome to vanity fair!
Let me start by repeating the warning from last time: Helma NG is rapidly developing work in progress, if this gets you interested, you might want to join the Helma NG mailing list. That said, let's dive right in.
For convenience, Helma NG now comes bundled as a binary-only Debian package as well. Until there's an official place to download ready-made packages from, you'll have to build the
You might want to have a look at a shell transcript of these steps.
If you've worked in Unix-land even for only the shortest of times, you'll have come across the infamous shebang line used to execute scripts written in e.g. Bash, Perl, Python or Ruby. If you installed Helma NG via the Debian package, you can use helma as script interpreter (via
So a simple "Hello, World" example would now be:
Save this as
One of those nice libraries is
For now, here's a quick teaser that shows how to use skins in shell apps:
Amazing, isn't it?
Well, I hope you enjoyed this run-through. I'm sure you noticed the different ways modules were loaded in the two examples here compared to the example from last time. As Helma NG's module system is one of the many things to get excited about, maybe I'll run you through its capabilities in a future post.
2008-11-07: Updated to reflect recent changes to the module system.
2009-05-19: Adapted to the changes in the module system that shipped with Helma NG 0.3.
5 active users
|earl.strain.at • esa3 • online for 7945 days • c'est un vanilla site|