Over Danny

Delphi trainer en ontwikkelaar.

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!

Blaise Meetup – 9 maart 2019 IJsselstein

Wat een leuke locatie voor een Meetup, een gezellige lunchroom op de doelenstraat 12  in hartje IJsselstein Bij deze Meetup mocht ik het maken van HTML5 Web Apps en WebBroker Micro Services laten zien in Delphi, terwijl Mattias Gärtner de Michael van Canneyt de technieken in Lazarus lieten zien.

Het was een erg gezellige groep met developers uit Nederland, België en Duitsland, dank je voor jullie leuke vragen en enthousiasme.

Voor de deelnemers, de sources en slides kun je via dit artikel downloaden. Let wel dat er twee regels moeten worden aangepast voor compatibiliteit met de nieuwere releases van TMS Webcore.

Coderage 2018 – Building Microservices and Progressive Web Apps (PWA) with Delphi

Thank you for attending my Coderage 2018 session on Building Microservices and Progressive Web Apps (PWA) with Delphi and TMS WebCore.

If you want to replay the session, please visit the Coderage 2018 page on Embarcadero Academy.

Please find the download with source and slides here:
Download source and slides
The download has been compressed with RAR with password coderage2018
and has the following SHA-256 checksum
19cb86c5d401c55fe347a6adca1ed79f9dec4f7167e62d3f064e4cc617aa90aa

Have fun creating your own REST microservices and PWA‘s!

Note: with newer versons of TMS WebCore you may need to change two lines of code in the file UnitJSONHelper.pas.


Weblib.REST, Weblib.JSON;


lArray := lJSONObject.GetJSONValue('result');

Additionally the no longer needed WebRunner lines in the Project file TheCounterWeb.dpr should be automatically removed when you open the project, if not remove them manually.

CodeRage 2018 – 4-6 December 2018

CodeRage 2018 is just around the corner!

CodeRage2018

CodeRage2018

The complete schedule:
https://www.embarcadero.com/coderage-2018

This CodeRage I’m showing you how to build microservices and how to consume them from desktop, Android mobile and using a HTML / JavaScript web app. The web app uses TMS WebCore and PAS2JS, but goes beyond basic coding as it also shows you how to convert the web app to a Progressive Web App, or PWA for short

The boilerplate code is of course available for download, please use it to jump start your own software.

Oh, and the nice thing about PWA, an Android device will offer the user the option to install the web app as an actual app with an icon on the start screen. Good stuff!

Register here, it’s free but infinite value for money:
https://www.embarcadero.com/coderage-2018

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

Delphi Academy start volgende week

Delphi Academy is een geheel vrijblijvende en voor stagiairs, afstudeerders, scholieren gratis toegankelijk opleiding tot Delphi developer.

Delphi Academy LogoIn een eerdere meetup met Delphi MVPs hebben we het erover gehad. Zou het niet mooi zijn als er een open opleiding zou bestaan om je te scholen tot Delphi developer?

Delphi Academy is zo’n een traject, en in 3 maanden worden de deelnemers opgeleid tot junior Delphi developer. Lukt het je alles mee te doen, aan het eind weet elke werkgever; deze kanidaat weet al heel veel.

Je kunt echter ook gewoon deelnemen aan enkele van de trainingen of course en praktikum dagen. De trainingen zijn Open voor deelname vanuit het bedrijfsleven, de overige zijn voor Stage, voor stagiairs en afstudeerders of voor iedereen die affiniteit heeft met ICT en zich wil omscholen.

En ja, het is echt vrijblijvend, geen verplichtingen achteraf.

Doe je ook mee?

Meer informatie en inschrijven: https://delphiacademy.nl/

Visit to Alister Christie

While we where on vacation in New-Zeeland, Alister Christie kindly invited us over to stay at their house for a couple of days. We had a great time with Alister and Jackie, we absolutely loved our stay. Their patch of the world is also really something special. Alister also made some time for an interview, he really makes full use of each day. Did you know Alister makes some terrific wines at home? They where absolutely delicious. Hope to visit again sometime!.

Alister Christie

Alister Christie

We also organized some meetups with Delphi developers in Auckland, Wellington and Christchurch, which were great. Its fun to see such diversity and ingenuity in using Delphi in all kinds of software. On these meetups Alister presented on the PPL and I introduced the TMS Web Core. TMS Web Core can really be a game changer; as its very easy to get into web page based apps using this technology. They can also easily be made Progressuve Web App compliant.

It was great to meet all these nice people in New-Zealand!

 

Delphi Meetup Web Development bij TMS op 12 juni 2018

Het is al bijna zover, de volgende Delphi Meetup. Dit keer in Wevelgem op het kantoor van TMS Software.

Bruno Fierens laat zien hoe je vanuit de Delphi IDE, met de Delphi taal en componenten, op een een RAD manier web user-interfaces kunt bouwen. Ook zie je hoe vanuit die Delphi web applicaties op eenvoudig bestaande Javascript libraries, zoals bijvoorbeeld jQuery, gebruik kan worden gemaakt van user-interface controls. Als laatste laat hij zien hoe dit samen met Delphi databinding te gebruiken is..

In aansluiting op de sessie van Bruno combineert Danny Wind in een use case een aantal technologieën om je te laten zien hoe eenvoudig het is om gebruik te maken van RADical Web. Danny zal een op REST gebaseerde micro-service back-end gebruiken en een  front-end die zowel RADical Web als Apps (Android/iOS) gebruikt. En dit alles gewoon met Delphi Code!

Meer info vindt je hier:
https://www.barnsten.com/nl/events/details?events_id=323

Get your App in the Google Play store before August 1, 2018

Google is changing its requirements for the target SDK API level. Starting from August 1st any new app uploaded to the Play Store must target API level 26 (Android 8.0). If you have an existing app in the Play Store you’ll have some more time, as updates to the app must only meet this same requirement on November 1st.

This means that if you are currently developing a new Delphi Android App you should consider uploading it into the Play Store before August 1st. Why? The current version of Delphi uses a target SDK of API level 14. If you upload your new app now, this buys you some time until November 1st to become API level 26 compliant with an app update.

I’m working on an API level 26 issue right now, where I’m extending the JContext of Delphi with some of the new API level 26 features for starting a foreground service. This is needed to comply with the new background execution limits introduced in Oreo. This works quite well, and does not require a lot of code.

If you can not upload your app to the Play Store before August 1st, then this blog post from Dave at Delphi Worlds may help you further. It changes some of the Delphi code to achieve (partial) API level 26 compliance.