Questions tagged [crud]

The four basic operations for a data management system: Create, Read, Update, Delete

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
7k views

Simple MVC CRUD with JDBC

I would like to review my simple piece of code. I am beginner (I learn java for 1 year) and I would like to find out whether I am on good way. I have created simple MVC CRUD java app "ProductManager"....
3
votes
0answers
50 views

F# method to insert, update, or delete events in a dictionary

I have the following code: ...
3
votes
0answers
98 views

Fulfillment webhook with Dialogflow to operate on a Firestore database

I'm currently calling a fulfillment webhook with dialogflow in my node backend, performing crud operations on a firestore db. Is there a better, cleaner way to ...
3
votes
0answers
42 views

A simple list of objects to display and edit with Angular

I want to create a simple CRUD app using angular on the frontend. I'm not really happy with the logic here, it seems a bit convoluted for fairly simple functionality. ...
2
votes
0answers
108 views

Implementation of CRUD todo list

We have a todo list, which by default holds two of them. The newTodo means what has been recorded in the input form to be the next todo to be added. needsUpdate and idOfTodoToUpdate are used to handle ...
2
votes
0answers
44 views

CRUD UI for managing banners in React

How can I improve this code? I am a beginner learning react. This is a UI for managing banners. Users upload the image for the banner and specify a start date and end date between which the banner ...
2
votes
0answers
312 views

A clean way to do CRUD with pagination

What do you think about the following approach to CRUD? Here is the reading+pagination example. DTO types have Dto* prefix, EF Entity Types have E* prefix. DAL example: ...
1
vote
0answers
166 views

Handling CRUD methods with gorm and go-swagger

I've an application that uses gorm and go-swagger for a simple API. One of the route's handlers bloated to 66 lines, being ...
1
vote
0answers
114 views

Edit js CRUD table with using popup

I created JS CRUD table with the ability to edit with popup. This is part of the code for editing. Editing includes the following steps: click button "edit" in the row of the table with selected data ...
1
vote
0answers
70 views

CRUD in JSP AND SQL

I would like to simplify my code when I add an entry. All is OK for 1 table (table = "ecole"). I can add an entry without problem. My problem is that I will wish to add a second table named "nom" in ...
1
vote
0answers
320 views

Extend the Laravel Eloquent model in order to easier implement CRUD REST for my routes

By extending the Model and using this inside my routefiles, I can easily call these functions inside the corresponding HTTP ...
1
vote
0answers
178 views

Update operation with hibernate

I am creating a project about hotel reservations. I created a udirection one to many relationship between users and reservations. That is, A user can have many reservations. Here is the User class. <...
1
vote
0answers
103 views

Folder model controller view

I'm using a slim router and have made a folder model controller view. Below is one of my model files. I made one database with one model. I have some problem in my project: there are several ...
0
votes
0answers
32 views

Simple laravel class for data save, validating and search, with controller

Order class - stores data, validates it, saves relations data, returns search data: ...
0
votes
0answers
127 views

Very simple RESTful API dispatching in PHP

This code is meant to be a very simple RESTful API. The simple router takes the URI request and maps it to a function with a matching name. E.g. www.domain.com/bill maps to function bill(). Then bill ...