www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Hunt framework 1.0.0 released

reply Brian <zoujiaqing gmail.com> writes:
We are pleased to announce an official version of hunt 1.0 , This 
is an important milestone release!

Features:
  * enhancement Action & Controller
  * rebuild application config
  * support static wwwroot/ path, config item is hunt.http.path
  * redefine Route regex rule
  * upgrade Entity to 1.4.2
  * add Repository module, like spring boot 2 Repository
  * add second level cache
  * enhancement collie http api
  * redesign template engine ( like Django jinja2 & Symfony twig )
  * improvement Session module
  * improvement Cookie module
  * improvement Request API
  * improvement Response API
  * improvement Middleware
  * use kiss.logger module
  * use kiss.net module

source code in github https://github.com/huntlabs/hunt/
documents in wiki https://github.com/huntlabs/hunt/wiki/
hunt framework website http://www.huntframework.com/


use hunt framework:
```bash
git clone https://github.com/huntlabs/hunt-skeleton.git
cd hunt-skeleton/
dub run -v
```

look for your browser:
http://localhost:8080/
Jun 05 2018
next sibling parent reply WebFreak001 <d.forum webfreak.org> writes:
On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
 We are pleased to announce an official version of hunt 1.0 , 
 This is an important milestone release!

 [...]
cool! Is the hunt-skeleton always stable? I can add it as template to the code-d templates, I think it will make it a lot easier to get into.
Jun 05 2018
next sibling parent Heromyth <bitworld qq.com> writes:
On Tuesday, 5 June 2018 at 07:54:49 UTC, WebFreak001 wrote:
 On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
 We are pleased to announce an official version of hunt 1.0 , 
 This is an important milestone release!

 [...]
cool! Is the hunt-skeleton always stable? I can add it as template to the code-d templates, I think it will make it a lot easier to get into.
Maybe, more templates can be added like hunt with boostrap 4, hunt with Ract.js and hunt with Angular etc.
Jun 05 2018
prev sibling parent Brian <zoujiaqing gmail.com> writes:
On Tuesday, 5 June 2018 at 07:54:49 UTC, WebFreak001 wrote:
 On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
 We are pleased to announce an official version of hunt 1.0 , 
 This is an important milestone release!

 [...]
cool! Is the hunt-skeleton always stable? I can add it as template to the code-d templates, I think it will make it a lot easier to get into.
Very cool! We keep the hunt-skeleton stable :)
Jun 05 2018
prev sibling next sibling parent reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
 We are pleased to announce an official version of hunt 1.0 ,
How is Hunt different from Vibe?
Jun 05 2018
parent Brian <zoujiaqing gmail.com> writes:
On Tuesday, 5 June 2018 at 08:17:30 UTC, Per Nordlöw wrote:
 On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
 We are pleased to announce an official version of hunt 1.0 ,
How is Hunt different from Vibe?
Thanks your question :) Vibe.d like vert.x in java! It's an library. Hunt like spring boot in java! Hunt is an web framework.
Jun 05 2018
prev sibling next sibling parent reply Chris <wendlec tcd.ie> writes:
On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
 We are pleased to announce an official version of hunt 1.0 , 
 This is an important milestone release!

 [...]
/usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status Error: linker exited with status 1
Jun 05 2018
parent reply noclear <noclear 163.com> writes:
On Tuesday, 5 June 2018 at 13:07:49 UTC, Chris wrote:
 On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
 We are pleased to announce an official version of hunt 1.0 , 
 This is an important milestone release!

 [...]
/usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status Error: linker exited with status 1
Hunt dependency ORM framework Entity and Entity need link mysqlclient, so you need to have the following dependency installed: libmysqlclient.
Jun 06 2018
parent Chris <wendlec tcd.ie> writes:
On Wednesday, 6 June 2018 at 08:35:27 UTC, noclear wrote:
 On Tuesday, 5 June 2018 at 13:07:49 UTC, Chris wrote:
 On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
 We are pleased to announce an official version of hunt 1.0 , 
 This is an important milestone release!

 [...]
/usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status Error: linker exited with status 1
Hunt dependency ORM framework Entity and Entity need link mysqlclient, so you need to have the following dependency installed: libmysqlclient.
Yep, thanks for your reply. I figured I'd need the mysql(client) lib, but I could't find it for Manjaro / ArchLinux when I was testing Hunt, so I gave up. I don't like it when I'm told I just need to run a simple command for it to work...only for it to fail.
Jun 06 2018
prev sibling parent reply Steven Schveighoffer <schveiguy yahoo.com> writes:
On 6/5/18 3:25 AM, Brian wrote:

 source code in github https://github.com/huntlabs/hunt/
 documents in wiki https://github.com/huntlabs/hunt/wiki/
 hunt framework website http://www.huntframework.com/
Is there a way to view your website in English? I found a popup on the bottom that has "English" as a selection, but it doesn't do anything. -Steve
Jun 05 2018
next sibling parent Daniel Kozak <kozzi11 gmail.com> writes:
On Tue, Jun 5, 2018 at 3:54 PM, Steven Schveighoffer via
Digitalmars-d-announce <digitalmars-d-announce puremagic.com> wrote:

 On 6/5/18 3:25 AM, Brian wrote:

 source code in github https://github.com/huntlabs/hunt/
 documents in wiki https://github.com/huntlabs/hunt/wiki/
 hunt framework website http://www.huntframework.com/
Is there a way to view your website in English? I found a popup on the bottom that has "English" as a selection, but it doesn't do anything. -Steve
https://translate.googleusercontent.com/translate_c?depth=3D1&hl=3Dcs&rurl= =3Dtranslate.google.com&sl=3Dzh-CN&sp=3Dnmt4&tl=3Den&u=3Dhttp://www.huntfra= mework.com/&xid=3D17259,1500002,15700022,15700124,15700149,15700168,1570017= 3,15700186,15700191,15700201&usg=3DALkJrhiSdndhn6w5ujhGrkPtuxcHYpZFfA
Jun 05 2018
prev sibling parent Brian <zoujiaqing gmail.com> writes:
On Tuesday, 5 June 2018 at 13:54:25 UTC, Steven Schveighoffer 
wrote:
 On 6/5/18 3:25 AM, Brian wrote:

 source code in github https://github.com/huntlabs/hunt/
 documents in wiki https://github.com/huntlabs/hunt/wiki/
 hunt framework website http://www.huntframework.com/
Is there a way to view your website in English? I found a popup on the bottom that has "English" as a selection, but it doesn't do anything. -Steve
We're going to rebuild site with hunt 1.0, use English as the default language.
Jun 05 2018