|
| 1 | +--- |
| 2 | +outline: [2, 4] |
| 3 | +--- |
| 4 | +# Overview |
| 5 | + |
| 6 | +The Cookbook collects task-oriented recipes for everyday abap2UI5 development. Each section focuses on one area of the framework and shows the patterns you reach for most often. Use this page as a map — pick the topic that matches the problem in front of you and jump straight in. |
| 7 | + |
| 8 | +### Sections |
| 9 | + |
| 10 | +#### [View](/cookbook/view/definition) |
| 11 | +Build the XML view your app sends to the browser. Covers the basic view definition, nesting views inside other views, and XML templating for repeating structures. |
| 12 | + |
| 13 | +#### [Model](/cookbook/model/binding) |
| 14 | +Share data between ABAP and the frontend. Explains one-way and two-way binding, expressions and formatters, tables and trees, the device model, and how to deal with the model size limit. |
| 15 | + |
| 16 | +#### [Event, Navigation](/cookbook/event_navigation/life_cycle) |
| 17 | +Understand how a request flows through your app. Covers the lifecycle, backend and frontend events, actions, navigation between apps, and exception handling. |
| 18 | + |
| 19 | +#### [Popup, Popover](/cookbook/popup_popover/popup) |
| 20 | +Overlay parts of the view with dialogs and popovers — custom popups, popovers anchored to a control, and the built-in dialogs the framework ships out of the box. |
| 21 | + |
| 22 | +#### [Translation, Messages](/cookbook/translation_messages/message) |
| 23 | +Communicate with the user. Show message toasts and message boxes, write to the application log, and translate text with `i18n`. |
| 24 | + |
| 25 | +#### [Browser Interaction](/cookbook/browser_interaction/title) |
| 26 | +Reach into the browser from ABAP — set the tab title, control focus and scrolling, run timers, access the clipboard, work with the URL, and handle the soft keyboard on mobile. |
| 27 | + |
| 28 | +#### [Device Capabilities](/cookbook/device_capabilities/info) |
| 29 | +Read device info and use native hardware: camera, geolocation, barcode scanning, audio, and file upload/download including PDF and spreadsheet generation. |
| 30 | + |
| 31 | +#### [Beyond Basics](/cookbook/expert_more/lock) |
| 32 | +Advanced topics for production apps — sessions and communication (locking, statefulness, WebSocket, OData, app state), EML/CDS/SQL integration with RAP, recurring patterns and helpers, troubleshooting, and a list of obsolete features kept for reference. |
| 33 | + |
| 34 | +### How to Use This Cookbook |
| 35 | + |
| 36 | +- Each recipe stands on its own — read only the section you need. |
| 37 | +- Code snippets are copy-paste ready. Drop them into a class that implements `z2ui5_if_app`. |
| 38 | +- For full sample apps, browse the 250+ examples in the [samples repository](https://github.com/abap2UI5/samples). |
| 39 | +- For the API surface (`z2ui5_if_client`, `z2ui5_cl_xml_view`, …), read the source in the [main repository](https://github.com/abap2UI5/abap2UI5). |
| 40 | + |
| 41 | +→ New to abap2UI5? Start with the [Getting Started Guide](/get_started/quickstart). |
0 commit comments