Delphi Web Service articles in Blaise Magazine

Two of my Delphi web service articles have been published in Blaise Pascal Magazine and a third one is coming up.

This series of articles is about writing your own web services server and client in Delphi. The approach of all articles is pragmatic. The first article introduces some of the concepts you need to know and shows you how to create and consume your own web service in Delphi. This second article shows you how to update the data in the web service and how to create in-memory storage for the web service. There is even some JavaScript that shows you how to use the web service from a HTML page.

Creating a web service is a simple and straightforward way to share Delphi application data with third-party software vendors. It’s easy to create one, and it supports the standard features of REST web services with industry standard JSON.

Blaise Pascal Magazine appears 10 times a year, each issue has at least 100 pages with articles on Delphi and Lazarus. The latest issue is #93, as noted with Web Service Part 2 Storage by Danny Wind, but also with ORM in kbmMW #3 Copying a table from one database to another by Kim Bo Madsen. The best choice for getting your Blaise Pascal Magazine issues is a subscription.

Delphi 10.4.2 Sydney Webinar 18 maart 2021

Delphi 10.4.2 build native apps fasterSamen met Barnsten nemen we op donderdag 18 maart 2021 om 15:00 een praktische kijk naar de hoe je de nieuwste features van Delphi 10.4.2 Sydney kunt toepassen.

We gaan hier dieper in op meerdere onderwerpen; zoals MSIX support en hoe dit werkt aan de binnenkant, via een TNumberBox wisselkoersen demo met live koersen van de ECB. Hoe je de nieuwe EdgeViewer2 support in een applicatie inbouwt en volledig embedded deployed als onderdeel van een MSIX package. Wat de aandachtspunten zijn voor Android 11 compatibiliteit. Verder kijken we ook nog nader naar de updates in de LSP met praktische tips en nog wel meer onderwerpen. Vergeet ook niet de Q & A aan het einde, waarin je al je (Delphi) vragen kunt stellen.

Meer info en inschrijven kan met deze link::

Webinar: Praktische kijk op de nieuwe Delphi 10.4.2 Sydney versie

Online Delphi FireMonkey en Android Power training – 4 en 5 maart 2021

Altijd al een App willen maken in Delphi? Schrijf je dan nog deze maand in voor de online Delphi FireMonkey en Android Power training.

In de eerste dag, op 4 maart, behandelen we het FireMonkey framework. De aanpassingen ten opzichte van het VCL framework en de best use scenario’s voor het maken van een nieuwe FireMonkey desktop application. Denk aan visualisatie, het gebruik van livebindings (loose coupling) en asynchrone execution om de GUI snel en responsive te houden.

In de tweede dag, op 5 maart, gaan we over naar mobile development. Een deel van de training is algemeen voor Delphi mobile App development, met als focus Android development. Hiervoor is een voor Delphi development geschikt Android device noodzakelijk, zie hier voor de requirements. Download ook eventueel vooraf aan de training de benodigde USB debug drivers voor je Android device. In de training behandelen we mobile templates, local storage, maar ook web services en interactie met Java en het nieuwe permissions framework van Android.

De training kan gevolgd worden met Delphi 10.4 Professional of Community Edition. Voor Android 11 compatibility raden we de laatste versie aan van Delphi 10.4. In een klein deel van de training is er een keuze tussen Delphi 10.4 Enterprise code of Delphi 10.4 Professional code.

De training zelf doen we online in Microsoft Teams. Je kunt deelnemen vanuit een web browser (Edge of Chrome), maar je kunt ook de Microsoft Teams client installeren voor 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 u per post een hardcopy van het trainingsmateriaal.

Inschrijven kan tot en met 28 februari:
https://www.barnsten.com/nl/product-categorie/embarcadero-tools-nl/trainingen-nl/

Delphi GitHub repositories

Searching for Delphi repositories on GitHub is made more difficult than it should be.

GitHub has no language Delphi

What? No Delphi?

The main reason is that Delphi is not listed as a language. OK, Delphi is a development environment, not a language, fair enough. But what about Object pascal?

GitHub has no language Object Pascal

GitHub has no language “Object Pascal”

Why is Object Pascal is not listed?

With a little more research you can find out there are language items for Pascal and Component Pascal. But if you search for language:”Component Pascal” its kind of a dead end with just around 900 entries.

GitHub search for language:"Component Pascal"

search for language Component Pascal has some results

Some of these are relevant for Delphi, but some are not. Oh, but that’s logical, you might think, because Component Pascal is not meant to refer to Delphi. And you’re right, Component Pascal is officially the name for a language based on the Oberon-2 language which was originally based on, but incompatible with, Pascal.

Then you decide to just do a manual search in GitHub on language:Delphi.

GitHub maps a search for language Delphi to Component Pascal

language:Delphi “Helpfully” re-routed to Component Pascal

Which doesn’t get you very far, because GitHub “helpfully” re-routes your language:Delphi search to the Component Pascal results.

So then you decide to just search for language:Pascal and yes, then the results are there.

GitHub search on language Pascal

No drill down for Languages if you search for language:Pascal

But not in the best format. Why? Because you cannot drill down with the Languages list box on the left side for repositories in other Languages that have something to do with Delphi. So using this path, you would probably never find this Delphi de-compiler that’s written in C++.

So what to do?

Luckily there is a workaround. We just need to do a search for Delphi in the readme files that accompany each repository. Then we get this result.

GitHub search Delphi in readme

search for Delphi in readme files

These results are more relevant, but even better; we can now drill down using the Languages box on the left bottom of the screen.

GitHub readme Delphi drill down Pascal

drill down using languages based on Delphi readme search

That’s more like it!

Besides Heidi SQL, Python4Delphi and MARS we now also find a handy repository with a curated list of many relevant Delphi repositories.

GitHub curated list of Delphi libraries

a curated list of Delphi libraries

So there you have it.

Just go to GitHub Advanced Search and type Delphi in:readme and you’ll find what you need.

GitHub Search Delphi in:readme

use Delphi in:readme in GitHub Advanced Search

Keep in mind, GitHub is not the only location for Delphi repositories. For instance Spring4D only has a placeholder on GitHub, but can be found over here.

2020 space space 2021 space !

To me 20 20 was space space, but 20 21 will be space !

Some space ! events coming up:

The inaugural launch of NASA’s Space Launch System, then back to the Moon in 2024 and to Mars?
https://www.nasa.gov/exploration/systems/sls/index.html

SpaceX Serial number 9 (SN9) is up next – going up in orbit, Mars, here we come!
https://www.spacex.com/vehicles/starship/

Perseverance will be doing some extra scouting for us, countdown to landing on Mars…
https://mars.nasa.gov/mars2020/

Happy space ! everyone

Delphi 10.4.1 Apple Platforms Patch (December update)

De update patch voor de nieuwe Apple Platforms is ververst en opnieuw beschikbaar. Eerder was in november al de patch met support voor XCode 12, iOS 14 en macOS Big Sur uitgekomen. Deze december patch vervangt deze en fixt enkele bugs in de DataSnap ClientDataSet en in DBX en lost tevens enkele linker errors op als je build naar iOS14.

Beschikbaar via GetIt en als losse download. Let wel dat je de download hebt vanaf 18 december. Mocht je eerder op 16 december een download hebben gedaan, update deze dan met de versie van 18 december, anders heb je een oude versie van PAServer. Dit is in de zip eenvoudig te herkennen door de file datums van na 16 december.

Downloaden van deze patch via het registered users portal:
https://my.embarcadero.com/

Spice up your Delphi application with online image content – 8 december 09:15

Move beyond the confines of your application and add online content in
just 50 lines of code.

Join us with Alister Christie from New Zealand for this live Q&A and webinar on scraping the web for live and always up-to-date art work in your Delphi application.

In this session Alister shows you how to spice up your application with image content scraped from the WikiMedia website. Technologies used in this session are NetHTTP, JSON, Regular Expressions and XML storage with the ClientDataSet. At the end Alister goes down the rabbithole to add additional compatibility with a missing JPEG format in the VCL. Just for fun!

After this workshop you can easily use the code to create your own web crawler or scraper to add online content to your application. Please make sure the media you scrape can be used freely.

Register here:
https://www.barnsten.com/spice-up-your-delphi-application/

The Q&A at 09:45 will be handled by Alister (for him its 21:45), so this is a chance to meet him live online. I’ll be there as well.

DelphiCon 2020 Watch Now

Its almost time!

If you for some reason missed the email with the personal link for your session, just visit the schedule on the same computer where you registered and select that session and then click on the Watch Now button. This will open GotoWebinar for your session.

Or open a new webbrowser with the general link you received by email that has the attendee code in a parameter (looks like https://delphicon.embarcadero.com/?ah=00XX0x) and then use the View button to goto the current session from your personal schedule,
https://delphicon.embarcadero.com/attendee/schedule/, and go from there.

The opening keynote link is:
https://delphicon.embarcadero.com/talks/opening-keynote-the-state-of-delphi/

DelphiCon 2020 Watch Now

DelphiCon 2020 – 17 – 19 november

DelphiCon 2020Volgende week start de DelphiCon 2020 van 17 tot en met 19 november. Een online conference alleen over Delphi en niets anders dan Delphi.

Met ondermeer een sessie van Alister Christie met code en demos uit zijn boek Code Faster in Delphi. Ook een mooie sessie van Andrea Magni over zijn boek Delphi GUI Programming with FireMonkey. Ik kijk ook uit naar de sessie van Primož Gabrijelcic over zijn boek High Performance Delphi. Het is heerlijk om goed en mooi leesvoer te hebben over Delphi.

Heb jij of je klant net een 4K scherm gekocht? Neem dan ook even een kijkje bij de sessie van Ray Konopka over Leveraging High DPI in VCL Applications.

En mocht je ooit een keer een bug introduceren in je code dan kun je zeker de sessie van Bob Swart waarderen over Real-world CodeSite Logging Techniques.

Het volledige programma vindt je hier:
https://delphicon.embarcadero.com/schedule/

Vergeet ook niet de Delphi 10.4.1. compiler en LSP patch te installeren die vandaag is uitgekomen. Hierin wordt een bug gefixt in record alignment die je lastig kan vallen.