Learn how to code softwares and mobile apps in low code or no code mode with Delphi and C++Builder. It's easy : all is included in the free Community Edition for individuals and of course in paid editions for professionals.
The replay of this webinar is available at https://serialstreameur.fr/delphicon-2021-delphi-nocode.php
This webinar is also available in french at https://serialstreameur.fr/webinaire-20210930.php
1. Sponsored by
Using Delphi as a No Code development IDE
Patrick Prémartin
DELPHICON 2021
The Official Online Conference All About Embarcadero Delphi
delphicon.embarcadero.com
2. Sponsored by
Agenda
● What is Delphi and how it works ?
● How to draw user interface ?
● Using databases (client/server, local or in memory)
● How to add screens in a program ?
● How to access web API ?
● Coding a CRUD application without coding
● You want more ?
3. Sponsored by
Speaker
● Patrick Prémartin - MVP Embarcadero
● Freelance Delphi and web developer since 2000
(just after the bug)
● Delphi user since the beginning and before
with Borland / Turbo Pascal.
● Coder since a little more in a lot of languages
but forever a Delphi fan !
4. Sponsored by
Speaker
● Patrick Prémartin - MVP Embarcadero
● Follow me on :
● GitHub : https://github.com/DeveloppeurPascal
● Itch.io : https://gamolf.itch.io
● Twitch : https://www.twitch.tv/patrickpremartin
● My blog : https://developpeur-pascal.fr
● LinkedIn : https://www.linkedin.com/in/patrickpremartin/
5. Sponsored by
What is Delphi and how it works ?
● Delphi is an IDE : integrated development environment.
● Delphi use a language to code : Object Pascal.
● Delphi give us a lot of libraries and coding interfaces.
● And finally, Delphi has visual and nonvisual components for
designing user interfaces.
6. Sponsored by
What is Delphi and how it works ?
● Since Delphi 1 we can create programs without coding.
● Current programs can run on Windows, Mac, Linux, iOS and
Android.
● Let me show you how to do with Delphi 11 Alexandria.
7. Sponsored by
What is Delphi and how it works ?
● In Delphi, a program is a project.
● You can create Windows only programs with VCL projects.
● You can create multiplatform programs with FireMonkey
projects.
8. Sponsored by
How to draw user interface ?
● Create a new project (VCL or multiplatform).
● Delphi will add a form, the canvas where you’ll draw the user
interface.
● Simply drag & drop your components from the components list
and it works…
9. Sponsored by
Using databases (client/server, local or in memory)
● In the past we had the Borland Database Engine (BDE) but it’s
deprecated and was replaced by dbExpress, dbGo and now
FireDAC.
● With FireDAC you can manage databases directly from the IDE
and of course in your projects.
● Add a connection to your database, add queries or tables and
link them to visual component for displaying or editing your
data.
10. Sponsored by
How to add screens in a program ?
● In no code mode, you’ll have to use tab controls to simulate
screens and standard actions from action lists to go from one
screen to another.
● Only one form is needed, but beware : it’s better to know some
Pascal commands to show / hide / activate other forms.
11. Sponsored by
How to access web API ?
● Delphi has a TWebBrowser to display HTML pages.
Use it to show local documents or web sites.
● You can also use TRESTClient, TRESTRequest and other
TRESTxxx nonvisual components to access an http/s server
and get its answer as a table in memory.
REST Debugger is a free tool to use to configure those
components. It’s available from Embarcadero website or in
Tools menu option of Delphi.
12. Sponsored by
How to access web API ?
● Please look at David Cornelius presentation if you want a demo.
https://delphicon.embarcadero.com/talks/delphi-does-low-
code-cross-platform-rest-client-in-30-minutes/
13. Sponsored by
Coding a CRUD application without coding
● Let’s code a simple CRUD application with only drag&drop in
Delphi form editor.
● This sample project is available on GitHub at
https://github.com/DeveloppeurPascal/Coder-sans-coder-
Delphi-en-mode-nocode-c-est-possible
14. Sponsored by
You want more ?
● Using Delphi for creating simple database apps is easy and you
don’t need to know how to code.
● Use it for your personal databases, for sample projects or
prototypes.
● You also can use Delphi without coding during Startup Week-
ends or hackathons if you need a program or mobile app to
explain a concept or win a challenge.
16. Sponsored by
Q&A
● Sorry, I’m not live for Q&A during DelphiCon 2021 but if you
want to talk, leave me a message on LinkedIn or at
https://developpeur-pascal.fr/contact/
● You also can talk with me on Twitch during a live (game or
other) coding stream at
https://www.twitch.tv/patrickpremartin
● Please write in French or English.
Use https://www.deepl.com/translator tool to translate if
needed.