SAPUI5
eBook - ePub

SAPUI5

The Comprehensive Guide

  1. 737 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

About this book

Your comprehensive guide to SAPUI5! From!DOCTYPE HTML to /html, get the know-how to develop MVC apps, use OData, create data bindings, debug and test code, and deploy apps. Learn the dos and don'ts of SAPUI5 and everything in between, whether you're implementing CRUD operations or writing your own controls. See what's new with SAP Cloud Platform, SAPUI5 support assistant, and more. Your best apps are yet to come. a. Build Your Foundation
Start with an overview of the SAPUI5 architecture and a Hello, World example for a single page application. Get the details on the core building blocks, controls, and functionality of SAPUI5.
b. Hands-On Approach
Learn about MVC applications, model types, and CRUD operations for connecting services. Then implement OData protocols, design application patterns, and apply advanced features to take your app to the next level.
c. Enhance Your Apps
Add the finishing touches to your app, with details on enterprise-grade features for security, theming, performance, and accessibility. Debug and test your code for flawless deployment. Highlights Include:
1) Designing and building apps
2) Model view controller concepts
3) Models and data binding
4) OData
5) CRUD and REST
6) Debugging and testing
7) App deployment
8) SAP Web IDE
9) SAP Fiori
10) SAP Cloud Platform

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access SAPUI5 by Paul Modderman,Christiane Goebels,Denise Nepraunig,Thilo Seidel in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Part I

Introduction

1 SAPUI5 at a Glance

In this chapter, you’ll learn the basics of SAPUI5: what it is, where to consume it from, how it evolved, and which competitors it can best be compared with. You’ll also learn about OpenUI5, SAPUI5’s open-source sibling.
By purchasing this book, you’ve taken the first step toward mastering the user interface (UI) development toolkit for HTML5 (SAPUI5). Congratulations! We assume you have some knowledge of SAPUI5 but want to learn enough to build full-fledged SAPUI5 applications. During the course of this book, you’ll learn to code your way through SAPUI5. We’ll introduce the basics before diving into more advanced concepts.
This chapter begins our journey by discussing what SAPUI5 is and isn’t, its primary features and use cases, and how it differs from its open-source counterpart OpenUI5. Let’s get started!

1.1 What It Is and Where to Get It

SAPUI5 is a toolkit that enables you to easily build web applications. As a client-side tool, SAPUI5 is composed of Cascading Style Sheets (CSS), HTML5, and JavaScript, and it allows you to completely decouple the frontend development of your applications from any backend development.
SAPUI5 is available as an SAP NetWeaver add-on for SAP customers. It’s also available for download from SAP Service Marketplace and on SAP Cloud Platform. SAP’s help documentation contains information on where to find the version that is valid for your license and details on how to install it (http://s-prs.co/498700).
You can also consume SAPUI5 from a content delivery network (CDN) (http://s‐prs.co/498701). Using a CDN greatly improves the time it takes a user’s browser to receive the SAPUI5 resources it needs by making them available on high-speed, distributed cache servers across the world. This CDN URL will be used in the configuration part of the bootstrap, the first script every SAPUI5 application loads. (You’ll learn more about bootstrapping SAPUI5 in Chapter 4, Section 4.2.2).
From the CDN, you’ll want to use the latest released version of SAPUI5. If you want to tie your application to a particular version, you can also use the version number in the URL; for example, if you go to http://s-prs.co/498703, your SAPUI5 application uses version 1.52.9 of SAPUI5 until you change the URL yourself.
By using this URL, you can easily switch between versions in your application or when experimenting on the fly, allowing you to explore new features or quickly see how everything works after an upgrade. Upgrading SAPUI5 is safe for your existing applications, as it remains backward compatible.
Now that you know what SAPUI5 is and how to get it, let’s dive a bit deeper into the history and evolution of SAPUI5 technology.

1.2 History and Evolution

SAPUI5 is the most widely used UI framework for new SAP applications built by SAP for the latest generation of cross-platform-compatible solutions. Its current logo (Figure 1.1) calls back to its origins as the Phoenix project.
SAPUI5 Logo, Calling Back to Phoenix Origins
Figure 1.1 SAPUI5 Logo, Calling Back to Phoenix Origins

1.2.1 History

The first small project team began work on SAPUI5 in 2010. Now, several development teams in locations all over the world work on the libraries, and even more people are involved when you count the user experience designer teams responsible for the beautiful and lightweight UIs you can build with SAPUI5. In 2014, the project teams behind the SAPUI5 framework convinced SAP that the toolkit would not be able to thrive behind closed doors, and so OpenUI5, SAPUI5’s open-source sibling, came to life. We’ll discuss the differences between SAPUI5 and OpenUI5 in Section 1.6.

1.2.2 Evolution

SAP continues to improve SAPUI5. Staying on top of trends in the broader world of web development, the UI5 Evolution project aims to bring the best of those trends to SAPUI5 in the enterprise. UI5 Evolution focuses on four key areas: the modular core, rendering and controls, programming models, and build tooling.
By creating a modular core, SAPUI5 improves code organization and dependency management. The more modular the foundation libraries become, the easier it becomes to make minimizing resources used for each application. Building an application into the most compact set of code makes the user experience lighter and quicker.
Improving rendering a...

Table of contents

  1. Dear Reader
  2. Notes on Usage
  3. Table of Contents
  4.   Preface
  5.   Acknowledgments
  6. Part I   Introduction
  7. 1   SAPUI5 at a Glance
  8. 2   Architecture
  9. Part II   Building Applications with SAPUI5
  10. 3   Integrated Development Environment Setup
  11. 4   Hello, SAPUI5 World
  12. 5   Building Model-View-Controller Applications
  13. 6   Models
  14. 7   CRUD Operations
  15. 8   Using OData
  16. 9   Application Patterns and Examples
  17. 10   Advanced Concepts
  18. Part III   Finishing Touches
  19. 11   Adding Enterprise-Grade Features
  20. 12   Debugging and Testing Code
  21. 13   Accessing and Connecting to the Backend
  22. 14   Application Deployment
  23. A   Worst Practices
  24. B   Cheat Sheets
  25. C   Additional Resources
  26. D   The Authors
  27. Index
  28. Service Pages
  29. Legal Notes