C++Builder XE4 use case: (I need to) Build a Multi-Tier Windows and Mac Master/Detail database application

Posted by on in Blogs
We need to move our C++ based customers and orders client/server application to a multi-tier architecture to separate the database from the business logic and then build several C++ applications that can run on Windows 32, Windows 64 and Mac OSX. The back end SQL database may be Oracle, MySQL, Microsoft SQL Server, SQLite or another SQL database running on several operating systems. The business logic needs to run on Windows Server 2012. The business logic middle tier will handle the SQL operations with the database and must be extensible to add additional methods for specialized business rules in the future. The client applications must be able to communicate with the business logic middle tier using TCP/IP, HTTP and HTTPS.

Here are the steps and information that will show you how to build a multi-device, multi-tier, master detail C++ database application. This brief exercise will show you how to get started creating your customer and orders C++ application that will run on Windows and Mac.

1. Building your first C++Builder Multi-Device Application starts with creating a FireMonkey desktop project for Windows 32. From there you can add Windows 64 and Mac OSX additional platform targets.

Watch the video, “Your first C++ App for Win32, Win64 and OSX”, where you will learn how to create a simple FireMonkey application and compile and run it on Windows and Macintosh: http://www.youtube.com/watch?v=OVkv8ROW2xk

2. C++Builder XE4 includes support for building 64-bit Windows applications. The 64-bit compiler also supports the new ISO C++11 language standard, standard libraries and latest Boost libraries.

Watch the C++Builder video, “C++11 applications using the C++Builder 64-bit compiler” at http://www.youtube.com/watch?v=1syKYgDIN9E

3. To learn how to create and work with C++Builder’s SQL and database access components in a Master-Detail relationships, read the Embarcadero DocWiki articles at

4. Building your first Master Detail C++ database application – watch the short video that shows you how to build a C++ master details database application that uses InterBase ToGo Edition (InterBase SQL server in a DLL/Dylib) at http://www.youtube.com/watch?v=HOJXDnNFl-A

5. To understand how to build C++ multi-tier applications read the DataSnap overview articles on the Embarcadero DocWiki at

6. Building your first C++ multi-tier application – watch the short video that shows you how to build your first C++ DataSnap based multi-tier application at http://www.youtube.com/watch?v=K8j39gGxGwc

7. Watch how easy it is to build a C++ multi-tier, multi-device master/detail customer and orders database application – you will find the short video at http://www.youtube.com/watch?v=a3J_XMT2wzU

8. After watching the videos, download the free C++Builder XE4 trial, install and set up your C++ multi-device development environment. Setting up the C++Builder to support multi-device application development involves setting up the IDE on Windows and installing the Platform Assistant Server on a Mac OSX target computer.

Read the Embarcadero DocWiki “FireMonkey Quick Start Guide - Set Up Your Development Environment” section at http://docwiki.embarcadero.com/RADStudio/XE3/en/FireMonkey_Quick_Start_Guide_-_Set_Up_Your_Development_Environment

Then go back to the C++ multi-tier, multi-device video in Step 7 and follow the steps in the IDE to create your own master/detail customer and orders database.

9. There are several ways to create mobile client applications that talk to your database and business logic tiers:

Your Next Step?

BUY NOW ONLINE - https://store.embarcadero.com/542/purl-cbanner

BUY FROM A PARTNER - http://www.embarcadero.com/business-partner-directory

CONTACT EMBARCADERO WORLDWIDE – http://www.embarcadero.com/company/contact-us

Gold User, Rank: 1, Points: 2466
David Intersimone (known to many as David I.) is a passionate and innovative software industry veteran-often referred to as a developer icon-who extols and educates the world on Embarcadero developer tools. He shares his visions as an active member of the industry speaking circuit and is tapped as an expert source by the media. He is a long-standing champion of architects, developers and database professionals and works to ensure that their needs are folded into Embarcadero's strategic product plans. David holds a bachelor's degree in computer science from California Polytechnic State University at San Luis Obispo, California.


Check out more tips and tricks in this development video: