TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Zed Shaw: Tir Web Framework Officially Up

132 pointsby ctkrohnover 14 years ago

7 comments

mikeryanover 14 years ago
So in 2010 Zed has written his own web server which runs his new framework he wrote for the new webapp he wrote.<p>What did you do this year?
评论 #1967812 未加载
评论 #1967945 未加载
评论 #1968545 未加载
评论 #1968794 未加载
评论 #1967809 未加载
评论 #1968309 未加载
评论 #1977424 未加载
评论 #1968637 未加载
评论 #1968278 未加载
评论 #1969221 未加载
评论 #1967818 未加载
mmastracover 14 years ago
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".
评论 #1968433 未加载
viraptorover 14 years ago
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.
评论 #1968442 未加载
评论 #1967839 未加载
mericover 14 years ago
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>. =\
评论 #1968453 未加载
samdover 14 years ago
<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.
评论 #1968449 未加载
jcromartieover 14 years ago
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."
评论 #1967765 未加载
评论 #1967862 未加载
评论 #1968266 未加载
评论 #1969544 未加载
评论 #1968471 未加载
评论 #1975413 未加载
grandalfover 14 years ago
very cool! looking forward to trying it out.