www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Archttp 1.0.0 released! Simple, Flexible, Performance! DLang web

reply zoujiaqing <zoujiaqing gmail.com> writes:
Archttp is a Web server framework written in D programming 
language with Golang concurrency capability. Archttp has an 
ExpressJS-like API design, which makes it extremely easy to use.


  1. Simple
  2. Flexible
  3. Performance


https://github.com/kerisy/archttp/blob/main/docs/QuickStart.md


```D
import archttp;

void main()
{
     auto app = new Archttp;

     app.get("/", (req, res) {
         res.send("Hello, World!");
     });

     app.listen(8080);
}
```


https://github.com/kerisy/archttp
May 22
parent reply mw <mingwu gmail.com> writes:
On Sunday, 22 May 2022 at 21:08:24 UTC, zoujiaqing wrote:
 Archttp is a Web server framework written in D programming 
 language with Golang concurrency capability. Archttp has an 
 ExpressJS-like API design, which makes it extremely easy to use.


  1. Simple
  2. Flexible
  3. Performance


 https://github.com/kerisy/archttp/blob/main/docs/QuickStart.md


 ```D
 import archttp;

 void main()
 {
     auto app = new Archttp;

     app.get("/", (req, res) {
         res.send("Hello, World!");
     });

     app.listen(8080);
 }
 ```


 https://github.com/kerisy/archttp
How does this lib differ from your hunt lib? different design goals? Do you want to give a comparison summary?
May 22
parent zoujiaqing <zoujiaqing gmail.com> writes:
On Sunday, 22 May 2022 at 23:38:50 UTC, mw wrote:
 How does this lib differ from your hunt lib? different design 
 goals? Do you want to give a comparison summary?
Archttp: * Simple * Flexible * Performance Hunt Framework: * Powerful * Rule restrictions * Configuration priority
May 22