Why I am switching to Go
Brian via Digitalmars-d
digitalmars-d at puremagic.com
Thu Sep 22 01:06:41 PDT 2016
On Tuesday, 20 September 2016 at 19:14:41 UTC, Intersteller wrote:
> Vibe.d looks great on the surface but lack of documentation,
> commonly used functionality, and that it looks like it is dying
> suggests that putting any effort in to it will be a waste. Go,
> OTH, has tons of frameworks, most are actively support, very
> well documented(beego, revel, etc), and feature rich.
>
> If I am going to put any work in to something, I want to make
> sure that I can depend on it in the future. It doesn't look
> like this is the case with vibe.d. Hopefully vibe.d will not
> die and will mature enough in the future so it actually
> provides a good alternative to the current web frameworks.
You can try hunt framework:
git clone https://github.com/putaolabs/hunt-skeleton.git myproject
cd myproject
dub run
Open the URL with the browser:
http://localhost:8080/
OK, you seccessed.
You can edit config/application.conf to change http port.
You can edit config/routes to setting your router options, like:
GET / index.index
POST / index.hello
You can add yourself Controller to source app/controller
directory.
You can like use java's play framework / php's laravel / ruby's
rails / python's django framework to use dlang's hunt framework (
https://github.com/putaolabs/hunt/ ).
We are not perfect, but we will continue to update, together to
create a perfect D programming language framework.
More information about the Digitalmars-d
mailing list