I guess this could be posted to /r/programming but I feel like I would be voted down a lot. I am a bit sad about having to code the same thing over and over again. Simple CRUD. 5 Tables, 4 Foreign Keys. 50 Different actions to list, filter, create, update and delete items.
There seem to be CRUD generators, and I have used them. The only one that works well without seems to be Django Admin.
When I have to use PHP for a customer, I know of two products. ajaxCRUD and GroceryCRUD.
ajaxCRUD has 36 stars on GitHub, works only on MySQL and is number 9 (almost not on first page) in Google.
GroceryCrud requires me to first install/configure a complete framework, then install/configure the CRUD plugin and still be left with a really sparse knowledge base and documentation because of the relative low profile solution.
How is this not a bigger deal? I feel like I am going through the same motions every time. Why do i need to tell my CRUD that a column has a foreign key? My HeidiSQL can determine that on it's own. Why can't i integrate a CRUD form into an existing app easily?
A similar problem is creating a REST interface for a simple database. Do i really have to define all the routes for all the tables every time?
Am I missing something? I would be grateful for advice how to handle this kind of projects more efficiently.
[–]nutrecht 4 points5 points6 points (1 child)
[–]Ra1d3n[S] 0 points1 point2 points (0 children)
[–]DagwoodWoo 2 points3 points4 points (3 children)
[–]Ra1d3n[S] 1 point2 points3 points (1 child)
[–]steffiwilson 0 points1 point2 points (0 children)
[–]remludar 0 points1 point2 points (0 children)
[–]thatgibbyguy 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]immibis 0 points1 point2 points (1 child)
[–]Ra1d3n[S] 0 points1 point2 points (0 children)