Delphi 10 VCL Essentials training – 11-13 maart 2020

We beginnen het nieuwe jaar goed met nu al een driedaagse Delphi 10 VCL Essentials training in de planning, op woensdag 11 maart tot en met vriidag 13 maart in de mooie locatie van het Jachthuis Beukenrode in Doorn.

De training is bedoeld voor coders en developers met enige ervaring in programmeren inĀ  Delphi of een andere programmeeromgeving die graag snel en goed Delphi willen leren of beter leren kennen. We beginnen met een overview van alles wat je met Delphi en de VCL kunt, maar gaan ook in op details als de event-loop en de interne werking van de VCL (visual component library) en RTL (run-time library). In de driedaagse training leer je je Windows applicaties maken met Delphi, gebruik maken van een database via FireDAC. Verder in-memory en local datasets, debugging, de RTL, Windows-10 styling en zelfs wat generics.

Inschrijven en details van de agenda vindt je hier:
https://www.barnsten.com/nl/product-categorie/rad-studio-tools-nl/trainingen/

CodeRage 2019 RAD Server Key Value sessions

Thank you for attending my CodeRage 2019 sessions on RAD Server.

The Key Value storage created, deployed and used in the sessions is very simple to build, but also very versatile in its use. Hopefully you will find as many, or even more, uses as I have for the Key Value server code in your own projects with RAD Server.

If you want to replay the sessions, please visit the CodeRage 2019 playlist on YouTube here.

Please find the download with Delphi sources and a partial emsserver.ini here:
Download source and emsserver.ini
The download has been compressed with RAR with password coderage2019
and has the following SHA-256 checksum
26c45c2079e4fa359541c78f444ebfd8e8a2f43005a0d6c1038040a82ed3c8f1

David Intersimone (DavidI) has created an excellent handbook on RAD Server which can be found here.

Have fun creating your own RAD Server solutions!

Some after session thoughts

In an attempt to shorten the RADServerKeyValue Client video a part of the video at the end was removed that should not have been removed. This involves using a key/value pair with uploading a larger or more complex text. The source code in the rar file you can download has the correct source code.

This Key Value store code has special handling for any key with a value ‘body’. In response to this keyword the RAD Server Key Value package assumes the body of the Request contains a UTF8 encoded text to be placed in the value for the dictionary. This makes it possible to put text in the Key Value storage that would be difficult to put as a URL parameter, either due to size constraints for URL segments, or due to special characters not allowed in URL parameters.

By setting the recycle time of the IIS ISAPI to 24 hours, the in-memory Key Value pairs will remain available for that period. If you want you can add persistency for this dictionary by storing the data in a database in the RAD Server backend.

You may want to add manual support for different MIME types with EndPointProduce and EndpointConsume and use EMSFileResource and EMSDBResource to feed files or database tables back to the client.

 

Delphi 10 Rio VCL Essentials training – 27-29 november 2019

De driedaagse Delphi 10 VCL Essentials training start 27 november 2019 op de mooie locatie van het Jachthuis Beukenrode in Doorn.

De training is bedoeld voor developers met enige ervaring in programmeren. Maar ook ervaren ontwikkelaars waarderen hem, niet alleen door de overview van alles wat je met Delphi en de VCL kunt, maar ook door de deep-dive in details als de event-loop en de interne werking van de VCL (visual component library) en RTL (run-time library). In de driedaagse training leer je je Windows applicaties maken met Delphi, gebruik maken van een database via FireDAC. Verder in-memory en local datasets, debugging, de RTL, Windows-10 styling en zelfs wat generics.

Inschrijven en details van de agenda vindt je hier:
https://www.barnsten.com/nl/development-tools/training/delphi-essentials-vcl-training

Delphi Day 2019 – May 9 in Brussel

Get ready for the future with the sessions of the Delphi Day 2019.

We kick off with a session about RAD Server. Start using webservices now, with this easy turn-key solution. Delphi Rio Enterprise includes a single-site deployment license for unlimited users, so you can start using it for free. In my session on RAD Server i’ll cover the architecture and how and why its (now) fast, unrestrained and easy to setup and maintain.

In the following sesions, Bob Swart will help you modernize your Delphi language, making your code and applications ready for the future. Bruno Fierens is going to show you how to add HTML5 and JavaScript Apps to your application framework. Unlocking new options and possibilities for your customers. Jan Jacobs will show you how they used a SaaS and a combination of Delphi, nodejs and mongodb to create a high-performance cloud based transaction engine for retailers and webshops.

The focus of my afternoon session is future proofing your application architecture for 2020, a 2020 vision! I’ll demo several techniques to achieve this, like parallel code with TTask, visualization of workflow, adding spotlight search, companion apps and other quick-wins and tips

More information and registration can be found here:
https://www.barnsten.com/nl/events/details?events_id=361

SDN Event – 12 april 2019

Kom over een paar weken naar het SDN Event van 12 april in Zeist met onder andere een leuke sessie van Roy Janssen over deep fakes en het integreren van machine learning en AI in je software. Zelf duik ik samen met jullie onder in de CPU code die Delphi voor je compiled, onder andere om een wijziging in Rio in de ABI rondom parameter passing te laten zien, maar ook om je meer inzicht te geven in hoe een CPU die code uitvoert en waar je rekening mee moet houden in multi-threaded code.

Delphi 10 VCL Essentials training – 25-27 maart 2019

De driedaagse Delphi 10 VCL Essentials training start binnenkort, op maandag 25 maart 2019 op de mooie locatie van het Jachthuis Beukenrode in Doorn.

De training is bedoeld voor developers met enige ervaring in programmeren. Maar ook ervaren ontwikkelaars waarderen hem, niet alleen door de overview van alles wat je met Delphi en de VCL kunt, maar ook door de deep-dive in details als de event-loop en de interne werking van de VCL (visual component library) en RTL (run-time library). In de driedaagse training leer je je Windows applicaties maken met Delphi, gebruik maken van een database via FireDAC. Verder in-memory en local datasets, debugging, de RTL, Windows-10 styling en zelfs wat generics.

Inschrijven en details van de agenda vindt je hier:
https://www.barnsten.com/nl/development-tools/training/delphi-essentials-vcl-training

De training gaat zeker door, dus voor de reeds ingeschreven deelnemers, tot binnenkort!

Delphi 10.3 Rio

Delphi 10.3 Rio has been released today!

The most awaited new feature is of course support for Android 8 and 9. As you may recall Google made changes to its requirements for new apps in the app store. These requirements are now all met. Please remember to also use the new PermissionsService.RequestPermissions to request permissions for the app at runtime.

If you’re into nitty gritty details, the internal coding for parameters of methods has changed, allowing better compatibility between C++ and Delphi. What it boils down to is that for 64-bit code more parameters (between 5 an up to 8 byte in size) are now passed to functions using CPU registers, where they would previously be passed as pointers to the actual data. This speeds some code up quite a bit. (sorry messed this up) using pointers to the actual data. This only influences your Delphi code if you use Assembler or direct addresses, usual pascal code needs no modification.

There are also some changes in the way that JSON is serialized. If you are using REST webservices with clients you may need to update both to Rio at the same time, to achieve interoperability. This mainly affects JSON serialization that internally uses RTTI. Its more efficient, but may break some existing code.

For the full list of new things take a look at http://docwiki.embarcadero.com/RADStudio/Rio/en/What%27s_New