www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Hunt Framework 3.1.0 Released, Web Framework for DLang!

reply zoujiaqing <zoujiaqing gmail.com> writes:
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!



  1. safety - related GET parameter test
  2. improve the worker thread, add WokerGroup Modularization
  3. the underlying library Stability IO
  4. improved Windows platform



```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 21
next sibling parent reply Greatsam4sure <greatsam4sure yahoo.com> writes:
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!



  1. safety - related GET parameter test
  2. improve the worker thread, add WokerGroup Modularization
  3. the underlying library Stability IO
  4. improved Windows platform



 ```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
parent reply zoujiaqing <zoujiaqing gmail.com> writes:
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!



  1. safety - related GET parameter test
  2. improve the worker thread, add WokerGroup Modularization
  3. the underlying library Stability IO
  4. improved Windows platform



 ```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 24
parent reply Greatsam4sure <greatsam4sure yahoo.com> writes:
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
parent Clarice <cl ar.ice> writes:
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.
May 25
prev sibling next sibling parent Greatsam4sure <greatsam4sure yahoo.com> writes:
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!



  1. safety - related GET parameter test
  2. improve the worker thread, add WokerGroup Modularization
  3. the underlying library Stability IO
  4. improved Windows platform



 ```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 22
prev sibling parent cy <dlang verge.info.tm> writes:
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.
Jun 29