Pre-General Availability Draft: 2017-06-23
This section introduces the X DevAPI and provides an overview of the features available when using it to develop applications.
The X DevAPI implementation in MySQL Shell can differ from the implementation in the Connector products. This guide provides an overview of using the concepts in all X DevAPI implementations. Consult Additional Documentation for the X DevAPI reference documentation for the implementation you are using to verify exact syntax and usage.
The X DevAPI wraps powerful concepts in a simple API.
A new high-level session concept enables you to write code that can transparently scale from single MySQL Server to a multiple server environment. See Chapter 2, Connection and Session Concepts.
Read operations are simple and easy to understand.
Non-blocking, asynchronous calls follow common host language patterns.
The X DevAPI introduces a new, modern and easy-to-learn way to work with your data.
Work with your existing domain objects or generate code based on structure definitions for strictly typed languages. See Chapter 5, Working with Documents.
Focus is put on working with data via CRUD operations. See Section 3.1, “CRUD Operations Overview”.
Modern practices and syntax styles are used to get away from traditional SQL-String-Building. See Chapter 10, Building Expressions.
In addition to this guide, which provides examples in many languages, a comprehensive reference manual is available for each language which implements the X DevAPI.