Lots of substacks for the same type of data
Posted: Tue May 29, 2012 11:41 pm
Hey all,
Just want to make sure I'm structuring my database application properly. I've got a main stack called app which has code to connect to the db, I then have a substack called customers which contains a few scripts relating to retrieving data from the customer table and display results in a grid. When I want to edit a customer, I would like a customer edit screen to pop up in the form of a modal dialog, so am I right in assuming I need to create another substack within app called customer modal or can I do this as a card within the customer substack. To activate the customer modal the user will have to be on a card inthe the customer substack.im just think do I need to create a customer delete substack as well if I want this to be modal?
Just want to make sure I'm structuring my database application properly. I've got a main stack called app which has code to connect to the db, I then have a substack called customers which contains a few scripts relating to retrieving data from the customer table and display results in a grid. When I want to edit a customer, I would like a customer edit screen to pop up in the form of a modal dialog, so am I right in assuming I need to create another substack within app called customer modal or can I do this as a card within the customer substack. To activate the customer modal the user will have to be on a card inthe the customer substack.im just think do I need to create a customer delete substack as well if I want this to be modal?