hunt-framework ~v1.x
A high performance full-stack Web framework.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Hunt framework
Hunt is a high-level D Programming Language Web framework that encourages rapid development and clean, pragmatic design. It lets you build high-performance Web applications quickly and easily.
Documents
Start read hunt framework wiki for documents.
Create project
git clone https://github.com/huntlabs/hunt-skeleton.git myproject
cd myproject
dub run -v
Open the URL with the browser:
http://localhost:8080/
Router config
config/routes
#
# [GET,POST,PUT...] path controller.action
#
GET / index.index
GET /users user.list
POST /user/login user.login
* /images staticDir:public/images
Controller example
module app.controller.index;
import hunt.framework;
class IndexController : Controller
{
mixin MakeController;
@Action
string index()
{
return "Hello world!";
}
}
View hunt-skeleton example project source code.
Component based
- Routing
- Caching
- Middleware
- Configuration
- Validation
- Entity & Repository
- Template Engine
- Task Worker
- Security
Community
QQ Group: 184183224
- Registered by zoujiaqing
- ~v1.x released 5 years ago
- huntlabs/hunt-framework
- Apache-2.0
- Copyright (C) 2015-2018, Shanghai Putao Technology Co., Ltd
- Authors:
- Dependencies:
- hunt-entity, kiss, collie, hunt-cache
- Versions:
-
3.4.6 2021-Dec-27 3.4.6-rc.6 2021-Dec-27 3.4.6-rc.1 2021-Jul-27 3.4.5 2021-Jul-27 3.3.31-rc.4 2022-Mar-03 - Download Stats:
-
-
0 downloads today
-
2 downloads this week
-
8 downloads this month
-
3584 downloads total
-
- Score:
- 2.6
- Short URL:
- hunt-framework.dub.pm