Jump to page: 1 2
Thread overview
Hunt Framework 3.0.0 Released, Web Framework for DLang!
May 01
welkam
May 01
Heromyth
May 01
welkam
May 06
Dukc
May 07
Tony
May 08
Panke
May 01
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
May 01
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?
May 01
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?
May 01
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!
May 01
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
May 01
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"
May 06
On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote:
> [snip]

Thanks, but: Some of the files have Apache license, but some have none. I think you should add a license to the whole repository that would cover those files that don't have their own.

May 07
On Wednesday, 6 May 2020 at 22:28:28 UTC, Dukc wrote:
> On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote:
>> [snip]
>
> Thanks, but: Some of the files have Apache license, but some have none. I think you should add a license to the whole repository that would cover those files that don't have their own.

This library has potential license issues as it has many files, at least on the core section that come from OpenJDK. Even the Java specific  comments have been left I, such as this in AbstractCollection.d . The OpenJDK is GPL with static linking exception. It probably isn't kosher to take those files and make them Apache 2.0, even with modifications.

This class is a member of the
 * <a href="{@docRoot}/java/util/package-summary.html#CollectionsFramework">
 * Java Collections Framework</a>


May 07
On Wednesday, 6 May 2020 at 22:28:28 UTC, Dukc wrote:
> On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote:
>> [snip]
>
> Thanks, but: Some of the files have Apache license, but some have none. I think you should add a license to the whole repository that would cover those files that don't have their own.

OK, thanks ;)
May 08
On Thursday, 7 May 2020 at 05:04:12 UTC, zoujiaqing wrote:
> On Wednesday, 6 May 2020 at 22:28:28 UTC, Dukc wrote:
>> On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote:
>>> [snip]
>>
>> Thanks, but: Some of the files have Apache license, but some have none. I think you should add a license to the whole repository that would cover those files that don't have their own.
>
> OK, thanks ;)

I have a somewhat stupid question. I asked it on reddit, but I got no answer there.
I haven't done much with web or networking in general until now, thus excuse my ignorance.

What is the difference between hunt and vibe-d?
« First   ‹ Prev
1 2