Questions tagged [crud]

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

The four basic operations that can be used on a relational database table are

  • C reating
  • R eading
  • U pdating
  • D eleting

A CRUD application is one that performs these basic operations. A CRUD framework is an application framework that gives these functionalities as a base for the development.

Also see: , ,

4608 questions
39
votes
4 answers

CRUD in a use-case diagram?

My question is quite simple. What is the best way to bring CRUD into a use-case diagram? It should be DRY. I know, UML is sometimes discretionary, but what do you think about it? Some ideas: 1 use-case diagram Not really DRY, if there are a few…
Robin
  • 8,162
  • 7
  • 56
  • 101
36
votes
8 answers

Good examples of GUI design for business-oriented, heavy data-entry (CRUD) applications

Where can I find examples of very well produced enterprise-y software that have: Good, consistent use of keyboard shortcuts. Good keyboard form navigation Standarized form validation Standarized use of lookup/search screens. (User gets asked for…
Camilo Díaz Repka
  • 4,805
  • 5
  • 43
  • 68
36
votes
10 answers

Angular - Material Table, is it possible to update rows without entire table refresh?

After few weeks of Googling and only one Stackoverflown question so far I finally managed to build up my Angular CRUD App using Material Table Component. It shows data from backend (JSON) and for CRUD operations I'm using dialogs like one shown on…
besthiroeu
  • 693
  • 2
  • 8
  • 16
35
votes
8 answers

Easiest Form validation library for PHP?

I need a simple php library which can be used to easily pass rules and field names to, and then validation could be easily performed. There should also be an easy way to retrieve the errors. Any suggestions?
Ali
  • 261,656
  • 265
  • 575
  • 769
35
votes
4 answers

Why the Ruby on Rails action "destroy" is not named "delete"?

The CRUD principle defines the four basic operations on persistent data: Create, Read, Update, Delete. HTTP verbs also use the DELETE word. Why does the default routing in Rails use the word "destroy" for the action corresponding to the HTTP verb…
Haralan Dobrev
  • 7,617
  • 2
  • 48
  • 66
34
votes
1 answer

Rails - Update a single attribute : link with custom action or form with hidden fields?

Let's say I have a User model, with a facebook_uid field corresponding to the user's facebook id. I want to allow the user to unlink his facebook account. Do do so, I need to set this attribute to nil. I currently see 2 ways of doing this First way…
MrRuru
  • 1,932
  • 2
  • 20
  • 24
33
votes
1 answer

REST Best Practices: Should you return an entity on POST and PUT calls?

In order to respect the best practices of the REST principles, is it best to return the created/updated entity upon a POST/PUT ? Or return an empty HTTP body with the Location header? More precisely, when a resource is created by a POST, should we…
David
  • 1,842
  • 2
  • 21
  • 31
32
votes
4 answers

How do I make my Android ContentObserver for ContactsContract detect a added, updated or deleted contact?

I am able to get a generic notification "that there was a change to the contacts DB", but I want to know the specific record that was inserted, updated, or deleted. Following is the code that gets registered and gets the onChange notification. …
mobibob
  • 8,670
  • 20
  • 82
  • 131
31
votes
3 answers

CRUD: To Roo or not to Roo?

I have been using Groovy on Rails for CRUD applications. I am starting a new project where we are not allowed to use Grails anymore (we have a list of allowed jars and grails is not there). I am considering using Spring ROO or JBoss Seam. How do…
Luixv
  • 8,590
  • 21
  • 84
  • 121
30
votes
5 answers

Straightforward way to generate code with Mongoose and Node.js and Underscore?

I want to generate something like this: http://www.ivarvong.com/2010/08/node-js-connect-mongoose-and-underscore/ But I want to generate the html template and other client-side code, and either have generic/monolithic save/query/reads or generate…
Jason Livesay
  • 6,317
  • 3
  • 25
  • 31
30
votes
1 answer

How to perform a bulk update of documents in MongoDB with Java?

I'm using MongoDB 3.2 and MongoDB Java Driver 3.2. I have an array of a couple of hundreds of updated documents which should be now saved/stored in MongoDB. In order to do that, I iterate over the array and call for each document in this array the…
Mike
  • 14,010
  • 29
  • 101
  • 161
30
votes
6 answers

Recommended JSF 2.0 CRUD frameworks

Can somebody recommend any framework to facilitate CRUD development in JSF 2.0? Aspects I value most: As lightweight as possible; limited dependencies on third party libraries Support for an evolving domain model Limited need for repetitive coding;…
Jan
  • 9,397
  • 13
  • 47
  • 52
26
votes
4 answers

RESTful atomic update of multiple resources?

Imagine a web-application storing some data-resource with some id which stores three attachment (e.g. pdf) per datum. The URL scheme is data/{id}/attachment1 data/{id}/attachment2 data/{id}/attachment3 An RESTful API exists for the attachments…
mtsz
  • 2,725
  • 7
  • 28
  • 41
26
votes
6 answers

Effective strategy for leaving an audit trail/change history for DB applications?

What are some strategies that people have had success with for maintaining a change history for data in a fairly complex database. One of the applications that I frequently use and develop for could really benefit from a more comprehensive way of…
Dana the Sane
  • 14,762
  • 8
  • 58
  • 80
25
votes
3 answers

Route Model Binding not working

I'm trying to use Route Model Binding for Simple CRUD but Update And Delete Function Not Working. and I'm Using laravel 5.5 Route::resource('admin/file','AdminController'); My View For Edit and Delete Buttons
Siros Fakhri
  • 2,133
  • 5
  • 20
  • 31