Welcome Guest, Not a member yet? Register   Sign In
Conceptual Questions about CRUD
#1

[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




Theme © iAndrew 2016 - Forum software by © MyBB