Watch Star Fork

HuntLabs / huntD

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Hunt is a high-level dlang Web framework that encourages rapid development and clean, pragmatic design. It lets you build high-performance Web applications quickly and easily. http://www.huntframework.com/
Loading...
README.md 1.35 KB

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
*       /public         staticDir:public

Controller example

module app.controller.test;

import hunt;

class TestController : Controller
{
    mixin MakeController;

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

View hunt-skeleton example project source code.

Component based

  1. Routing
  2. Caching
  3. Middleware
  4. Configuration
  5. Validation
  6. Entity
  7. Template

Community

QQ Group: 184183224

Facebook

Comments ( 0 )

You need to Sign in for post a comment

Help Search