Re: [Simpleweb-Support] simple server, mamba
Brought to you by:
niallg
|
From: PA <pet...@gm...> - 2005-03-17 11:49:21
|
On Mar 17, 2005, at 04:37, Niall Gallagher wrote: > I am currently working on a demonstration package and an improved=20 > introduction so that users=A0can get a server up and running much=20 > easier. Talking of which, albeit slightly off-topic, I'm somewhat=20 re-implementing simple-core in Lua [1]. Here is a brief illustration: -- create the application server local anApplication =3D LWApplication.new( "*", 1080 ) -- register a service anApplication.registerService( LWDirectoryService.new( "/prefix/",=20 "/Directory/Path" ) ) -- start the application anApplication.start() As easy as 123 :) Gory details available online: http://dev.alt.textdrive.com/browser/LW/ As well as a short introduction to Lua: http://alt.textdrive.com/lua/19/lua-story-of-o Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ [1] http://www.lua.org/about.html |