Marco's RAD & Dev World

Delphi and RAD Studio Product Manager at Embarcadero. Well known Delphi guru and books author.

DataSet Mapping to JSON for JavaScript client support in RAD Studio 10.2.2 RAD Studio 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 old DataSnap table mapping (also via DBX) and to FireDAC tables to JSON mapping, there are many ways to interact with JSON data structures. However, until the most recent release, we lacked a way to map a dataset to a custom JSON structure -- the FireDAC JSON support produces a FireDAC specific structure, with meta data and record status information. ...

Posted by on in Tutorial
New VCL Panels in Delphi 10.2.2 With the need to support more screen resolutions, while creating nice looking user interfaces and pleasant user experiences, we think it is important to offer additional ways to build the UI of your VCL applications. This is why in 10.2.2 we introduced two new VCL panel controls. These are control containers with specific way to manage the layout and position of their child controls. You can see the controls at design time below: TCardPanel The CardPanel control is a set...

Posted by on in Tutorial
Debugging Delphi Apps on Android 8.1 Works When Google introduced Android 8 this summer, they increased the platform security but happened to block socket access to the debugger, basically preventing debugging applications on a device. You'd see the error message "Can't open socket: Permission denied." as reported also at https://quality.embarcadero.com/browse/RSP-18992. The issue was not a change in out debugger support, but a problem at the operating system level. You can read some of the discussion here: https://github.com/android-ndk...
New VCL Date and Time Picker Controls in Delphi 10.2.2 We at Embarcadero continue to consider the VCL as the best library for Windows-specific GUI development and are continuing the effort of improving and modernizing it, particularly improving the overall support for Windows 10. One of the directions of this effort (along side with styling, WinRT API, Desktop Bridge and more) is the addition of new VCL controls with the look of feel of the latest Windows platform controls, part of the WinRT UI layer. We have already delivered similar controls in 10...

Posted by on in Tutorial
Delphi 10.2.2 Has Been Released As you can see at https://community.embarcadero.com/blogs/entry/rad-studio-10-2-2-released-today, the new version 10.2.2 of Delphi, C++Builder, and RAD Studio is now available.  The new features are covered in the docWiki, at http://docwiki.embarcadero.com/RADStudio/Tokyo/en/10.2_Tokyo_-_Release_2 There are hundreds of bugs fixed (including over 150 bugs reported by customers in Quality Portal), as you can read in List of new features and customer reported issues fixed in RAD Studio...
Posted by on in Tutorial
Delphi Blogs of the Month #57 As usual, this is a collection of links to relevant blog post and other newws you might heve missed over the recent perios of time, and that relate with Delphi one way or another. Embarcadero News There is a new Sencha MVP program, similar to the RAD Studio one: https://www.sencha.com/blog/sencha-mvp-program/ Healthcare App Prototype Built In Delphi Wins First Place In Startup Weekend Competition! Read more at https://community.embarcadero.com/blogs/entry/healthcare-app-prototyp...
Cross JIRA Analysis with FireDAC CDATA JIRA Connector In Embarcadero, for the RAD Studio project, we have two JIRA systems. One is a public system better known as Quality Portal (https://quality.embarcadero.com), while the second is an internal JIRA system accessible only behind the firewall. The two systems are kept in sync, as I explained in the past, so that a bug opened in the public system is reflected in the internal one; as we close a bug in the internal system and ship the fix, the internal status is reflected in the public system. Almo...
New on Embarcadero Academy: CodeRage Replays and my New Course and Bundle Embarcadero Academy is an independent online training site available at https://www.embarcaderoacademy.com/. The site has an overall agreement with Embarcadero as a key destination for online training for the company development tools products. The academy site co-hosted the CodeRage XII conference the other week and it is not offering the complete set of replays. All you need to do is create an account on the platform and sign up for the free CodeRage course at https://www.embarcaderoacadem...
Explaining Tasks in Delphi Parallel Library... by Creating too Many Tasks Recently, I wrote some new demo for Delphi PPL (Parallel Programming Library), while doing some research for an online class -- which is available since last week on the Embarcadero Academy site ("Anonymous Methods in Delphi"), along with a new overall bundle of my classes ("Master Modern Delphi Language Techniques"). In the past I've used different ways to explain tasks and compare them to threads. Tasks are lightweight and managed more efficiently, than threads. The PPL creates a thread po...
CodeRage XII Starts Today (With European Schedule) The online CodeRage conference by Embarcadero starts today: https://community.embarcadero.com/article/16578-coderage. Registration is still oepn at https://register.gotowebinar.com/register/7990350396754529539. With dozens of session based on central US time zones, it is easy to get confised. So I've amended the official calendar for those based in Europe (warning, in case of last minute schedule changes, I won't probably be able to udpate it). Here are thre three PDFs for the 3 days with UT...

Check out more tips and tricks in this development video: