[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Looking For Feedback On A Fun Web Framework I Did
- From: Duncan Cross <duncan.cross@...>
- Date: Fri, 3 Dec 2010 03:25:25 +0000
On Fri, Dec 3, 2010 at 1:34 AM, Zed Shaw <zed.shaw@gmail.com> wrote:
> Hi Everyone,
>
> Sort of new, but I've been working in Lua for the last few months
> after having used it back in 2004. I have a small little project that
> I started and some Lua regulars said I should mention it here.
>
> The project is Tir:
>
> http://tir.mongrel2.org/
>
> It's a little "micro framework" written in Lua that works with my web
> server Mongrel2:
>
> http://mongrel2.org/
>
>
> I'm relatively new to Lua, so I'd love it if people could take a look
> at it and let me know what you think. The important features are on
> the main page, but to summarize:
>
>
> 1. It allows you to do coroutine, stateless, or evented styles of handlers.
> 2. It uses lots of little processes, each handling one "interface",
> rather than one giant monolithic process.
> 3. Mongrel2 handles all the heavy lifting of routing and serving
> files, so the handlers do very little.
> 4. The template language is dead simple "lua inside templates".
> 5. It uses 0MQ (http://zeromq.org) for communications so you can do
> tons of stuff I'm not even touching yet.
>
> Anyway, feedback and criticisms welcome.
>
> Zed
>
>
Hi Zed,
This looks very interesting, thank you for bringing it to the list. I
especially like the concept of handler styles for coroutine vs.
evented etc., and the syntax design in the code snippets looks great.
I can't see how to actually grab the Tir code from the site, though.
I'm sorry if I'm missing something obvious. Could you nudge me in the
right direction?
-Duncan
(Also - and possibly I'm missing a deliberate joke here - is the bit
in the paragraph about Tir's philosophy promising not to shove
"dogman" in my face a typo? :)