Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
May 21, 2020 Hunt Framework 3.1.0 Released, Web Framework for DLang! | ||||
---|---|---|---|---|
| ||||
Hunt Framework is a full stack Web framework based on DLang language. Designed for rapid development of Web servers, similar PHP's Laravel、Java's Spring、Python's Django! ## This major update is as follows: 1. safety - related GET parameter test 2. improve the worker thread, add WokerGroup Modularization 3. the underlying library Stability IO 4. improved Windows platform ## Parameter Check Example Code: ```D classUserController : Controller { ... @Actionstring user(@Min(1) uint id) { auto result = request.valid(); if (!result.isValid()) { string[string] messages = result.messages(); // error } return null; } } ``` |
May 22, 2020 Re: Hunt Framework 3.1.0 Released, Web Framework for DLang! | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | On Thursday, 21 May 2020 at 16:13:57 UTC, zoujiaqing wrote:
> Hunt Framework is a full stack Web framework based on DLang language.
>
> Designed for rapid development of Web servers, similar PHP's Laravel、Java's Spring、Python's Django!
>
> ## This major update is as follows:
>
> 1. safety - related GET parameter test
> 2. improve the worker thread, add WokerGroup Modularization
> 3. the underlying library Stability IO
> 4. improved Windows platform
>
> ## Parameter Check Example Code:
>
> ```D
> classUserController : Controller
> {
> ...
> @Actionstring user(@Min(1) uint id)
> {
> auto result = request.valid();
> if (!result.isValid())
> {
> string[string] messages = result.messages();
> // error
> }
>
> return null;
> }
> }
> ```
A holistic tutorial will help this framework more. The docs are not helpful to me. This is the reason people use vibe because of the better docs, tutorial, and book
|
May 22, 2020 Re: Hunt Framework 3.1.0 Released, Web Framework for DLang! | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | On Thursday, 21 May 2020 at 16:13:57 UTC, zoujiaqing wrote:
> Hunt Framework is a full stack Web framework based on DLang language.
>
> Designed for rapid development of Web servers, similar PHP's Laravel、Java's Spring、Python's Django!
>
> ## This major update is as follows:
>
> 1. safety - related GET parameter test
> 2. improve the worker thread, add WokerGroup Modularization
> 3. the underlying library Stability IO
> 4. improved Windows platform
>
> ## Parameter Check Example Code:
>
> ```D
> classUserController : Controller
> {
> ...
> @Actionstring user(@Min(1) uint id)
> {
> auto result = request.valid();
> if (!result.isValid())
> {
> string[string] messages = result.messages();
> // error
> }
>
> return null;
> }
> }
> ```
You guys a working hard no doubt but a quality tutorial will greatly bring the desire adoption
|
May 25, 2020 Re: Hunt Framework 3.1.0 Released, Web Framework for DLang! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Greatsam4sure | On Friday, 22 May 2020 at 08:44:10 UTC, Greatsam4sure wrote:
> On Thursday, 21 May 2020 at 16:13:57 UTC, zoujiaqing wrote:
>> Hunt Framework is a full stack Web framework based on DLang language.
>>
>> Designed for rapid development of Web servers, similar PHP's Laravel、Java's Spring、Python's Django!
>>
>> ## This major update is as follows:
>>
>> 1. safety - related GET parameter test
>> 2. improve the worker thread, add WokerGroup Modularization
>> 3. the underlying library Stability IO
>> 4. improved Windows platform
>>
>> ## Parameter Check Example Code:
>>
>> ```D
>> classUserController : Controller
>> {
>> ...
>> @Actionstring user(@Min(1) uint id)
>> {
>> auto result = request.valid();
>> if (!result.isValid())
>> {
>> string[string] messages = result.messages();
>> // error
>> }
>>
>> return null;
>> }
>> }
>> ```
>
>
> A holistic tutorial will help this framework more. The docs are not helpful to me. This is the reason people use vibe because of the better docs, tutorial, and book
Thanks watch Hunt Framework! There will be document output next month.
|
May 25, 2020 Re: Hunt Framework 3.1.0 Released, Web Framework for DLang! | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | On Monday, 25 May 2020 at 04:16:57 UTC, zoujiaqing wrote:
> On Friday, 22 May 2020 at 08:44:10 UTC, Greatsam4sure wrote:
>> On Thursday, 21 May 2020 at 16:13:57 UTC, zoujiaqing wrote:
>>> [...]
>>
>>
>> A holistic tutorial will help this framework more. The docs are not helpful to me. This is the reason people use vibe because of the better docs, tutorial, and book
>
> Thanks watch Hunt Framework! There will be document output next month.
It Will be good for the docs to be comprehensive. Tutorials are also highly needed
|
May 25, 2020 Re: Hunt Framework 3.1.0 Released, Web Framework for DLang! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Greatsam4sure | On Monday, 25 May 2020 at 19:59:57 UTC, Greatsam4sure wrote:
> On Monday, 25 May 2020 at 04:16:57 UTC, zoujiaqing wrote:
>> On Friday, 22 May 2020 at 08:44:10 UTC, Greatsam4sure wrote:
>>> On Thursday, 21 May 2020 at 16:13:57 UTC, zoujiaqing wrote:
>>>> [...]
>>>
>>>
>>> A holistic tutorial will help this framework more. The docs are not helpful to me. This is the reason people use vibe because of the better docs, tutorial, and book
>>
>> Thanks watch Hunt Framework! There will be document output next month.
>
> It Will be good for the docs to be comprehensive. Tutorials are also highly needed
Once the documentation is released, it'll be a lot easier for people other than the developers to create tutorials.
|
June 30, 2020 Re: Hunt Framework 3.1.0 Released, Web Framework for DLang! | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | On Thursday, 21 May 2020 at 16:13:57 UTC, zoujiaqing wrote:
> Hunt Framework is a full stack Web framework based on DLang language.
Just found this, poking around for a D HTTP server, and I have to say it looks pretty sweet. Only five reasonable sized dependencies, recursively, all 1st party. Makes use of kqueue, epoll and IOCP. SSL support, HTTP2 support. Websockets support. Not threaded. Comes with a "route" builder baked in, which is a pretty popular way to do web servers. Builders for multipart and urlencoded form bodies. Haven't tried it yet, just read through the code, but I definitely think people should take a look at this.
|
Copyright © 1999-2021 by the D Language Foundation