Subscribe to this list via RSS Blog posts tagged in JSON
Learn How To Replicate A TFDMemTable Into An IBLite Table With FireDAC In Delphi 10.2 Tokyo The Field Service Template client app has offline capabilities which allows you to record changes offline without an internet connection. Later updates can be sent back up to the RAD Server once an internet connect is detected. One of the pieces of code in the Field Service Template client app that makes this possible is a function which will take the FireDAC JSON that is received from the RAD Server and store it as a table in IBLite. As you will see in the source code below the proce...
Google Book APIを使ってISBNコードから書籍情報を取得する 筑木です。今回はWebAPIへのアクセスの例として、Google Books APIsを使ってISBNコードから書籍情報を取得してみます。 応用として、TCameraComponentとZXingを使って画像のバーコードから書籍のISBNコードを読み取り、Google Books APIsで書籍情報を取得、それをDBに登録して蔵書管理アプリみたいなものが作れます。 Google Books APIsにISBNコードを投げてその結果を取得するのは、TRESTRequest、TRESTClient、TRESTResponseを使えば非常に簡単です。このようにフォームにUIであるTEdit,TLabel,TMemo,TImageと、Google Books APIsとやりとりをするためのTRESTRequest、TRESTClient、TRESTResponse、TIdHTTPを配置します。 配置したTRESTRequestのClientとResponseプロパティにそれぞれTRESTClient、TRESTResponseを設定します。 実際にAPIを呼び出してみましょう。TR...
C++ Builder 10.2.2:  DataSet Mapping to JSON for JavaScript client support Introduction In C++Builder 10.2.2, Embarcadero has added a new component to the FireDAC BatchMove architecture, to support generating JSON data from database tables, in an easy and flexible way. RAD Studio (Delphi and C++ Builder) has offered support for JSON in different ways and for a long time. From the JSON system unit (originally part of the DBX space) to the DataSnap table mapping (also via DBX) and to FireDAC tables to JSON mapping, there are many ways to interact with JSON data structu...
Данные из Dataset в формате JSON для поддержки JavaScript-клиентов Поддержка JSON-представления данных появилась в RAD Studio очень давно и с тех пор сильно видоизменялась и расширялась. Начиная с обеспечения разработок для DataSnap в DBX, и включая поддержку нереляционных данных и запросов MongoDB в FireDAC – JSON применяется как самая популярная опция представления и передачи данных, будь то нативные приложения на самых разных устройствах, или многоуровневые WEB-системы, поддерживающие много протоколов обмена и реализованные на любых популярных средствах разр...
Massive Collection Of Design Patterns, Frameworks, Components, And Language Features For Delphi Developer beNative over on GitHub has a project called Concepts which is a massive collection of Delphi modular demos featuring over twenty different language features, design patterns and some interresting frameworks, and components. A copy of all of the libraries the Concepts project depends on are included to reduce the hassle of installing them separately. The modular demos include demonstrations of the following libraries: Delphi Run-Time Library (or RTL)The Delphi Run-Time Li...

Posted by on in Blogs
How to Transfer Images via DataSnap REST Part 2 See in this post how to receive in our App Client the image transmitted by our DataSnap REST server. Original post Access the original post in Portuguese: TRANSFERINDO IMAGEM VIA DATASNAP REST – PARTE 2 http://landersongomes.com.br/embarcadero/delphi/transferindo-imagem-via-datasnap-rest-parte-2   To the next! Download Free Trial...
Generate Cross Platform Dynamic Forms At Runtime From JSON In Delphi 10.2.1 Tokyo The Hospitality Survey Client project is part of the Hospitality Survey App template for Delphi 10.2.1 Tokyo that Embarcadero has released through their GetIt platform. The Hospitality Survey App consists of four different projects. In this blog post I will cover the dynamic form generator that is built into the Hospitality Survey Client project. Also keep in mind that the client can be deployed to Android, iOS, macOS, and Windows with a single code base and a single responsive UI. Basical...
Learn How To Use AngularJS To Quickly And Easily Connect And Consume JSON From RAD Server The Hospitality Survey Admin dashboard project is part of the Hospitality Survey App template for Delphi 10.2 Tokyo that Embarcadero has released through their GetIt platform. The Hospitality Survey App consists of four different projects. In this blog post I am going to cover the Hospitality Survey Admin dashboard project which was built in AngularJS. The Admin Dashboard connects to RAD Server on the backend via a REST API. The stats that are displayed are for data that has ...

Posted by on in Blogs
Graph Databases and Neo4j Recently I have come across "Graph Databases" free book from O'Reilly. This book is about Neo4j graph database and is really inspiring!  Back in Delphi 10.0 "Seattle" the new FireDAC database access driver for MongoDB was introduced. That was probably the first time I have looked closely at NoSQL databases. Why should I care? Why more and more organisations are moving away from traditional SQL-92 databases toward faster, less expensive, and lighter alternatives? NoSQL became the whole move...
REST+JSONはコンポーネントを使ってかんたんに取得・テーブル化[JAPAN] REST+JSONをコンポーネントを使ってかんたんに取得・テーブル化 クライアント側のアプリを作る際に、サーバーサイドからREST+JSONでデータを取得すること、あるかとおもいます。 Delphi / C++Builder でiOSアプリやAndroidアプリをクロスプラットフォーム開発をするなら、アプリ側でUIを受け持ち、主要なロジックやデータベースアクセスはサーバーサイドに任せる、といった構成で作ることも多いでしょう。 このJSONデータのリクエスト、レスポンスの取得、ROOT要素によるパースとテーブル化までコンポーネントを使って、かんたんに行うことができます。 またDelphi / C++Builderの一機能の「REST デバッガ」を使うと上記の一連の設定をセミオートで行うこともできます。 この記事では、RESTデバッガを使った超簡単JSON取得の方法をご紹介します。 使用環境 項目 エディション / バージョン OS Windows 10 Pro, 1607 RAD Studio 10.2 Tokyo, Profes...

Check out more tips and tricks in this development video: