Skip to Content
author's profile photo Former Member
Former Member

SAPUI5 Modularization

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 26, 2013 at 01:41 AM

    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)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.