AdonisJS
adonisjs.com
AdonisJS
1–10 of 69 posts
Re: AdonisJS
#2However, you can rectify this, by just not trying to share a class with any of those. In .NET Steve Smith, aka Ardalis shows how to do this with his Clean architecture [1]. One idea is to make a class for each endpoint. This also makes it easier for "Update" classes to share functionality with other "Update" classes and so on.
[1]: https://github.com/ardalis/CleanArchitecture/tree/main/sampl...
Re: AdonisJS
#3Adonis and Redwood are both trying to be the JavaScript version of Rails/Laravel - a traditional active-record based MVC rapid development server application framework.
The last time I looked for one of these (2018) they were immature and now at least in terms of website and documentation they both appear very capable. But if there’s one thing that JS libraries are good at, it’s marketing and slick documentation.
So, curious to hear any experiences with either and especially both.
Is it actually good?
Re: AdonisJS
#4Looking at this, it has similar aspects as ASP.NET Core, and the same flaws as the Controller per class design used. Methods such as "index", "show" and "store" do not share a state, they shouldn't share a class either. However, you can rectify this, by just not trying to share a class with any of those. In .NET Steve Smith, aka Ardalis shows how to do this with his Clean architecture [1]. One idea is to make a class…
What's more egregious to me is that the methods should just match HTTP method names and have 1 controller per route.
Re: AdonisJS
#5Has anyone tried both AdonisJS and RedwoodJS and can compare the two? Adonis and Redwood are both trying to be the JavaScript version of Rails/Laravel - a traditional active-record based MVC rapid development server application framework. The last time I looked for one of these (2018) they were immature and now at least in terms of website and documentation they both appear very capable. But if there’s one thing that…
Re: AdonisJS
#6Re: AdonisJS
#7Re: AdonisJS
#8Anyone else see these types of announcement posts, and it's like they already have thousands of users? Where do y'all learn about these projects so early?
And lastly, this project specifically has been in the making for a good number of years now. So it makes sense that there are quite a few people out there using it.
Re: AdonisJS
#9Anyone else see these types of announcement posts, and it's like they already have thousands of users? Where do y'all learn about these projects so early?