Routing Concept in SAPUI5 Development: A Primer

  • by Rehan Zaidi, Senior SAP Technical Consultant
  • October 19, 2016
The use of routing allows navigation through application views via hashtag-based patterns. This article covers the main steps required to implement routing in an SAPUI5 application and the important classes and methods involved in making a full-fledged example, using a product list.

Learning Objectives

Reading this article, you will see:

  • The basics of the routing mechanism
  • Important SAPUI5 routing-related classes and methods
  • Detailed steps required for implementing routing
  • A full-fledged working example
Key Concept

Hashtag-based routing and navigation let you reference application views via a URL ending with a hashtag symbol #.

Routing and navigation are important topics within the SAPUI5 arena. Developers often find the concept of routing difficult to understand. SAP now recommends defining the router configuration in the manifest.json file. SAPUI5 provides a number of classes (with accompanying methods). Though routing can be a difficult concept to learn, it may enable developers to create user-friendly and easy-to-navigate applications in the least possible amount of time.

The aim of this article is to provide an explanation of routing and how to use it in SAPUI5. These are some of the questions this article addresses:

Rehan Zaidi

Rehan Zaidi is a consultant for several international SAP clients (both on-site and remotely) on a wide range of SAP technical and functional requirements, and also provides writing and documentation services for their SAP- and ABAP-related products. He started working with SAP in 1999 and writing about his experiences in 2001. Rehan has written several articles for both SAP Professional Journal and HR Expert, and also has a number of popular SAP- and ABAP-related books to his credit.

See more by this author


Comments

No comments have been submitted on this article. 


Please log in to post a comment.

To learn more about subscription access to premium content, click here.