Re: Hunt Framework 3.0.0 Released, Web Framework for DLang!

2020-05-01 Thread welkam via Digitalmars-d-announce

On Friday, 1 May 2020 at 16:32:27 UTC, Heromyth wrote:

On Friday, 1 May 2020 at 13:11:23 UTC, welkam wrote:

On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote:

<...>
I did a quick look and it looks like http server + some 
goodies. Is this a correct assessment? If yes what is the 
status of http 2.0, ssl and bzip support?


Not exactly. The whole Hunt Framework includes many other 
stuffs like database, redis, amqp etc. except for HttpServer 
and HttpClient.


Of course, the HTTP 2.0 and TLS are supported in Hunt 
Framework. Here are some simple demos:

https://github.com/huntlabs/hunt-http/tree/master/examples/H2C-Demo
https://github.com/huntlabs/hunt-http/tree/master/examples/HttpDemo


Took a look at https://github.com/huntlabs and it seems that 
these guys have everything in place to make web facing 
applications. Thats a lot of work. I should take it out for a 
spin to see how it "handles"


Re: Hunt Framework 3.0.0 Released, Web Framework for DLang!

2020-05-01 Thread Heromyth via Digitalmars-d-announce

On Friday, 1 May 2020 at 13:11:23 UTC, welkam wrote:

On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote:

<...>
I did a quick look and it looks like http server + some 
goodies. Is this a correct assessment? If yes what is the 
status of http 2.0, ssl and bzip support?


Not exactly. The whole Hunt Framework includes many other stuffs 
like database, redis, amqp etc. except for HttpServer and 
HttpClient.


Of course, the HTTP 2.0 and TLS are supported in Hunt Framework. 
Here are some simple demos:

https://github.com/huntlabs/hunt-http/tree/master/examples/H2C-Demo
https://github.com/huntlabs/hunt-http/tree/master/examples/HttpDemo


Re: Hunt Framework 3.0.0 Released, Web Framework for DLang!

2020-05-01 Thread Guillaume Piolat via Digitalmars-d-announce

On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote:


Developers can build web server-side applications as fast as 
laravel and spring boot;This version further simplifies the 
operation, improves the friendliness of developers, and allows 
more PHP and Java developers to start developing web services 
in a few minutes.





Sounds like a gigantic amount of work, congratulations!


Re: Hunt Framework 3.0.0 Released, Web Framework for DLang!

2020-05-01 Thread welkam via Digitalmars-d-announce

On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote:

<...>
I did a quick look and it looks like http server + some goodies. 
Is this a correct assessment? If yes what is the status of http 
2.0, ssl and bzip support?


Re: Hunt Framework 3.0.0 Released, Web Framework for DLang!

2020-05-01 Thread Greatsam4sure via Digitalmars-d-announce

On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote:
This version is an important version jointly created by 
huntlabs and the team developers of Putao technology service 
end through nearly half a year's development iteration. Relying 
on the dependency injection technology, the module division of 
the whole framework becomes more reasonable and easy to expand 
and maintain.


[...]



Thanks for the greatwork. This really sound or look promising. 
Keep up the good work. Is there any book on the or tutorial on 
the huntframework?


Hunt Framework 3.0.0 Released, Web Framework for DLang!

2020-05-01 Thread zoujiaqing via Digitalmars-d-announce
This version is an important version jointly created by huntlabs 
and the team developers of Putao technology service end through 
nearly half a year's development iteration. Relying on the 
dependency injection technology, the module division of the whole 
framework becomes more reasonable and easy to expand and maintain.


Now you can easily use dlang language to build stable server-side 
applications, including the support of restful API, grpc, 
rabbitmq, redismq, redis cache, momory cache, entity ORM and 
other key technologies.


Developers can build web server-side applications as fast as 
laravel and spring boot;This version further simplifies the 
operation, improves the friendliness of developers, and allows 
more PHP and Java developers to start developing web services in 
a few minutes.


## Version important update
 * Reconstruct the core of the framework and rely on the 
dependency injection technology to enhance the scalability;
 * The performance of binary serialization module is improved by 
1000%, which is 100% faster than that of C + + binary library 
cereal;
 *  Enhance the operation of JSON serialization, support the 
mutual conversion and binding of more complex objects and JSON 
strings;
 *  Enhanced error handling, in case of various 500 errors, 
detailed error stack information can be displayed according to 
the settings;
 *  Integrate the latest hunt console, and add parameters for 
configuration during startup;
 *  The form of configuration file is redesigned to facilitate 
the user-defined configuration file to be loaded uniformly by the 
framework and pave the way for the future configuration center;
 *  After refactoring, many basic framework service provider 
modules are added;
 *  Support more stable worker mode, improve the underlying 
concurrency;
 *  Support the latest rabbitmq, based on hunt AMQP 
implementation;
 *  Redis reconstructs a new connection pool scheme, which is 
more stable;
 *  Database and redis object unified recycling management 
mechanism to better control memory allocation;
 *  Integrated user security authentication scheme based on hunt 
Shiro + hunt JWT;
 *  Both database and redis use hunt net network library to 
realize communication, reduce dependence on the third-party 
library, and enhance traceability;
 *  Improve the stability of epoll concurrency model on Linux 
platform;

 *  Support the IOCP model of Windows platform;
 *  Improve the stability of kqueue concurrency model of macOS 
platform;
 *  Remove the stomp module because it is not commonly used in 
general projects;
 *  The API of hunt cache is improved, and the latest binary 
serialization library is adopted at the bottom;
 *  Remove the routing module and integrate the routing module in 
the hunt HTTP library;

 *  Enhance and improve request and response objects;
 *  Enhance httpclient in hunt HTTP library, including various 
localized cookie operations and stability improvement of file 
upload;

 *  Integrate breadcrumbs to make crumbs easier to manage;
 *  Add the asynchronous operation scheme of taskexecutor based 
on the internal message queue (rabbitmq, redismq, memorymq);
 *  Enhance the compatibility of the twig template engine, closer 
to the usage habits of PHP developers;


## Sample code

import hunt.framework;

void main(string[] args)
{
app().run(args);
}

## Code resources
Gitee for Chinese users: https://gitee.com/huntlabs/hunt-framework
Github for globle users: 
https://github.com/huntlabs/hunt-framework


## Related documents and support
D language Chinese community: https://forums.dlangchina.com
Official wiki document: 
https://github.com/huntlabs/hunt-framework/wiki

Official Homepage: https://www.huntlabs.net