I love the natural style of page conversation on the example page. As a Java developer, I wish that this style were possible on the servlet platform:<p><pre><code> local login_page = Tir.view("login.html")
local login_form = Tir.form { 'login_name', 'password'}
local function login(web, req)
local params = login_form:parse(req)
repeat
params = web:prompt(login_page {form=params, logged_in=false})
until login_form:valid(params)
return web:redirect('/')
end
Tir.start {route='/Login', main=login}
</code></pre>
Also, +1 to this: "the framework creator shouldn't be shoving stateful/stateless dogma in your face".
This one really surprised me: "Finally, there's not much for deployment. I run my apps in GNU screen and that's about it." Seriously? Is he that lucky, serves that little traffic, or does he run with redundant power, network, server and 24/7 monitoring in an inaccessible bunker?<p>I haven't been able to run even my toy web apps without something like monit - due to both things under my control and outside of it.
Last time this was posted I was really interested in it. So interested in fact, I built a django-style template library to go with it because I really liked 'extends' and 'block'.<p>Github
<a href="https://github.com/meric/tier/" rel="nofollow">https://github.com/meric/tier/</a><p>Example
<a href="https://github.com/meric/tier/blob/master/main.lua" rel="nofollow">https://github.com/meric/tier/blob/master/main.lua</a>
<a href="http://pastehtml.com/view/1c26ovp.html" rel="nofollow">http://pastehtml.com/view/1c26ovp.html</a><p>Zed would think this is contradicting the point of Tir, though; it being a <i>micro-framework</i>. =\
<p><pre><code> -------------- NO TESTS ----------------
You must work at a startup.
</code></pre>
Brilliant.<p>Hype.la is also pretty slick. Maybe it will become the blogroll of open-source projects.
Very cool. I was just looking for other Seaside-style web frameworks today. The "natural style" mode in Tir is just like the main way to build web apps in Seaside.<p>Aside from Lua and Smalltalk, what other languages could host this kind of framework? I know Ruby 1.9 has Wee, but that doesn't seem to be "ready for prime time."