CRUD Development

Permalink
Hello everyone,

I'm wondering if there is an option for creating any kind of a way creating a CRUD application.

With CRUD I mean being able to create, read, update and delete data from a MySQL database.

I know there is some solution when external forms are used. But anyone tried before and would be possible at all?

primewaydesign
 
mhawke replied on at Permalink Reply
mhawke
I'm not sure what your plans are but here's a free add-on in the marketplace:

http://www.concrete5.org/marketplace/addons/custom-objects-demo/...
primewaydesign replied on at Permalink Reply
primewaydesign
Hi mhawke,

thats similar to what I'm thinking of to do.

A basic CRUD for my users. Each user should be able to access/edit only his data from the database.

I'm wondering what I would need in order to establish this?!

Any clue?
mhawke replied on at Permalink Reply
mhawke
I don't know what kind of project you have in mind or your level of expertise with C5 and php so this is just general advice.

Blocks are inherently unique to the page it's sitting on so if you limit permissions to the page to a single user, any blocks on that page will only be available to that user and the data created by those blocks will be unique to that user. You can use the free add-on called 'Designer Content' to create the basic block and create the required tables in the database then modify the view.php, controller.php and edit.php that are created by the add-on:

http://www.concrete5.org/marketplace/addons/designer-content/...
JohntheFish replied on at Permalink Reply
JohntheFish
Jordanlev, creator of designer content, also has some open source boilerplate for c5 ajax CRUD available on Github.