TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

End-to-End CoffeeScript (slides from RailsConf)

2 点作者 TrevorBurnham大约 14 年前

1 comment

TrevorBurnham大约 14 年前
Slides from a talk I gave at RailsConf 2011 yesterday morning.<p>A major theme of the conference was rediscovering JavaScript (in part by using tools like CoffeeScript that make the language more palatable to Rubyists). I wanted to talk about what may be the next stage of that: Running the same code on both the front end (in the browser) and the back end. I gave an example of using this technique for form validations, which is great when there's complex validation logic that you don't want to write twice in two different languages.<p>The example project can be found at <a href="https://github.com/TrevorBurnham/EndToEnd" rel="nofollow">https://github.com/TrevorBurnham/EndToEnd</a>