Creating A Simple Web Server With WebBroker

- 14/02/2023 - 15 minutes - Patrick Prémartin


Following a discussion on a forum of French-speaking developers about the possibility of creating a web server with WebBroker I thought that rather than explaining in an abstract way it would be a good idea to go to the practice and do it on the occasion of the DelphiCon 2023 conference in the form of short video.

A few pages of explanations about what WebBroker is, how the Internet and a web server work and then we go to practice with a web site created around images generated by Dall-E 2 to celebrate the 28 years of Delphi. The drawings are not necessarily the prettiest in the world, but it was fun to do.

The web site was generated from the images using the Photo Album Generator program created in August 1999 to make photo albums on CD-Rom. It has been updated in Delphi 11.2 Alexandria to add support for PNG images. Its source code has been opened and is available on GitHub.

The WebBroker program is developed around the site and its tree structure. It is a simple way of doing things but it is restrictive. I could also have processed everything directly in the default action and make a server that can be used with any kind of website. It is not very complicated to make modifications from the source code provided and get what you want.

WebBroker has been provided with Delphi for a very long time. It is available at all license levels: Community Edition, Academic or paid licenses for professionals and companies.

A more detailed French version of this presentation was made on March 9 on Twitch. The replay is available on this page.

Liens associés

Ces liens s'ouvrent dans la même fenêtre que cette page. En cliquant dessus vous quitterez Serial Streameur.
Pensez à les ouvrir dans un nouvel onglet si vous préférez rester ici pour y revenir plus facilement.

Fichiers associés

Certaines informations n'ont pas été affichées. Vous devez vous connecter pour y accéder.

Connexion Inscription

Mots-clés associés

Delphi, WebBroker


Conférences > DelphiCon 2023