- 授权协议: Apache
- 开发语言: D语言
- 操作系统: 跨平台
- 软件首页: https://www.huntframework.com/
- 软件文档: https://gitee.com/huntlabs/hunt-framework/wikis
软件介绍
Hunt framework
Hunt framework 是一个由 HuntLabs 推出使用 Dlang 语言开发的全栈 web 框架,易用性和完整性都贴近于 Laravel / Django / Spring boot 等主流框架的设计,优势主要体现在部署方面,不需要搭建运行环境就可开启 web 服务。而且 D 语言自身是一个性能极高的编译型语言,我们可以基于 hunt framework 非常简单的开发出高性能的 Web 服务。
文档
Start read hunt framework wiki for documents.
项目创建
git clone https://github.com/huntlabs/hunt-skeleton.git myproject cd myproject dub run -v
在浏览器打开下述 URL:
http://localhost:8080/
Router 配置
config/routes
# # [GET,POST,PUT...] path controller.action # GET / index.index GET /users user.list POST /user/login user.login * /images staticDir:public/images
控制器案例
module app.controller.index;
import hunt.framework;
class IndexController : Controller
{
mixin MakeController;
@Action
string index()
{
return "Hello world!";
}
}请看 hunt-skeleton 或 hunt-examples.
组件
Task Worker
Security
WebSocket (with STOMP)
Probability and Computing
Michael Mitzenmacher、Eli Upfal / Cambridge University Press / 2005-01-31 / USD 66.00
Assuming only an elementary background in discrete mathematics, this textbook is an excellent introduction to the probabilistic techniques and paradigms used in the development of probabilistic algori......一起来看看 《Probability and Computing》 这本书的介绍吧!
