Watch, Follow, &
Connect with Us

Embarcadero Blogs

Latest Posts


DataSnap "CUSTOMERS" FireDAC JSON Reflection Demo Code

My "RAD in Action: Build Modern Apps with Enterprise Mobility Services" webinar is happening right now. During my 50 minutes session I’m demonstrating using DataSnap framework for building multi-tier database application with FireDAC JSON Reflection framework. That’s very powerful and very easy to code.

During the demo I have illustrated the following best practices:

  • InterBase „EMPLOYEE” sample database
  • FireDAC database access components
  • DataSnap server deployed to a web server
  • Secure HTTPS communication
  • Role-based Authentication and Authorization
  • DataSnap REST Client Module and Proxies
  • FireDAC In-Memory Database Tables
  • Visual LiveBindings for connecting UI to data
  • FireMonkey Mobile iOS/Android Client

During the session I have promised to make the source code of the demo available, so here it is! I have uploaded "Customers" demo source code to Code Central here: http://cc.embarcadero.com/item/29916.


posted @ Wed, 20 Aug 2014 19:20:06 +0000 by Pawel Glowacki


Appmethod nominated in the "CTIA Awards Mobile Applications, Development & Platforms" category

We’ve just heard that Embarcadero’s Appmethod has been nominated as one of 5 finalists in the CTIA Awards "Mobile Applications, Development & Platforms" category. The Super Mobility Week conference takes place September 9, 10 & 11, 2014 at the Sands Expo & Convention Center in Las Vegas.

To vote for Appmethod in the "Mobile Applications, Development & Platforms" category go to http://ctiait.ctia.org/awards/2014/public/index.cfm/viewEntry/567.

Voting is very easy and will take you only 30 seconds.

  1. Click here: http://ctiait.ctia.org/awards/2014/public/index.cfm/viewEntry/567
  2. Hit “Sign up/Sign In to Vote”
  3. Type in your email and the captcha (it is case sensitive) and hit submit
  4. Click on "Click to Vote for this Entry"

Remember to click on “vote” after you “sign in”. You should see a "thumbs up" bitmap if you’ve voted correctly.


posted @ Mon, 18 Aug 2014 19:01:41 +0000 by David Intersimone


DataSnap "Simple Calculator" REST demo

It was so much fun to create one of the "Developer Skills Sprint" sessions last week.
During the live Q’n'A session I have promised to make the source code of my DataSnap "Simple Calculator" REST server and client projects available.

Here it is! It is now available from the Code Central at http://cc.embarcadero.com/item/29915

A few years ago, back in the Delphi XE time frame, I have created a series of DataSnap "Delphi Labs". The source code of these Delphi Labs has been updated to Delphi XE3. But the technology does not stand still. I do not think anymore that it makes sense to make just the cosmetic adjustments to these examples. In fact these demos need a major upgrade to use the latest technologies and best practices.

  • Server architecture. For performance reasons it is best to implement DataSnap servers as web applications and deploy to a web server. Instead of "DataSnap Server" wizard, use "DataSnap REST Application" or "DataSnap WebBroker Application".
  • Communication Protocol. In the world of highly disconnected apps the best communication protocol is standard HTTP or HTTPS.
  • Security. On top of HTTPS transport security, make sure to use encryption filters and role-based authentication and authorisation.
  • Client Connectivity. Instead of using "DBX" use "REST". There are two wizards for creating client-side proxy classes: "DataSnap Client Module" and "DataSnap REST Client Module". The first one is based on the DBExpress technology and uses "TSQLConnection" component for connectivity. Don’t use it. Use the second, REST-based wizard, that generates REST-style client proxies and uses "TDSRESTConnection" component for connectivity.

The "Simple Calculator REST" demo is the new generation version of my first "Delphi Lab" and covers the basics of creating DataSnap server and client projects.

The second historical demo in the "Delphi Labs" session was about creating multi-tier database applications with DataSnap. The new generation version of this demo is in the works and will be presented this Wednesday, August 20th, during my global "Build Modern Apps with Enterprise Mobility Services" webinar. I’m going to move away from deprecated IAppServer interface and use FireDAC JSON Reflection framework for creating new generation multi-tier database applications.

See you online! In the meantime make sure to register for the webinar!


posted @ Mon, 18 Aug 2014 09:30:13 +0000 by Pawel Glowacki


What About Blackberry?

One of the most common questions we get when we talk about new features in Delphi, C++Builder and RAD Studio is “What about Blackberry?” which is almost as common as similar questions about Windows Phone or Linux. iOS and especially Android …

Read more »


posted @ Wed, 13 Aug 2014 12:08:03 +0000 by Jim McKeeth


Developer Skill Sprint: Behavior-Driven Development (BDD) with Roman Yankovsky

Today’s developer skill sprint is "Behavior-Driven Development (BDD) with Roman Yankovsky". Roman Yankovsky is one of our Embarcadero MVPs in Saint Petersburg, Russia. Roman gave an overview of his DelphiSpec library for automated testing and also mentioned Gherkin "a Business Readable, Domain Specific Language that lets you describe software’s behavior without detailing how that behavior is implemented."

Here are the links that Roman included at the end of his skill sprint presentation:

Blog posts about BDD:

You can find all of the Developer Skill Sprints replays on YouTube at https://www.youtube.com/playlist?list=PLwUPJvR9mZHhZTajVWsgaFPLtDA-t1Xwc


posted @ Tue, 12 Aug 2014 14:46:51 +0000 by David Intersimone


Looking to add BaaS support to your apps? We have tutorials to get you started

One of the great features in Delphi, C++Builder and RAD Studio XE6 that I have been covering over the last couple of months is our BaaS (Backend as a Service) integration. If you are just starting out with BaaS, or are looking for specific features, such as how to trigger a password reset email, you should find the following tutorials useful:


posted @ Mon, 11 Aug 2014 20:37:04 +0000 by sarinadupont


Embarcadero’s CodeRage 9 Online C++ & Object Pascal Developer Conference - October 28-30, 2014 - Call for Papers now open

You’re invited to be a part of the CodeRage 9 Online C++ and Object Pascal Developer Conferences
(http://www.embarcadero.com/coderage/) to be held October 28-30, 2014.

The theme for this year’s CodeRage conference is "You are the Developers of Things; Everything!"

The conference will cover development topics for the Object Pascal and C++ programming languages with Delphi, C++Builder, RAD Studio and Appmethod. Sessions about multi-device platform development and other programming tips, tricks and techniques will also be covered. The conference will have two live stream tracks - one for Object Pascal and one for C++.

CodeRage 9 - The Online C++ and Object Pascal Developer Conference - October 28-30, 2014

The Call for Papers is now open at

http://www.embarcadero.com/coderage/coderage-call-for-papers/

We are looking for presentation submissions in the following topic areas:

  • Multi-device development
  • Enterprise Mobility
  • The Internet of Things (IoT)
  • Sharing designs and code across all platforms
  • "Mobile First" best practices, strategies and success factors
  • Optimal User Interface/Experience for Mobile applications
  • Tips, Tricks and Techniques
  • Success Stories
  • Interfacing with Devices, Gadgets and Wearables
  • Application debugging and testing
  • Working with Platform API(s) and Platform Services
  • Programming with mobile devices and sensors
  • Connecting to local and remote SQL Databases
  • Integrating mobile in your multi-tier architecture
  • Monetizing your mobile apps with Ads and in-app purchases
  • Modernizing your Windows applications
  • Leveraging Cloud based REST Servers and Backend as a Service (BaaS)
  • Development Best Practices
  • Programming language and library features
  • Building 2D and 3D applications

You are by no means restricted to the topics suggested here or to identified categories. We welcome abstracts on any topics that you think will be of interest.

Please submit an abstract for each of your proposed presentations for CodeRage 9. To submit an abstract of your presentation and to learn more about the CodeRage events and your role as a speaker please visit:

https://www.surveymonkey.com/s/coderage9

The deadline for submitting abstracts for CodeRage 9 Online Developer Conference is:

    Thursday, September 11, 2014

We are tremendously excited for you to contribute your expertise and share this knowledge with other developers!

Abstracts will be reviewed by a panel of Embarcadero employees and we will notify submitters before the end of September regarding the status of proposals.

We look forward to seeing your ideas!


posted @ Mon, 11 Aug 2014 20:35:09 +0000 by David Intersimone


How to Get Answers to Your Questions

I love helping people out with technical challenges. I don’t always have as much time as I would like to dive into the details of their code though. Occasionally I get requests for help that are completely unactionable on my …

Read more »


posted @ Wed, 06 Aug 2014 20:47:31 +0000 by Jim McKeeth


Jens Fudge’s two passions come together using App Tethering

Jens Fudge, Delphi developer in Denmark, sent me a link to his latest blog post. The post starts out with "I have two passions. I really love archery and I really love programming." How can you not continue reading? Jens then talks about using XE6 to create a FireMonkey app that runs on Windows and OSX to track the time that archers have to shoot all of their arrows. Then his post gets even more exciting! "But the coolest change I made to this not very advanced software was adding a remote controle running on my mobile device." Jens uses XE6’s App Tethering components, TTetheringManager and TTetheringProfile, to create a remote control for his app using a Smartphone.

Read the complete blog post at http://delphi.exotech.dk/#post35

I also blogged earlier this year showing you how to find all of the tethered applications, "Finding your Tethered Apps" on your subnet. You can find that blog post at http://blogs.embarcadero.com/davidi/2014/04/28/43708

Thanks for the great post, Jens!


posted @ Wed, 06 Aug 2014 21:23:43 +0000 by David Intersimone


Top 10 Delphi Skill Building Tips from the RAD Studio Community


Want to learn top Delphi and RAD Studio skill building tips from some of the most well known members of the Delphi community? 

Join us for the August/September series of Skill Sprints - quick online sessions that last 30 minutes or less.

Presenters for the new series include Alister Christie, Roman Yankovsky, Pawel Glowacki, Nick Hodges, Jeff Lefebvre, Bruno Fierens, Cary Jensen and Jens Fudge.

This all start lineup will be presenting quick sessions on Refactoring, Behavior-Driven Development (BDD), DataSnap, MVVM, JSON, TMS and more!

Click here to register now for Skill Sprints Series 2

IMPORTANT: If you attended the first series of Skill Sprints be sure to register for this new series to get the login info for the August and September sessions.

We look forward to seeing you online.


posted @ Fri, 01 Aug 2014 08:00:00 +0000 by Tim Del Chiaro


Server Response from: BLOGS1