Learn Delphi https://learndelphi.org Delphi takes best of Pascal and gives it all the features and power needed to tackle the most demanding applications on all the platforms. Wed, 30 Oct 2024 22:51:44 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.5 https://i0.wp.com/learndelphi.org/wp-content/uploads/2023/12/cropped-delphi-logo-1024.png?fit=32%2C32&ssl=1 Learn Delphi https://learndelphi.org 32 32 176273775 How to Create Python GUI Apps Using DelphiFMX and ChatGPT https://learndelphi.org/how-to-create-python-gui-apps-using-delphifmx-and-chatgpt/ Fri, 29 Nov 2024 05:00:00 +0000 https://learndelphi.org/?p=13662 Delphi and Python are probably two of the most powerful and high-level programming languages that are commonly used by most developers today! Choosing between the two highly depends on the type of project or application you are working. Python, for instance, is known for its versatility and beginner-friendly features. It is even referred to as the Swiss Army knife because...

The post How to Create Python GUI Apps Using DelphiFMX and ChatGPT first appeared on Learn Delphi.]]>
Delphi and Python are probably two of the most powerful and high-level programming languages that are commonly used by most developers today! Choosing between the two highly depends on the type of project or application you are working.

Python, for instance, is known for its versatility and beginner-friendly features. It is even referred to as the Swiss Army knife because you can easily achieve any software implementation using third-party packages or libraries.

Delphi, on the other hand, is best known for its Rapid Application development which certainly has big advantage when it comes to Windows application development.

It allows developers to quickly build an application with its user-friendly visual development environment. Aside from its VCL framework, Delphi also has FMX or FireMonkey that allows you to build cross-platform application, making your application available for other platforms like Android, macOS, Linux, and iOS.

The Fusion of Delphi and Python via DelphiFMX

Interestingly, developers can have the best of both worlds. You can embrace powerful features from both Python and Gui using two different libraries, depending on which language you want to work on.  These include the Python4Delphi library and the DelphiFMX for Python.

The Python4Delphi or P4D is a set of free components that wrap up the Python DLL into Delphi and C++Builder. Through this, it becomes possible to execute Python scripts, create new Python modules, and run Python scripts within a Delphi application.

This integration allows developers to leverage Python’s extensive libraries and capabilities directly within Delphi applications, combining the strengths of both languages.

The DelphiFMX for Python, on the other hand, is a Python package that wraps up the FMX library to make it available to Python. 

DelphiFMX for Python and ChatGPT Fusion

In this video from the Coding Bootcamp 2023, Eli M will walk us through the DelphiFMX for Python framework and how it works.

To make it more interesting, the video will show how you can take advantage of the AI technology by creating various Python GUI apps using the ChatGPT.

The video will provide us the comprehensive procedure as well as the tools that you need to use to make this integration possible.

We will also be introduced to Replicate.com, a platform that provides tools and services for running machine learning models in the cloud. We will also learn how if Replicate can also do a large language model like Vicuna-13b.

To learn more about DelphiFMX for Python, feel free to watch the video below.

The post How to Create Python GUI Apps Using DelphiFMX and ChatGPT first appeared on Learn Delphi.]]>
13662
Everything You Should Know About the Fundamentals of Component Building in Delphi https://learndelphi.org/everything-you-should-know-about-the-fundamentals-of-component-building-in-delphi/ Wed, 27 Nov 2024 05:00:00 +0000 https://learndelphi.org/?p=13507 Building components in Delphi is a powerful way to extend the functionality of the Delphi IDE, enabling developers to create custom controls and reusable components that are tailored to their specific needs. Generally, these components are considered to be the building blocks of Delphi. In fact, these core features are what make Delphi the Delphi that we are very familiar...

The post Everything You Should Know About the Fundamentals of Component Building in Delphi first appeared on Learn Delphi.]]>
Building components in Delphi is a powerful way to extend the functionality of the Delphi IDE, enabling developers to create custom controls and reusable components that are tailored to their specific needs. Generally, these components are considered to be the building blocks of Delphi. In fact, these core features are what make Delphi the Delphi that we are very familiar with. These components are the frameworks of both VCL and FMX and in this video, we will dig deeper into what really makes this unique Delphi component model work and how does it do the things that it does.

How to Build a Custom Delphi Components?

From the Coding Bootcamp 2023, Ray Konopka, the author of Developing Custom Delphi Components and creator of the Konopka Signature VCL Controls will walk us through everything we need to know about these powerful components, the process of building them, deploying them to the IDE software, properties, methods, events, and more.

Interestingly, this process involves several key steps, each of which is critical to ensure that the component is robust, reliable, and easy to use. In this video, Ray will demonstrate this process and will also highlight some of the base classes that serve as the foundational building blocks for creating custom components and controls in Delphi. These include the TComponent, TGraphicControl, TControl, TWinControl, and TCustomControl to name a few.

Ray will also guide us through the process of creating a package, registering the component and adding it to the package.  We have learned that creating custom components can enhance the functionality of your Delphi applications and contribute to a more efficient development workflow.

This session also ends with a Q&A with Ray and Embarcadero Developer Advocate Ian Barker. To learn more about component building in Delphi, feel free to watch the video below.

The post Everything You Should Know About the Fundamentals of Component Building in Delphi first appeared on Learn Delphi.]]>
13507
How to Build Apps For Raspberry Pi From Delphi Using TMS Miletus and FNC https://learndelphi.org/how-to-build-apps-for-raspberry-pi-from-delphi-using-tms-miletus-and-fnc/ Mon, 25 Nov 2024 05:00:00 +0000 https://learndelphi.org/?p=13514 TMS Web Core has been a staple subject in many of the previous seminars, particularly in the Coding Bootcamp. It is a framework developed by TMS Software that allows developers to create modern web applications using the Delphi programming language. Generally, it leverages the power of Delphi by offering a range of components and tools designed to simplify the process...

The post How to Build Apps For Raspberry Pi From Delphi Using TMS Miletus and FNC first appeared on Learn Delphi.]]>
TMS Web Core has been a staple subject in many of the previous seminars, particularly in the Coding Bootcamp. It is a framework developed by TMS Software that allows developers to create modern web applications using the Delphi programming language. Generally, it leverages the power of Delphi by offering a range of components and tools designed to simplify the process of building responsive, cross-platform web applications.

What You Need to Know About TMS Miletus App?

In this video, Bruno Fierens will dig deeper to one of the software’s very own Miletus Framework and how it can be used to create applications that run directly on the Raspberry Pi and even access electronic devices connected to it. The Miletus app, part of TMS WEB Core, is a technology designed to create cross-platform desktop applications using Delphi. It allows developers to build standalone executable applications for Windows, macOS, Linux, and Raspberry Pi. These applications can run offline and have direct access to local operating system functionalities, including file systems, shell dialogs, and local databases.

One of the core features of this framework is its Raspberry Pi support. Miletus applications can directly interact with hardware connected to Raspberry Pi via I²C, SPI, GPIO, or UART ports. Bruno Fierens will not just walk us through the process of using the Miletus App but will also demonstrate how it works. In addition to that, Bruno will also add the FNC component in the mix to add a wide range of functionality to these Raspberry Pi applications.

FNC stands for Framework Neutral Components. For this video, using the integration of the Raspberry Pi, the classes and components of both Miletus and FNC, Bruno will attempt to connect a Bosch BMP280 Digital Pressure Sensor in a live demonstration. The session also concludes with a Q&A where Fierens will be accompanied by Embarcadero Developer Advocate Ian Barker to answer some queries.

To learn more about this fascinating webinar, feel free to watch the video below.

The post How to Build Apps For Raspberry Pi From Delphi Using TMS Miletus and FNC first appeared on Learn Delphi.]]>
13514
How to Make Your Apps Look Like Million Dollars? https://learndelphi.org/how-to-make-your-apps-look-like-million-dollars/ Fri, 22 Nov 2024 05:00:00 +0000 https://learndelphi.org/?p=13327 Just because you managed to build an app doesn’t guarantee success. Making your app look more appealing is essential for many reasons. The design of your app is the first thing users notice and certainly the first thing to make an impression. An appealing and professional design creates a positive first impression, encouraging users to explore further. When it comes...

The post How to Make Your Apps Look Like Million Dollars? first appeared on Learn Delphi.]]>
Just because you managed to build an app doesn’t guarantee success. Making your app look more appealing is essential for many reasons. The design of your app is the first thing users notice and certainly the first thing to make an impression. An appealing and professional design creates a positive first impression, encouraging users to explore further. When it comes to Windows application development, Delphi users are taking advantage of the superb features of VCL.

Leveraging VCL Styles has become more popular after Embarcadero added support for High DPI and per-control styling. Embarcadero even provides several VCL Styles that you can use to enhance the look of your application. While the built-in styles are already great, you can actually take them to another level. In this video from the Coding Bootcamp 2023, Ray Konopka from Raize Software will walk us through the process of making your apps look like a million-dollar worth.

How to Create A Custom VCL Style like A Pro

This session will cover everything that you need to know to create a custom VCL style like a pro. Attractive apps are more likely to engage users. A well-designed app can hold users’ attention longer, leading to increased interaction and usage. Achieving this, however, is quite a task. For Delphi users, the best and most effective way to achieve this is through RAD Studio’s Bitmap Style Designer which enables us to create our custom style.

Ray will let us dive in on how Bitmap Style Designer works. He will guide us on how to create a new style or make a copy of an existing style. He will also walk us through various processes of customization, including a number of customization elements that we can effectively utilize. The session will also highlight complex customization.

To learn more about these customization processes, feel free to watch the video below. 

The post How to Make Your Apps Look Like Million Dollars? first appeared on Learn Delphi.]]>
13327
How to Quickly Generate Reports from Delphi Application using FastReport https://learndelphi.org/how-to-quickly-generate-reports-from-delphi-application-using-fastreport/ Wed, 20 Nov 2024 05:00:00 +0000 https://learndelphi.org/?p=13331 Reporting is indeed a crucial task in every application development. For instance, it allows you to monitor or analyze the performance of your application. More importantly, these reports can be used to gather and analyze user feedback which can help developers understand user needs and improve user satisfaction. In addition to that, reports can help you identify or track bugs...

The post How to Quickly Generate Reports from Delphi Application using FastReport first appeared on Learn Delphi.]]>
Reporting is indeed a crucial task in every application development. For instance, it allows you to monitor or analyze the performance of your application. More importantly, these reports can be used to gather and analyze user feedback which can help developers understand user needs and improve user satisfaction. In addition to that, reports can help you identify or track bugs or issues within the application. In this video from the Coding Bootcamp 2023, MVP George De Luca will introduce us to a tool called FastReport.

How does FastReport Work?

FastReport is a powerful band-oriented report generator that allows you to build reports of any type. For this video, we will attempt to create a PDF report and be able to display it via web application. To do so, we will need to create first an application using IntraWeb. IntraWeb is a web application development framework for the Delphi programming language. Known for its beginner-friendly features, IntraWeb allows developers to design web applications without requiring any knowledge of HTML or Javascript.

George will walk us through the process of creating a basic IntraWeb project. With the designer’s easy drag-and-drop feature, George will show how quick and simple it is to add and integrate components to the application. This project utilizes components like TFDConnection to establish a connection to a database. For this video, we will be using the employee database sample from Firebird. We will also use components like TFDQuery and FastReport components to help us use the report template and to be able to generate reports in PDF format. This tool allows you to export the finished report not just in PDF format but in many other different formats like RTF, XLSX, XML, DOCX, TXT, CSV, Excel OLE, PowerPoint, HTML, MHT, XPS, JPEG, BMP, and PNG to name a few.

To learn more about FastReport and IntraWeb and how to be able to display the report in PDF format, feel free to watch the video below.

The post How to Quickly Generate Reports from Delphi Application using FastReport first appeared on Learn Delphi.]]>
13331
How to Make Authentication Easier with Amazon Cognito? https://learndelphi.org/how-to-make-authentication-easier-with-amazon-cognito/ Mon, 18 Nov 2024 05:00:00 +0000 https://learndelphi.org/?p=13413 There is no doubt that authentication is a critical aspect of software development, especially in Windows application development. It has been discussed multiple times from the recent Coding Bootcamp webinars. Its core function is to protect user information from unauthorized access and potential breaches. In addition to that, authentication also helps ensure that only legitimate users can interact with the...

The post How to Make Authentication Easier with Amazon Cognito? first appeared on Learn Delphi.]]>
There is no doubt that authentication is a critical aspect of software development, especially in Windows application development. It has been discussed multiple times from the recent Coding Bootcamp webinars. Its core function is to protect user information from unauthorized access and potential breaches. In addition to that, authentication also helps ensure that only legitimate users can interact with the application, reducing the risk of tampering or malicious actions that could compromise the application’s integrity.

What is Amazon Cognito?

In this video from Coding Bootcamp 2023, we will be introduced to Amazon Cognito and how it can make Authentication a lot easier. Amazon Cognito is described as an identity platform for web and mobile apps. It’s a user directory, an authentication server, and an authorization service for OAuth 2.0 access tokens and AWS credentials. Applications, especially those with a potential for high user engagement, require an authentication system that can handle millions of users seamlessly. Amazon Cognito excels in this area by providing automatic scaling capabilities, ensuring reliable performance regardless of user load. This scalability is critical for applications expecting rapid growth or sudden spikes in user activity.

In this session, Richard Hatherall will demonstrate the core features of Amazon Cognito, including its User Pools and Identity Pools. User Pools provide a secure user directory that can scale to accommodate hundreds of millions of users while Identity Pools allow for the creation of unique identities for users authenticated through various identity providers.

In order to integrate the authentication services into your application using Delphi, the video will also highlight Appercept’s AWS SDK for Delphi, a high-quality SDK designed to integrate Amazon Web Services into Delphi applications easily. The SDK also assists with deploying applications built in Delphi to run on AWS infrastrucure by integrating with platform services just like the official SDKs provided by Amazon for other languages.

To learn more about Amazon Cognito, feel free to watch the video below.

The post How to Make Authentication Easier with Amazon Cognito? first appeared on Learn Delphi.]]>
13413
Everything You Need to Know about CodeDroidAI, A Powerful AI Code Generation Tool for Delphi https://learndelphi.org/everything-you-need-to-know-about-codedroidai-a-powerful-ai-code-generation-tool-for-delphi/ Fri, 15 Nov 2024 05:00:00 +0000 https://learndelphi.org/?p=12676 With the fast evolving digital age, it is impossible that you have not heard of the AI or Artificial intelligence which is profoundly transforming the digital world in almost every sector, from the field of medicine down to businesses and marketing. This powerful AI technology is indeed reshaping industries and society. In the field of software development, this AI technology...

The post Everything You Need to Know about CodeDroidAI, A Powerful AI Code Generation Tool for Delphi first appeared on Learn Delphi.]]>
With the fast evolving digital age, it is impossible that you have not heard of the AI or Artificial intelligence which is profoundly transforming the digital world in almost every sector, from the field of medicine down to businesses and marketing. This powerful AI technology is indeed reshaping industries and society. In the field of software development, this AI technology offers the same impact. With the rise of powerful AI models like ChatGPT, you can now generate complex code automatically.

Understanding LLMs

In this video from the recently concluded Coding Bootcamp 2023 presented by Eli M, we will learn more about the Large Language Models (LLM) and the fascinating tool known as CodeDroidAI. A Large Language Model (LLM) is a type of artificial intelligence (AI) model designed to understand, generate, and manipulate human language. LLMs are absolutely a milestone in technology as they are a significant leap forward in natural language understanding and generation, enabling a wide range of applications and driving advancements in AI research and development. Leveraging LLMs like ChatGPT in application development can be a powerful way to add natural language understanding and generation capabilities to your software.

What is CodeDroidAI

In this video, Eli M will introduce us to CodeDroidAI, a powerful AI-powered tool designed to enhance and streamline the coding process for developers. It leverages advanced AI algorithms to provide features such as real-time coding suggestions, code completion, and intelligent error detection. This makes coding more efficient and helps reduce development time by minimizing errors and offering helpful prompts.

Interestingly, CodeDroidAI supports multiple programming languages and can be used across various operating systems including Windows, macOS, and Linux. It’s a powerful UI that uses leading Language Learning Models (LLMs) to seamlessly generate and validate code for Delphi. Eli M will demonstrate all the key features of this CodeDroidAI tool, including the different template options like Generate Procedures, Code Analysis, Generate FMX form, Conversion of Delphi code, Optimizing code, Translating between languages, and more.

To know more about how CodeDroidAI works and how you can benefit from its innovative technology, feel free to watch the video below.  

The post Everything You Need to Know about CodeDroidAI, A Powerful AI Code Generation Tool for Delphi first appeared on Learn Delphi.]]>
12676
Why XML is the Most Robust Data Exchange Format? https://learndelphi.org/why-xml-is-the-most-robust-data-exchange-format/ Wed, 13 Nov 2024 05:00:00 +0000 https://learndelphi.org/?p=14183 The Extensible Markup Language simply referred to as XML is widely known for its versatility and is a widely used data exchange format that has become an important feature of data interchange in many industries today. Its robustness, flexibility, and platform-independent nature make it an ideal choice not just for Windows application development but also for web services, document storage,...

The post Why XML is the Most Robust Data Exchange Format? first appeared on Learn Delphi.]]>
The Extensible Markup Language simply referred to as XML is widely known for its versatility and is a widely used data exchange format that has become an important feature of data interchange in many industries today. Its robustness, flexibility, and platform-independent nature make it an ideal choice not just for Windows application development but also for web services, document storage, and more.

In this video from the Coding Bootcamp 2023, we will dive deeper into XML, particularly Delphi’s XML-oriented features, and how to utilize them to their maximum potential.  Miguel Angel Moreno will help us understand XML better and why this data exchange format is considered the most robust of them all.

What Should You Know About XML?

Generally, XML is a software and hardware-independent tool for storing and transporting data. It is platform-independent which means that it can be used across different operating systems and programming languages without modification. While most REST services are now driven by JSON (another data exchange format), XML, despite its complexity is equally useful and effective.

XML is also a markup language like HTML. However, both languages are designed with different goals. For instance, HTML was designed to display the data while XML is merely designed to carry the data.

How Delphi Helps You Process XML Documents

Interestingly, Delphi offers comprehensive support for processing XML documents through its built-in components, libraries, and tools. Delphi comes with XML libraries including components like TXMLDocument. There are so popular open-source libraries like Oxml, Open XML, and Neslib.Xml. The video will also highlight popular Delphi frameworks including the XML Data Binding and the XML Mapper that both help you process XML in a specific manner.

In this video, Miguel will walk us through delphi’s XML Document model and will demonstrate how this component works. The video also concludes with a Q&A portion with Miguel Moreno and Embarcadero Developer Advocate Ian Barker.

To learn more about XML and Delphi, feel free to watch the video below.

The post Why XML is the Most Robust Data Exchange Format? first appeared on Learn Delphi.]]>
14183
What is Socket Messaging Library and How to Use it in Delphi https://learndelphi.org/what-is-socket-messaging-library-and-how-to-use-it-in-delphi/ Mon, 11 Nov 2024 05:00:00 +0000 https://learndelphi.org/?p=14187 In this video from last year’s Coding Bootcamp, Embarcadero MVP and winner of the 2024 Spirit Of Delphi award winner Patrick Premartin will help us understand socket networks and how to effectively use them in Delphi.  Generally, a socket is an endpoint for receiving and sending data across a computer network. It is a lower-level API to communicate between programs...

The post What is Socket Messaging Library and How to Use it in Delphi first appeared on Learn Delphi.]]>
In this video from last year’s Coding Bootcamp, Embarcadero MVP and winner of the 2024 Spirit Of Delphi award winner Patrick Premartin will help us understand socket networks and how to effectively use them in Delphi.  Generally, a socket is an endpoint for receiving and sending data across a computer network. It is a lower-level API to communicate between programs over an IP network. It is also a fundamental concept in network program development where it acts like an interface between the application layer and the transport layer (such as TCP/IP).

How to Use Sockets in Delphi?

 Sockets allow different processes which may be on the same or different computers, to communicate with each other over a network. In fact, all client/server on a local IP network or on the Internet communicate through sockets, even your browser. For Delphi, on the other hand, we can utilize these sockets through different open-source or commercial libraries and components. These include Internet Direct (Indy), Internet Component Suites (ICS from Overbyte), and more.

Socket Messaging Library like Indy is a software that provides a higher-level abstraction over socket programming, making it easier to implement communication between different processes or systems over a network.  The use of these libraries can significantly reduce the complexity of implementing networked applications, allowing developers to build more robust and scalable systems.

In this video, Patrick will also walk us through the process of using Sockets in Delphi by demonstrating two projects, one is a simple chat program and the other one is a real-time multiplayer game

The video will also highlight the use of SM Code Generator. The video will guide us through the process of using this open-source code generator (which can be obtained in GitHub) and be able to create a simple chat program from scratch.

The session also concludes with a Q&A portion with Patrick and Ian Barker. To learn more about these Socket Messaging libraries, feel free to watch the video below.

The post What is Socket Messaging Library and How to Use it in Delphi first appeared on Learn Delphi.]]>
14187
Is Delphi and OpenAI Integration, A Blessing or A Curse? https://learndelphi.org/is-delphi-and-openai-integration-a-blessing-or-a-curse/ Fri, 08 Nov 2024 05:00:00 +0000 https://learndelphi.org/?p=14288 ChatGPT has gained widespread popularity since its launch in 2022. Powered by OpenAI, with a simple prompt or command, ChatGPT can provide you with answers. Today, the technology is used across various industries and for different purposes, from customer service and personal assistance to education and entertainment. However, OpenAI is not just about ChatGPT. In fact, ChatGPT is just one...

The post Is Delphi and OpenAI Integration, A Blessing or A Curse? first appeared on Learn Delphi.]]>
ChatGPT has gained widespread popularity since its launch in 2022. Powered by OpenAI, with a simple prompt or command, ChatGPT can provide you with answers. Today, the technology is used across various industries and for different purposes, from customer service and personal assistance to education and entertainment. However, OpenAI is not just about ChatGPT.

In fact, ChatGPT is just one of the powerful tools offered by OpenAI. In this video hosted by Marco Geuze from the Coding Bootcamp 2023, we will dive deep into OpenAI tools and how to integrate them with Delphi. He will also help us determine whether this powerful AI technology is truly a blessing or a curse.

OpenAI is More than Just ChatGPT

To be able to integrate the Open AI tools into Delphi, you must avail the paid version of OpenAI. Aside from the widely known ChatGPT, OpenAI has developed a range of tools and models that cater to different AI-related tasks.

Some tools allow you to translate natural language to code, or translate them to SQL queries, and more. Here, Marco will walk us through the OpenAI Playground, an interactive environment that allows users to experiment with and explore OpenAI’s models. In this video, Marco will utilize this OpenAI tool to generate a code written in Delphi.

After creating the code using OpenAI, Marco will walk us through the process of integrating the code into the Delphi IDE. This can be done using the Tools API by Embarcadero. This API enables developers to create plugins, add new functionality, automate tasks, and integrate other tools into the Delphi IDE.

The video will demonstrate the process from scratch, from the code generation using OpenAI to the use of ToolsAPI to integrate the code to Delphi.

So, is OpenAI a blessing or a curse? OpenAI has so many benefits and it is very clear how this technology is shaping the future, especially in terms of software application development. However, despite all these advancements in AI, it still comes with many notable limitations. Nevertheless, we cannot conclude yet whether this is indeed a blessing or a curse.

The video also concludes with a Q and A portion with Marco Geuze and Embarcadero developer advocate Ian Barker to address some OpenAI and Delphi-related queries.  Check out the video below to learn more.

The post Is Delphi and OpenAI Integration, A Blessing or A Curse? first appeared on Learn Delphi.]]>
14288