Category Archives: Source Code

API Limits with #FDEC

The FireDAC Enterprise Connectors (#FDEC) by CData and Embarcadero make it really easy to work with various APIs just like you would any SQL database. For example if you want to publish the results of a query to a Google … Continue reading

Posted in Cloud, FireDAC, REST, Source Code | Leave a comment

Use the Source!

One of the great things about Delphi is not only is it written in Delphi (mostly), but it ships with the VCL, RTL, & FMX source code. You can use this source code in lots of different ways, which I’ll … Continue reading

Posted in Source Code, Tools | Tagged , | 2 Comments

3D Credits Scroll with Delphi

A little fun with Delphi for today’s Star Wars day! This is a pretty simple 3D form with a 3D layout at an angle, and then a 2D layout with text and images is animated up the 3D layout. The … Continue reading

Posted in Funny, Source Code | Tagged , , | Leave a comment

Advanced HTTP Hacking Webinar Code

You can find all the code from my HTTP webinar in my special HTTP folder. [Project source code] [YouTube Replay] This is the script I use to demonstrate HTTP Range requests through Telnet. Just copy and paste each block of … Continue reading

Posted in Source Code | Leave a comment

FireDAC MemTable Editing – New in 10.2 Tokyo

One of my favorite new features (beyond Linux) is the ability to edit the data in a TFDMemTable at design time. You could already edit the field defs, to set it up. This makes the TFDMemTable, which was already super flexible … Continue reading

Posted in REST, Source Code, Tools | Leave a comment

How to Reference a Procedure

It was pointed out in the comments and on G+ that this covers type aliases, but not procedure aliases. Instead it shows how to have a variable that references a procedure and then allows you to call it by this … Continue reading

Posted in Source Code | 6 Comments

New Delphi Seattle MongoDB Sample

I created some more Delphi 10 Seattle samples to show off MongoDB and FireDAC functionality: LocalSQL, Indexing & Geospatial. The first one queries some data from MongoDB allowing you to specify the match, sort and projection, then it stores the … Continue reading

Posted in DataBase, Source Code | Tagged | Leave a comment

CORS on DataSnap REST Server

Cross-origin resource sharing (CORS) is a mechanism that enables resources to be shared across domains. Typically this isn’t allowed to prevent security issues. To enable on your DataSnap REST server you can use the following code per MVP Nirav Kaku from India. … Continue reading

Posted in News, REST, Source Code | 6 Comments

FireDAC: Local SQL

Here are the additional resources for the FireDAC: Local SQL Skill Sprint from this morning. The TFDLocalSQL provides a powerful engine allowing you to run local SQL queries against any TDataSet descendant. Here is the video replay. It is about … Continue reading

Posted in Source Code, webinar | 1 Comment

FireDAC In-Memory DataSet: TFDMemTable

More information and resources on TFDMemTable from the FireDAC Skill Sprint. If you missed the Skill Sprint, or want to review it, here is the video with the recording of the Q&A. The presentation is 15-20 minutes, and the other … Continue reading

Posted in Source Code, webinar | 1 Comment