Re:Adonis.js v2 released – Laravel for Node.js
by taternuts on Saturday January 02, 2016 @07:15PM
(#10828741)
According to who/what? I've never heard of this framework, but a quick glance at the source and I find it hard to believe it comes close to Laravel's features. I guess it's the week to post about Node.js MVC frameworks with the whole Sails/Trails thing
[ Parent
| on HN ]
Re:Adonis.js v2 released – Laravel for Node.js
by gremlinsinc on Saturday January 02, 2016 @07:38PM
(#10828846)
I'm not sure what you're looking at... but it does resemble laravel quite a bit to me.. the way relations are setup is almost identical
laravel: public function resources(){
return $this->belongsToMany('App\Resource');
}
Adonis: posts () { return this.hasMany('App/Model/Post') }
The routes/middleware page seems even closer to laravel 5's, that's all I've looked through so far, but it does look interesting at least as far as frameworks go, though I'd wait a bit before putting anything into production on it, till it gains some more momentum.
Re:Adonis.js v2 released – Laravel for Node.js
by catshirt on Saturday January 02, 2016 @09:01PM
(#10829137)
i mean, these features resemble basically every MVC ever