hunt 1.2.0

A high performance full-stack Web framework.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Build Status

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

You can read wiki.

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;

class IndexController : Controller
{
    mixin MakeController;

    @Action
    string index()
    {
        return "Hello world!";
    }
}

View hunt-skeleton example project source code.

Component based

  1. Routing
  2. Caching
  3. Middleware
  4. Configuration
  5. Validation
  6. Entity & Repository
  7. Template Engine
  8. Task Worker
  9. Security

Community

QQ Group: 184183224

Github

Authors:
  • zoujiaqing
  • zhangyuchun
  • zhangxueping
  • gaoxincheng
Dependencies:
entity, cache, kiss, collie
Versions:
1.2.0 2018-Jul-17
1.1.1 2018-Jun-22
1.1.0 2018-Jun-21
1.0.3 2018-Jun-12
1.0.2 2018-Jun-07
Show all 10 versions
Download Stats:
  • 0 downloads today

  • 2 downloads this week

  • 16 downloads this month

  • 1993 downloads total

Score:
2.6
Short URL:
hunt.dub.pm