10 Comments

You must be Logged on to comment or reply to a post.

        1. Jerry Wang Post author

          Hello Kostyantyn,

          Thanks a lot for your comment. I have made adaptation. Perhaps I use an internal link which is only accessible for SAP employee previously.

          Best regards,

          Jerry

          (0) 
  1. Andreas Kunz

    Thanks for your detailed description. I’d just like to add that this synchronous loading of single controls only happens in debug mode.

    In productive use, for performance reasons, all controls of a library are also available in the library-preload.json file, which is loaded initially (and can be loaded asynchronously). It contains each control/module as a string, which is then parsed into JavaScript on demand. So this avoids many HTTP requests and thus improves performance.

    Regards

    Andreas

    (0) 
    1. Jerry Wang Post author

      Hello Andreas,

      Thanks a lot for your kind comment. ( and also your reply about my question regarding “component-preload.js” some days ago 🙂 ). I have added your comment in the beginning of this blog to avoid the situation that some SCNs might be confused when they failed to see the expected files in Chrome network tab if they didn’t switch on debugging mode.

      Best regards,

      Jerry

      (0) 
      1. Andreas Kunz

        Thanks, Jerry,

        I just read through your blog series. I really like it how you learned about the internals of UI5 by debugging and then also invested the effort to explain this publicly! I have added some comments here and there to extend upon your explanation, but everything you wrote looked good to me.

        Regards

        Andreas

        (0) 
        1. Jerry Wang Post author

          Hi Andreas,

          Thanks a lot for your comment! I did have concerns before I began to write this tutorial, that is, I am trying to write content which are beyond my team’s scope ( I am a CRM Fiori developer building applications using UI5 ). If there is something wrong in the content, I would be challenged by framework experts.

          Nevertheless, the reason I persuade myself to write them out, besides the one I stated in the beginning of this blog, is that recently there are several new colleagues joined our team and they are also very interested with UI5 implementation. They wanted to learn the code but feel frustrated after some attempts, complaining that they get lost in the tons of framework code. Then I just share with them my personal experience, that is, always start learning with stuff you are already a little bit familiar, with a clear goal. Then comes this tutorial.

          I will adapt the blog based on your complement accordingly. Thanks a lot again!

          Best regards,

          Jerry

          (0) 

Leave a Reply