News for hackers. Stuff that matters.

amanvirk

Re:AdonisJS on Thursday June 20, 2024 @03:11PM (#40742161)
Looks great! +1 for using JSX as a backend templating layer.

We played a bit with Kita too and its great

Re:AdonisJS on Thursday June 20, 2024 @02:55PM (#40741968)
That was sarcasm on your original comment that you have edited 3 times.

Anyways, don't take it seriously and have fun

Re:AdonisJS on Thursday June 20, 2024 @02:37PM (#40741769)
Heck. 3yrs is quite long. Ill drop anything that doesn't allow me to ship daily
Re:AdonisJS on Thursday June 20, 2024 @02:27PM (#40741663)
We came 10yrs ago
Re:AdonisJS on Thursday June 20, 2024 @02:25PM (#40741648)
Hell yes. Maintaining this framework for 10years and only recently we have started getting attention because of all this Laravel vs JS drama!
Re:AdonisJS on Thursday June 20, 2024 @02:24PM (#40741622)
Yeah being subjetive is fine. We all have tastes and preferences and that's why there are so many frameworks and ecosystems.

Going to nitpick a little here

Hono docs language says, they wrap the standard Request object that you can access via HonoRequest.raw https://github.com/honojs/hono/blob/main/src/request.ts#L26

Annotations/Decorators are in stage3 of JavaScript. But I agree they are not super common in JS world except TS heavy libs or frameworks. Btw we aren't big fan of them and use them sparsely in models and commands only

Re:AdonisJS on Thursday June 20, 2024 @02:13PM (#40741532)
Fair criticism of the JS ecosystem. Things are always changing.

Btw, its hard to compare two ecosystems with a checklist. For example, Rails doesn't have inbuilt support for Auth, Authorization or Model factories and you rely on community solutions for those.

Similarly AdonisJS is missing some core integrations like queues and you have to rely on community solutions

Re:AdonisJS on Thursday June 20, 2024 @02:11PM (#40741510)
Re:AdonisJS on Thursday June 20, 2024 @02:07PM (#40741472)
Too much misinformation

- Locks you to their own Validator. Nope, Run npm install Zod and you have it working

- Their own Response/Request classes. Isn't it same with Fastify, Express and other frameworks?

- Annotations, Aren't they part of JavaScript?

Re:Ask HN: Easiest way to build a CRUD app? on Monday February 14, 2022 @12:08AM (#30328588)
ORM, Auth, Session and templates are first party packages and maintained by the core team.