hunt-framework

所属分类:云数据库/云存储
开发工具:D
文件大小:170KB
下载次数:0
上传日期:2022-03-03 03:24:30
上 传 者sh-1993
说明:  D编程语言的Web框架。全堆栈高性能。
(A Web framework for D Programming Language. Full-stack high-performance.)

文件列表:
.travis.yml (28, 2022-03-03)
dub.json (551, 2022-03-03)
framework.png (11054, 2022-03-03)
source (0, 2022-03-03)
source\hunt (0, 2022-03-03)
source\hunt\framework (0, 2022-03-03)
source\hunt\framework\Exceptions.d (595, 2022-03-03)
source\hunt\framework\Init.d (2506, 2022-03-03)
source\hunt\framework\Simplify.d (9278, 2022-03-03)
source\hunt\framework\Version.d (698, 2022-03-03)
source\hunt\framework\application (0, 2022-03-03)
source\hunt\framework\application\AbstractBootstrap.d (130, 2022-03-03)
source\hunt\framework\application\Application.d (16799, 2022-03-03)
source\hunt\framework\application\HostEnvironment.d (1535, 2022-03-03)
source\hunt\framework\application\closer (0, 2022-03-03)
source\hunt\framework\application\closer\EntityCloser.d (294, 2022-03-03)
source\hunt\framework\application\closer\RedisCloser.d (273, 2022-03-03)
source\hunt\framework\application\closer\package.d (165, 2022-03-03)
source\hunt\framework\application\package.d (407, 2022-03-03)
source\hunt\framework\auth (0, 2022-03-03)
source\hunt\framework\auth\Auth.d (8216, 2022-03-03)
source\hunt\framework\auth\AuthOptions.d (232, 2022-03-03)
source\hunt\framework\auth\AuthRealm.d (1703, 2022-03-03)
source\hunt\framework\auth\AuthService.d (689, 2022-03-03)
source\hunt\framework\auth\BasicAuthRealm.d (2078, 2022-03-03)
source\hunt\framework\auth\Claim.d (530, 2022-03-03)
source\hunt\framework\auth\ClaimTypes.d (437, 2022-03-03)
source\hunt\framework\auth\HuntShiroCache.d (3308, 2022-03-03)
source\hunt\framework\auth\Identity.d (9599, 2022-03-03)
source\hunt\framework\auth\JwtAuthRealm.d (3166, 2022-03-03)
source\hunt\framework\auth\JwtToken.d (491, 2022-03-03)
source\hunt\framework\auth\JwtUtil.d (2131, 2022-03-03)
source\hunt\framework\auth\ShiroCacheManager.d (560, 2022-03-03)
source\hunt\framework\auth\SimpleUserService.d (2776, 2022-03-03)
source\hunt\framework\auth\UserDetails.d (1568, 2022-03-03)
source\hunt\framework\auth\UserService.d (440, 2022-03-03)
source\hunt\framework\auth\guard (0, 2022-03-03)
... ...

[![Build Status](https://travis-ci.org/huntlabs/hunt-framework.svg?branch=master)](https://travis-ci.org/huntlabs/hunt-framework) ## Hunt framework [Hunt](http://www.huntframework.com/) is a high-level [D Programming Language](http://dlang.org/) Web framework that encourages rapid development and clean, pragmatic design. It lets you build high-performance Web applications quickly and easily. ![Framework](framework.png) ## Getting Started - [Installation](https://github.com/huntlabs/hunt-framework-docs/blob/master/installation.md) - [Server Configuration](https://github.com/huntlabs/hunt-framework-docs/blob/master/configuration.md) ### Create a project ```bash git clone https://github.com/huntlabs/hunt-skeleton.git myproject cd myproject dub run -v ``` Open the URL with the browser: ```bash http://localhost:8080/ ``` ### Router config config/routes ```conf # # [GET,POST,PUT...] path controller.action # GET / index.index GET /users user.list POST /user/login user.login * /images staticDir:public/images ``` ### Add Controller ```D module app.controller.index; import hunt.framework; class IndexController : Controller { mixin MakeController; @Action string index() { return "Hello world!"; } } ``` For more, see [hunt-skeleton](https://github.com/huntlabs/hunt-skeleton) or [hunt-examples](https://github.com/huntlabs/hunt-examples). ## Components ### Basics - [Routing](https://github.com/huntlabs/hunt-framework-docs/blob/master/routing.md) - [Middleware](https://github.com/huntlabs/hunt-framework-docs/blob/master/middleware.md) - [Controller](https://github.com/huntlabs/hunt-framework-docs/blob/master/controllers.md) - [Request](https://github.com/huntlabs/hunt-framework-docs/blob/master/requests.md) - [Response](https://github.com/huntlabs/hunt-framework-docs/blob/master/responses.md) - [Session](https://github.com/huntlabs/hunt-framework-docs/blob/master/session.md) - [Validation](https://github.com/huntlabs/hunt-framework-docs/blob/master/validation.md) - [Logging](https://github.com/huntlabs/hunt-framework-docs/blob/master/logging.md) ### Security - [Authorization](https://github.com/huntlabs/hunt-framework-docs/blob/master/authorization.md) ### Database - [Database ORM](https://github.com/huntlabs/hunt-framework-docs/blob/master/entity.md) - [Redis](https://github.com/huntlabs/hunt-framework-docs/blob/master/redis.md) - [Pagination](https://github.com/huntlabs/hunt-framework-docs/blob/master/pagination.md) ### Frontend - [View Templates](https://github.com/huntlabs/hunt-framework-docs/blob/master/views.md) - [Localization](https://github.com/huntlabs/hunt-framework-docs/blob/master/localization.md) ### Digging Deeper - [HTTP Client](https://github.com/huntlabs/hunt-framework-docs/blob/master/http-client.md) - [Cache](https://github.com/huntlabs/hunt-framework-docs/blob/master/cache.md) - [Message Queue](https://github.com/huntlabs/hunt-framework-docs/blob/master/queues.md) - [Scheduling](https://github.com/huntlabs/hunt-framework-docs/blob/master/scheduling.md) ## Resources - [Documentation](https://github.com/huntlabs/hunt-framework-docs) - [Articles](https://github.com/huntlabs/hunt-framework-articles) - [API](http://hunt-framework.dpldocs.info/hunt.framework.html) ## Community - [Issues](https://github.com/huntlabs/hunt-framework/issues) - QQ Group: 184183224 - [D语言中文社区](https://forums.dlangchina.com/)

近期下载者

相关文件


收藏者