Sunday, 1 July 2018

Node and automatic CRUD?

About ten years ago I started creating some websites, services and mobile apps. Java was my main language and JSP worked very well. Then some PHP, then Django for some years and then Node with Express and MongoDB. Finally, I replaced Express with Hapi and I've been hap(p)y for 2-3 years. The search was over!Nevertheless, I believe I could save a lot of time doing things differently or using different tools. My main struggle is about models, entities, object, call them as you like. A simple change in my models needs hours of work on the related views and everything is manual. Read: an error from my side can lead to unpredictable things on the database.Hapi+MongoDB and manual code writing for everything gives me power to do exactly what I want. But sometimes I really miss some "good old fashioned" automatic CRUD generators! For a short period of time I used Drupal and it was great to change models, adding fields, removing them, quick experimenting with perfect views automatically generated.Is there anything in 2018 I could do to work in a better/quicker way with code that will manipulate data on the db?On the frontend side there's not much we can do: you write a webapp and you must feed it with appropriate data coming from the backend. But some help on the "administration panel" side would be greatly appreciated. The Django admin panel was a good example of what I'm looking for. But more powerful. Not just CRUD on defined models... I'd like a framework that graphically (or not) enables me to define models and that generates the views for me.Thank you for your help!

Submitted July 01, 2018 at 05:35PM by daliz

No comments:

Post a Comment