C++

Secrets Of FireDAC: Dynamic Where Clause Using Conditional Substitution Macros

If you are using FireDAC and building your SQL queries manually you may be using more verbose code than is needed. FireDAC has a feature called Macros which allows you to do a variable substitution in your SQL query similar to parameter substitution but for raw SQL. However, in addition to macro substitution you can combine it with conditional substitutions which lets you do the real magic. If you…
Read more
C++

Massive Collection Of Design Patterns, Frameworks, Components, And Language Features For Delphi

DeveloperbeNative over on GitHub has a project called Concepts which is a massive collection of Delphi modular demos featuring over twenty differentlanguage 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…
Read more
Delphi

Six Easy Ways To Embed JavaScript Engines In Your Delphi 10.2 Tokyo Apps

JavaScript is a useful scripting language which you can incorporate within your Delphi 10.2 Tokyo apps in a number of ways. There are open source, commercial component sets, and libraries which quickly allow you to do this in Delphi. These include JSEngine, ScriptGate, paxCompiler, v8delphiwrapper, BESEN, and ChakraCore headers. Some of the reasons why you might want to use Delphi and JavaScript…
Read more