Delphi 12 VCL Essentials training – 20-22 maart 2024

Begin de lente goed met een Delphi 12 VCL Essentials training!

Deze driedaagse training vindt plaats van 20 maart tot en met 22 maart plaats in de historische locatie van kasteel Montfoort.

Deze nederlandstalige 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 direct al om Windows applicaties te maken met Delphi, maar ook leer je gebruik maken van een database via FireDAC. Verder in-memory en local data, debugging, Windows-11 styling en zelfs wat generics en andere moderne code constructs van Delphi 12. Ook de gewijzigde floating point afhandeling van Delphi 12 komt aan bod.

Inschrijven kan hier:
https://www.barnsten.com/nl/product/delphi-12-athens-essentials-vcl-training/

 

 

Een frisse start met Delphi 12 Athens

Een frisse start met Delphi 12 Athens
We focussen in dit webinar op de nieuwe features en changes die invloed hebben op de user interface of code van je Delphi applicaties. De onderwerpen zijn de Artwork Generator, gebruik maken van SKIA voor PDF, de MDI Visualmanager voor een nieuwe GUI, de handige Multiline strings, en de veranderde afhandeling van FPU Exceptions, inclusief het effect op multi-threading met TTask en de PPL.

Wanneer?
Vanmiddag op dinsdag 23 januari 2023 om 16.00.

Waar?
Het webinar is online, registreer je nu hier:
https://www.barnsten.com/nl/een-frisse-start-met-delphi-12-athens/

Tot vanmiddag!

P.S. Het webinar wordt niet opgenomen; alleen de Delphi demo videos worden na het webinar stuk voor stuk gepubliceerd.

Delphi Developer Day – 8 juni 2023 in Amsterdam

Volgende week donderdag op 8 juni organiseert Barnsten de Delphi Developer Day 2023.

Op deze dag komt ook Antonio Zapater van Embarcadero om wat nieuwtjes te vertellen over de laatste nieuwe release van RAD Studio 11.3 Alexandria. Maar hij heeft ook een sessie over mobile development.

Verder nog een sessie over Test Driven Development van Delphi MVP Marco Geuze en Kees de Kraker en een sessie over geavanceerd code logging met CodeSite van Delphi MVP Bob Swart.

Zelf laat ik zien hoe je de twee nieuwste ToolsAPI interfaces van Delphi 11.1 en 11.3 kunt gebruiken voor een VCL WelcomePage plugin met een XKCD comic en een Code Editor Word Marker. De eerste is gewoon leuk, de tweede vooral ook erg nuttig. De Code Editor Word Marker kan je namelijk helpen bij continu en geleidelijk verbeteren van broncode, zonder dat je dit in één keer hoeft te doen in één saai langdurig blok van code refactoring.

Het programma kun je ook downloaden als PDF.

Happy Birthday Delphi!

Happy Birthday Delphi!

Today Delphi turns 28, and that’s the second perfect number. To celebrate we baked not one, not two, but three mini dutch apple pies.

Delphi 28th birthday applepie

one Mini Dutch Apple Pie, two Mini Dutch Apple Pies, three Mini Dutch Apple Pies!

Did you know that Python turns 31 in just 6 days? Oh, and 6 is the first perfect number. And 31 minus 28 is 3. Is this all just a coincidence? 😉

Ontdek Delphi 11.2 Alexandria

De nieuwe Delphi 11.2 Alexandria release is uit en we zijn blij met deze versie. We gaan samen met Barnsten in een webinar niet alleen de nieuwe features bekijken, maar er ook enkele uitproberen met demo’s.

Wanneer?
Donderdag 22 september 2022 van 09.30 tot 10.30 uur.

Waar?
Het webinar is online, registreer je nu hier:
https://www.barnsten.com/nl/ontdek-delphi-11.2-alexandria/

Waarom?
Maak niet alleen kennis met de nieuwe features en mogelijkheden van Delphi 11.2  Alexandria maar zie ook hoe je ze kunt toepassen. In dit webinar zie je op welke manier de nieuwe IDE features gebruikt kunnen worden in een development team en welke wijzigingen relevant zijn voor nieuwe en bestaande Delphi projecten. Tijdens en direct na afloop van het webinar kunt via de chatbox vragen stellen.

Teasers?
In dit webinar zie je hoe je local GetIt kunt gebruiken, hoe je Help Insight tags kunt toevoegen, met als bonus voor de deelnemers de primeur van een comic plug-in voor de Welcome Page.

Android SDK for Delphi 11.2 Alexandria

The Android SDK is an optional feature in the Delphi installation. Now if you did not select it in the install, you can add it later using the Tools – Manage Platforms menu in the Delphi IDE. If you do that, then you should also check the Eclipse Temurin OpenJDK 11 (Hotspot) JVM, for the Java bits the Android SDK needs.

If you forgot that, no worries, the Delphi IDE has an automatic feature to detect missing Android SDK files. So if you start an Android project and then hit compile you will get a question from the Delphi IDE “Would you like to update the platforms SDK now?” Just click yes and it will then download the Android SDK for you and you can just continue.

Would you like to update the platforms SDK now?But occasionally the install process of Delphi fails to download some of the required Android SDK files from Google. There are many reasons for this, sometimes the Google servers are down or there is a conflict with an existing Android SDK. You can easily confirm issues using the Delphi SDK Manager, that you can open through the Tools – Options menu. Under the Deployment branch you’ll find the SDK Manager.

Android SDK manager fro Delphi 11.2The missing folders are indicated with yellow danger signs next to them. In this case we are missing

  • build-tools 32.0.0
  • platform-tools
  • platforms android-32

The solution here is to open an administrative command prompt and navigate to the Android SDK advmanager.bat folder as you can see in the SDK manager screen:


CD "C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.46141.0937\cmdline-tools\latest\bin"

In that folder we need to use the sdkmanager.bat file to download and install the missing items.


sdkmanager "build-tools;32.0.0"
sdkmanager "platform-tools"
sdkmanager "platforms;android-32"

You can also list all the available items that you can download and install in from Google.


sdkmanager --list

More information on the sdkmanager can be found on the android developer website: https://developer.android.com/studio/command-line/sdkmanager

That should fix it all up!

As a sidenote; with the newer Windows 10 and 11 versions the Android ADB driver comes pre-installed, and you just have to enable developer mode and connect your Android device with an USB cable to get Windows to install the Android Debug Bridge driver.

Online Delphi 11 update training – 12 augustus 2022

Het doel van deze 1 daagse training is om met de getoonde nieuwe technieken in een handomdraai uw Delphi applicaties veiliger, sneller en toegankelijker te maken met Delphi 11 Alexandria.

Een handgreep uit de onderwerpen:

Verbeter je GDPR/AVG compliance met password hashing, verminder fouten met inline variables in een for loop en neem afscheid van unit initialization en finalization met class constructors.

Voeg High-DPI en multi-monitor support toe aan je applicatie, noodzakelijk voor de moderne (thuis)werkplek, maar zorg er gelijk ook voor dat deze goed draait in virtualisatie omgevingen.

Maak tevens een eenvoudige web service bij je applicatie en zo maak je je applicatie open voor de wereld.

Deze één daagse online training kan gevolgd worden met Delphi 11.1 Professional of Enterprise, op je eigen laptop. Het grootste deel van de training gebruikt het VCL desktop framework met een kleine uitstap naar het FireMonkey framework.

De training zelf doen we online in Microsoft Teams. Je kunt deelnemen vanuit een web browser (Edge of Chrome), maar als je vooraf de Microsoft Teams desktop software installeert heb je net wat meer mogelijkheden. Tijdens de training is ook 1 op 1 overleg met de trainer mogelijk. Delen van video is gezellig, maar uiteraard niet verplicht. Verder ontvangt je trainingsmateriaal en hebben we uitgewerkte broncode en oefeningen.

Inschrijven kan hier, daar vindt je ook de agenda:
https://www.barnsten.com/nl/product/delphi-11-1-alexandria-update-training/

Happy Birthday Delphi !

Delphi 27th birthday

Happy Birthday Delphi !

On Monday the 14th of February Delphi turns 27, #Delphi27th. The current version of Delphi is Delphi 11 Alexandria, named after the famous Alexandria library. As I’ve been developing Delphi code for some years now, I’ve also collected a library of code snippets and I would like to share the idea of creating your own library of code snippets with you.

What are code snippets?

Wikipedia defines a code snippet as a small region of re-useable source code. In Delphi these re-usable snippets can be found under Live Templates, and under several other aspects of Code Completion. My own code snippets however have a  broader scope and they range from one-liners to complete design patterns and even (partial) frameworks. Sometimes a code snippet illustrates a corner case that I’m bound to forget otherwise, sometimes it’s a complete base version for creating a REST based web service or a design pattern for graceful termination of Task based multithreading.

Code snippets are really very personal and usually just useful for you and they do not need to hold up to public scrutiny. They are mostly placeholders for your knowledge, your personal library which only you know and use. For me they are also a toolbox with ready made algorithms or solutions to common coding challenges.

Maybe the idea of collecting code snippets and building your own personal Alexandria library of knowledge appeals to you as well. If so, take a look at the short video on the subject and start collecting!

Delphi Code Snippets video

Click to start the YouTube video on Code Snippets

Slides of this video and the source of DoubleTrouble and EZeroDivide can be downloaded here. The WinRAR archive has Delphi27 as password protection.

Don’t forget to join the Delphi27th Anniversary webinar on Monday at 17:00 CET with Jim McKeeth, Marco Cantu, David Millington and Ian Barker.

Egyptian Basbousa

for Alexandria we made Egyptian Basbousa

Delphi 11 VCL Essentials training – 16-18 maart 2022

Volgende maand staat een driedaagse Delphi 11 Alexandria VCL Essentials training in de planning, op woensdag 16 maart tot en met vriidag 18 maart in de historische locatie van kasteel Montfoort.

Deze nederlandstalige 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 direct al om Windows applicaties te maken met Delphi, maar ook leer je gebruik maken van een database via FireDAC. Verder in-memory en local data, debugging, Windows-11 styling en zelfs wat generics en andere moderne code constructs van Delphi 11.

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