LMD NG ConnectionPack is a part of Next Generation (NG) package suite. All these packages are based on new IDE and language features of latest Delphi IDE versions. NG ConnectionPack provides the ability to access to Web based services (REST services), such as cloud storage services.
NG ConnectionPack ships with visual tool, called API Explorer, which accessible at design-time via Delphi’s Tools menu sub-item or as a component editor for NG ConnectionPack components. API Explorer provides an easy and intuitive way for REST operations execution, including uploading and downloading data without code writing. Its a great tool for test purposes and services understanding.
Note: Starting from 2018 release NG ConnectionPack has been almost fully re-designed. The packages no longer provide unified interface for cloud storage components. Instead we’ve concentrated on the formal way of implementing REST services, which allow to provide most complete functionality for each service, with API structure, closely related to corresponding services API and documentation.
Provides state-less access to the following REST services: Google Drive, Google Tasks, Google Calendars, Dropbox, One Drive, Box.NET.
Provides authentication dialog, along with a custom auth-UI interface for building application specific authentication dialogs…
Supports secure OAuth 2.0 authentication methods.
Allows to store/load authentication state to prevent explicit user authentication each time application starts…
Provides a smart memory management model, simplifying the package usage…
Provides grouping capability, which allow to implement a single authentication into a group of services of the same vendor (in this first release for for Google services only)…
Compatible with Delphi XE2 and better, including 64bit support! Any new Delphirelease will be supported almost immediately after public availability.
Supported IDEs (VCL):
Delphi XE2 and better
All corresponding Studio Products (XE2 and better)
FMX support for Delphi XE4 and higher
Supported operating systems: Win 8 or better
Full sourcecode of all controls included. Registered versions include NG DevUtil to compile packages on target system.
Extensive demo project with sourcecode
Free updates via Internet
A Site License covers unlimited number of developers in same organization at one location
Free technical support via public forum (forum.lmd.de), e-mail, fax or mail;
Also available as part of NG Complete or LMD VCL Complete.
New features in Release 2018
Package has been fully re-designed. More formal way of implementing REST services has been implemented.
New advanced API Explorer tool has been provided, which can be used directly inside Delphi IDE at design-tim, and allows to test and learn REST services quickly and intuitively, without writing code.
Supported service list has been changed. Please read here about currently supported services.
Package now tries to provide most complete REST service wrappers. REST services are implemented “as is”, much closer to original services structure. Service operation list, requests parameter list, resulting data format - all are quite similar to the original services structure, provided by respective vendors.
New formal type system for data types and requests parameters: supports primitive, list, map and objects types. As well, special types for uploading and downloading stream data is provided.
All types are nullable, which allows to support dynamic nature of the corresponding REST services. Developer can always specify only required request parameters, and as well, can detect, which data properties has been really returned from the server.
New EHttpError exception class is used to report HTTP exceptions, which provides access to StatusCode, StatusText and extended ErrorInfo text, returned as a HTTP body.
NG ConnectionPack provides visual tool, called API Explorer, which allows to test all supported services, by executing corresponding REST operations. API Explorer can be used directly inside Delphi IDE. API Explorer window can be shown by clicking on the corresponding menu item in Tools main Delphi menu:
The main page of API explorer window shows supported services list
Double clicking on the service item will navigate to Service’s page, where its operation list is shows:
Double clicking on operation item will navigate to operation execution page:
Before any of REST operation can be executed, authentication options should be specified for the corresponding service. As can be seen from above images, the link to authentication options page is shown at the service page and, as well, at operation execution page. Clicking on the link will navigate to service options page:
The Box API gives you access to a set of secure content management features for use in your own app, such as file storage, preview, search, commenting, and metadata. It strives to be RESTful and is organized around the main resources from the Box web interface.
The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.
Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images.
Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.