Questions tagged [CRUD] (52)

1
answer

Why, after $form->handleRequest($request) some of the values go into null?

Hi all. Recently working on a Symfony project 4 for this reason, and there are a lot of. Faced with such a situation that when you create a new entry(do not work through the Entity and DTO using) some parameters were set to null.dump($request->get('hotel_form_builder')): "countryId" => "189" "cityId" => "425754" d...
Hallie.Kris asked March 31st 20 at 20:09
4
answers

How to protect from overwriting data? For example a form to edit open two users, and at the same time change it?

I am an aspiring web programmer, writing the first application in Laravel. Due to the fact that too much data I almost all stuck in json format in mysql and all the data input, taking with it $request->except("_token"). Somewhere dozens of input, in one form, there are other, there has arisen a question 1 a user opens a...
royal.Cormier asked March 31st 20 at 16:11
0
answer

How to track error query CRUD :: VUE + EXPRESS?

When enabled, all controllers (tokenController.verifyToken, tokenController.isAdmin, crudController.crudUpdate) in the test query in data returns undefined If you disable the validate the token and role - query runs without error: I can not track conflict point. Here is the code:= Frontend =updateActive(id, key, model, addr...
elbert_Skiles20 asked March 25th 20 at 11:50
1
answer

How to edit the data in firebase?

I so far only figured out how to add and delete data in dB and get them, and how to use the request to change the existing data?class ApiService { constructor(baseUrl) { this.url = baseUrl } async createComputer(computer){ try { const request = new Request(this.url + '/computers.json', { method: 'post', body: JSON.s...
roselyn_Jacobi asked March 24th 20 at 14:08
1
answer

Laravel — select the CRUD the package, what is more convenient?

Hello everyone, I'm new to Laravel, but have experience with Yii2. Learning Laravel, was surprised that in addition to skeleton for working with CRUD, out of the box nothing is available. Not to say that I'm very lazy, but is for the backend it is convenient to write the sorting, pagination and search for each model? Assume...
alia.Cro asked March 24th 20 at 12:57
7
answers

Generic CRUD backend to frontend?

For a project of a friend of a person needs primitive backend, CRUD a dozen resources authentication and basic authentication. The main difficulty of the project will be on the front-end. Bekendste in the team, but there are good frontends. What tools can act as a backend for such a project? Can anyone give feedback on Post...
Sadie asked March 24th 20 at 11:42
0
answer

How to organize the queries create/update relationship-based JSON API?

For example, there are resources "Organizations" and "Contacts". The relationship between the resources is many to many. The user creates a new organization with a couple of contacts. As based on the current standard json api, to organize queries to the server to create objects? If I understand correctly the sequence should...
Mavis_Ja asked March 23rd 20 at 18:47
5
answers

How to choose a web framework for CRUD apps?

I wonder if there's something in my humble wishlist? There is a database, it is necessary to generate a CRUD app. Of the necessary functionality, perhaps, only the system of rights of access and I18N is needed. Basically what you need is speed, ease of development, high automation. No over-complicated functionality. Once up...
Jazmyne21 asked March 21st 20 at 12:51
1
answer

Simple CRUD app in React?

Are there any good tutorials which explains how to implement a CRUD app on React'e? Preferably using json-server.
Richie_Hammes asked March 19th 20 at 18:47
1
answer

How to obtain the transmitted data the methods PUT/DELETE via nginx?

Trying to build a REST through the usual Nginx and PHP... But nothing comes out, because the headers PUT/DELETE cause of these shock... Methods PUT/DELETE refer to WebDAV, according to Nginx, but I want to use them in php scripts the same way as GET, POST, in order to have full CRUD set for time of REST and. The first attem...
Salvador.Durgan asked October 2nd 19 at 21:59