Hunt Framework 3.1.0 Released, Web Framework for DLang!

zoujiaqing zoujiaqing at gmail.com
Thu May 21 16:13:57 UTC 2020


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;
         }
     }
```



More information about the Digitalmars-d-announce mailing list