CodeIgniter Forums
Conceptual Questions about CRUD - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Conceptual Questions about CRUD (/showthread.php?tid=46113)



Conceptual Questions about CRUD - El Forum - 10-18-2011

[eluser]Unknown[/eluser]
Hello!

I'm new in CodeIgniter/MVC development and I'm trying to find some answers to my questions but I can't then I decided to ask these questions here.

The Context
I'm developing a simple CRUD system that works like this:
a. Are divided in Categories, Products and so on;
b. In the first page (of Products, for example) there is a 'list of items' and a 'filter' to filter these items;
c. In the 'list of items' I can add, view, edit and delete an item;

The Problem
(1) In the 'first page', 'after filtering' some data, I decide to edit a particular item. After save this item, I return to the 'first page' without any filter. Is this the 'correct way to do that' or should I return to the 'first page with the filtered data'?

(2) In the same case in (1), after I finish editing the data, the 'success message' should be showed in the 'edit page' or in the 'first page'?

Thanks,

Marcel