- 授权协议: EPL
- 开发语言:
- 操作系统: 跨平台
- 软件首页: http://hoplon.io/
- 软件文档: http://hoplon.io/#/getting-started/
- 官方下载: https://github.com/hoplon/hoplon/archive/master.zip
软件介绍
Hoplon 是 Web 编程更简单的方式,该项目包含 Web 编程的一些方法和库。采用 Clojure 和 ClojureScript 编写应用。
ClojureScript 代码示例:
(page "foo/bar.html"
(:require [my.lib :as lib]))(defc clicks 0)(html
(head
(title "Hello World")
(link :rel "stylesheet" :href "css/main.css"))
(body
(lib/heading-large "Hello, world!")
(p (text "You've clicked ~{clicks} times."))
(button :on-click #(swap! clicks inc) "Click me!")))对应的 HTML 代码:
<script type="text/hoplon">
(page "foo/bar.html"
(:require [my.lib :as lib]))
(defc clicks 0)</script><html>
<head>
<title>Hello World</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<lib.heading-large>Hello, world!</lib.heading-large>
<p><text>You've clicked ~{clicks} times.</text></p>
<button on-click="{{ #(swap! clicks inc) }}">
Click me! </button>
</body></html>
Head First Python
Paul Barry / O'Reilly Media / 2010-11-30 / USD 49.99
Are you keen to add Python to your programming skills? Learn quickly and have some fun at the same time with Head First Python. This book takes you beyond typical how-to manuals with engaging images, ......一起来看看 《Head First Python》 这本书的介绍吧!
