crud

How to maximize the utility of built in ASP.NET Data controls (GridView, FormView, etc) for Rapid CRUD

I've been developing .Net pages for business web apps for the last year or so. We're mostly working in 2.0 for a myriad of reasons. Much of the work is prototyping to throw data on a page, collect user feedback on the data and interactions, rinse and repeat. I find that built in .Net controls are great for this type of rapid visualiza...

Is Implementing a HTTP, XML based CRUD Layer a good idea?

I'm making a CRUD "layer" for an application. This will be a simple CRUD application that, for example, stores User information, Favorite links etc. and not do operations on "fact-type" data. It's actually only to store things like Users, Permissions, Rules, Policies etc. that other parts of the application pick up to perform work. Over...

WPF -- Automatic CRUD Builder?

Are there any wpf crud builders ou there yet? Thanks! ...

Does php mvc framework agavi use CRUD compliant to REST?

The agavi framework uses the PUT request for create and POST for updating information. Usually in REST this is used the other way around (often referring to POST adding information while PUT replacing the whole data record). If I understand it correctly, the important issue is that PUT must be idempotent, while POST does not have this r...

CRUD-level locking on objects - design patterns

Hi Do you know any design patterns for implementing a CRUD-level locking on objects, meaning, for one instance of an object, I should be able to specify different access control level for each of the operations (Create, Read, Update, Delete). For example, person A may read and update object Z, but may not delete it. Person B can read, u...

Approach for n-tier CRUD applications in .NET

Here’s a really really super-basic question. Say I wanted to build – today – an enterprise CRUD application in .NET that had an n-tier architecture. What data access approach should I use? I want interoperability, so DataSets are out (and I suppose it’s not 2003 anymore, either). Likewise, .NET RIA Services’ advertised method of expo...

CRUD pattern for urls.py, passing object from URI to view

Can the object value be looked up and passed to the generic view? Would the generic views need to be moved to views.py in order to support the object lookup? urls.py urlpatterns = patterns('myapp.views', url(r'^mymodel/create/$', view='mymodel_create', name='mymodel_create'), ) urlpatterns += patterns('django.views.generic', ...

Select the correct entry in a drop down list on the basis of database entry?

I have a simple Crud application where there is one filed called Category. During Creation , for Category I have provided a simple drop down box which lists all categories. During Editing, I need to get the same drop down box with the entry in the database chosen.How do i do this. For creation i used say <p><b>Category:</b>&nbsp;&nbsp;...

Is there an open source tool, for exposing an existing database as a set of WebServices

I have an existing database (PostgreSQL in my case), and would like to access its data (Create, Read, Update, Delete, Query) through SOAP Web Services. What we are doing now, have JPA implementation of each Entity, and have an implementation of a generic CRUD interface. Then we expose these beans as JaxWS web services. The problem with t...

Silverlight Asynchronous Crud Insert: One-to-One relationship ?!?!

I've been following this tutorial on how to implement a Silverlight application. The tutorial uses the Northwind database for its examples. I have been using the code samples to implement the same functionality as the tutorial shows into my own application with my own database. The last part of the tutorial shows how to add new items and...

Silverlight - Crud Insert failing unexpectedly?!

Hello! I have a project setup - it is a Silverlight Client Application hosted in an ASP.Net site. It has an ADO.Net Entity Framework to communicate with an SQL Server Database and an ADO.Net Data Service for communication. I am having some trouble getting my Asynchronous CRUD Silverlight Insert to work on my database. The first method fi...

jQuery CRUD in ASP.NET MVC

Seeing as though our team maintain an Intranet which has clients users guaranteed to have javascript enabled we know that we can step in and start using jQuery more "thoroughly". Our system is very large, so even though we use areas in our ASP.NET MVC application the sheer amount of pages to add, edit, delete and view sets of data per s...

How to generate basic CRUD functionality in python given a database tables...

Hello, I want to develop a desktop application using python with basic crud operation. Is there any library in python that can generate a code for CRUD functionality and user interface given a database table. ...

Which type exception checking required in linq inside try/catch block while performing CRUD OPERATION

Which type exception checking required in linq inside try/catch block while performing CRUD(create,read,update,delete) OPERATIONS for eg: try { db.SubmitChanges(ConflictMode.ContinueOnConflict); } catch (ChangeConflictException e) { foreach (ObjectChangeConflict occ in db.ChangeConflicts) { // All database values overwr...

Rails - Redundant RESTFUL Actions for map.resources? (new, create)

Hello there, I was wondering why when you create restful routes in rails with map.resources it generates actions for new, create, edit, update? Is there anything wrong in declaring just one action for create and update and do something like this? def create unless post? @user = User.new else redirect_to :action => 'index' ...

Getting the correct Hibernate template in a generic Spring CRUD DAO

Hi, I'm still quite new to Spring, and I've found it to irritating making all these CRUD DAOs, so I've made a "public class GenericCRUDDAO extends HibernateDaoSupport implements CRUDDAO". In my service objects I then simply say something like private GenericCRUDDAO<User, Integer> userDAO = new GenericCRUDDAO<User, Integer>(); and no m...

Implement data rollback in existing CRUD app

I have an existing CRUD app that I have been tasked with implementing "tomb stoning". I need a way to allow a user to roll a given page of data back to the previous state. Say I have First Name, Last Name, and Social Security Number on a page in this app. User A updates the Last Name field. Later, User B notices that the New Last Nam...

Can I use a PHP framework without index.php or MVC?

Is there a PHP framework that doesn't force me to use a single index.php as the entry point, or an MVC architecture? Because I need to develop something in my own way, with features like Authentication, Security, Crypto, Database CRUD and the like, and so a framework of some sort could help. Is this RAD? ...

Is my ASP.NET MVC application structured properly?

I've been going through the tutorials (specifically ones using Linq-To-Entities) and I understand the basic concepts, however some things are giving me issues. The tutorials usually involve only simple models and forms that only utilize basic create, update and delete statements. Mine are a little more complicated, and I'm not sure I'm ...

The R in CRUD - where's the line between feature and disclosure vulnerability?

We all know how hip it is to make our Ajax calls using address routing and HTTP-Get with parameters in the URL because the client side can cache those calls and thus server load is reduced, but where do you guys think the line is between "a neat way to address resources" and "disclosure vulnerability"? I'll give some examples- Let's say...