Forum


HomeHomePremiumPremiumDevelopmentDevelopmentCRUD ModuleCRUD Module
Previous
 
Next
New Post
4/27/2014 10:38 PM
 

Hi,

I have a CRUD project with around 15 tables. I want to keep all of these pages in one module. I have seen the response to a question about having multiple modules in the same project but that would still leave me with 15 modules to add in to individual pages. Is there any better way to structure this so as I can have an admin site with one table per page.

Thanks,

Tim.

 
New Post
4/28/2014 12:56 PM
 

What I'm doing on my larger projects is opening with a menu form that leads me to a list for each CRUD group. (that is if I can get VB DAL to work). Now that leads to a lot of forms, but I'm code generating them so I'm not as sensitive to all the typing. Now I'm also generating access to edit via moduleactions, and I'll likely end up paring down the form count with a single updatable grid for some of the tables that are small looking tables, and access that via moduleactions.

If you go through the videos you'll see options for using panels, and that may work but I found that to be clumsy for what I was doing since some of the tables were large and dealing with all the paging, search,etc, and panels too seemed a bit much.

 
New Post
4/29/2014 4:49 AM
 

Tim,

You can package multiple modules in one installation. But if you want to avoid 15 different module definitions/packages, then an alternative could be building a single module that uses the dispatcher pattern that I discussed in the Module Views and Navigation video series (I think it's the last video).  We use this if we want a single module definition, that can be dropped on the page but that module doesn't show anything until the user selects the view they want.  There is a setting that allows the admin to choose which view they want to use for that instance.  This is only useful for module views that don't have much navigation within themselves and they share common business and data logic. 

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentCRUD ModuleCRUD Module



Try FREE
30 days money back guaranteed