cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 Modularization

Former Member
0 Kudos

We are developing an Enterprise application using SAPUI5 as Front-end and all the services will be published as Rest using SAP Gateway. I am designing to split the app as modules. Based on the user login info we will identify the roles and need to load the corresponding module. The basic idea was instead of loading all the JavaScript files I want group them as modules and load the module when required at run time. I don't find any real good example in scn or  in google for reference. If any one followed this Modularization approach provide me the guidance/example for designing the Application.

Accepted Solutions (0)

Answers (1)

Answers (1)

kammaje_cis
Active Contributor
0 Kudos

I am in the same boat as you are.

I thought about 'Modules', but modules as I understand can have only javascript files. So that is useful for reusable code. When you want to have self contained reusable objects, that is to have related views, css,controllers together, then Component might be the right choice for modularizing.

We do not have much documentation for it right now though.

Documentation/AdvancedTopics/Components/AdvancedComponents – SAPUI5 Wiki (TIP CORE User Interface)