joaopedrodev
joaopedrodev
joaopedrodev
"Mastering Log Records (Part 6): Saving logs to database" makalesini yayınladı
Mastering Log Records (Part 6): Saving logs to database

This article explores the use of databases to store logs in a structured and scalable way. It covers fundamental concepts, essential operations, configuration and implementation of a database handler in MQL5. Finally, it validates the results and highlights the benefits of this approach for optimization and efficient monitoring.

2
joaopedrodev
"Mastering Log Records (Part 5): Optimizing the Handler with Cache and Rotation" makalesini yayınladı
Mastering Log Records (Part 5): Optimizing the Handler with Cache and Rotation

This article improves the logging library by adding formatters in handlers, the CIntervalWatcher class to manage execution cycles, optimization with caching and file rotation, performance tests and practical examples. With these improvements, we ensure an efficient, scalable and adaptable logging system to different development scenarios.

2
joaopedrodev
"Mastering Log Records (Part 4): Saving logs to files" makalesini yayınladı
Mastering Log Records (Part 4): Saving logs to files

In this article, I will teach you basic file operations and how to configure a flexible handler for customization. We will update the CLogifyHandlerFile class to write logs directly to the file. We will conduct a performance test by simulating a strategy on EURUSD for a week, generating logs at each tick, with a total time of 5 minutes and 11 seconds. The result will be compared in a future article, where we will implement a caching system to improve performance.

2
joaopedrodev
"Mastering Log Records (Part 3): Exploring Handlers to Save Logs" makalesini yayınladı
Mastering Log Records (Part 3): Exploring Handlers to Save Logs

In this article, we will explore the concept of handlers in the logging library, understand how they work, and create three initial implementations: Console, Database, and File. We will cover everything from the basic structure of handlers to practical testing, preparing the ground for their full functionality in future articles.

1
joaopedrodev
"Mastering Log Records (Part 2): Formatting Logs" makalesini yayınladı
Mastering Log Records (Part 2): Formatting Logs

In this article, we will explore how to create and apply log formatters in the library. We will see everything from the basic structure of a formatter to practical implementation examples. By the end, you will have the necessary knowledge to format logs within the library, and understand how everything works behind the scenes.

1
joaopedrodev
"Mastering Log Records (Part 1): Fundamental Concepts and First Steps in MQL5" makalesini yayınladı
Mastering Log Records (Part 1): Fundamental Concepts and First Steps in MQL5

Welcome to the beginning of another journey! This article opens a special series where we will create, step by step, a library for log manipulation, tailored for those who develop in the MQL5 language.

1
joaopedrodev
"Connexus Observer (Part 8): Adding a Request Observer" makalesini yayınladı
Connexus Observer (Part 8): Adding a Request Observer

In this final installment of our Connexus library series, we explored the implementation of the Observer pattern, as well as essential refactorings to file paths and method names. This series covered the entire development of Connexus, designed to simplify HTTP communication in complex applications.

2
joaopedrodev
"Client in Connexus (Part 7): Adding the Client Layer" makalesini yayınladı
Client in Connexus (Part 7): Adding the Client Layer

In this article we continue the development of the connexus library. In this chapter we build the CHttpClient class responsible for sending a request and receiving an order. We also cover the concept of mocks, leaving the library decoupled from the WebRequest function, which allows greater flexibility for users.

3
joaopedrodev
"Requesting in Connexus (Part 6): Creating an HTTP Request and Response" makalesini yayınladı
Requesting in Connexus (Part 6): Creating an HTTP Request and Response

In this sixth article of the Connexus library series, we will focus on a complete HTTP request, covering each component that makes up a request. We will create a class that represents the request as a whole, which will help us bring together the previously created classes.

1
joaopedrodev
"Connexus Helper (Part 5): HTTP Methods and Status Codes" makalesini yayınladı
Connexus Helper (Part 5): HTTP Methods and Status Codes

In this article, we will understand HTTP methods and status codes, two very important pieces of communication between client and server on the web. Understanding what each method does gives you the control to make requests more precisely, informing the server what action you want to perform and making it more efficient.

1
joaopedrodev
"Body in Connexus (Part 4): Adding HTTP body support" makalesini yayınladı
Body in Connexus (Part 4): Adding HTTP body support

In this article, we explored the concept of body in HTTP requests, which is essential for sending data such as JSON and plain text. We discussed and explained how to use it correctly with the appropriate headers. We also introduced the ChttpBody class, part of the Connexus library, which will simplify working with the body of requests.

1
joaopedrodev
"Header in the Connexus (Part 3): Mastering the Use of HTTP Headers for Requests" makalesini yayınladı
Header in the Connexus (Part 3): Mastering the Use of HTTP Headers for Requests

We continue developing the Connexus library. In this chapter, we explore the concept of headers in the HTTP protocol, explaining what they are, what they are for, and how to use them in requests. We cover the main headers used in communications with APIs, and show practical examples of how to configure them in the library.

1
joaopedrodev
"HTTP and Connexus (Part 2): Understanding HTTP Architecture and Library Design" makalesini yayınladı
HTTP and Connexus (Part 2): Understanding HTTP Architecture and Library Design

This article explores the fundamentals of the HTTP protocol, covering the main methods (GET, POST, PUT, DELETE), status codes and the structure of URLs. In addition, it presents the beginning of the construction of the Conexus library with the CQueryParam and CURL classes, which facilitate the manipulation of URLs and query parameters in HTTP requests.

1
joaopedrodev
"Introduction to Connexus (Part 1): How to Use the WebRequest Function?" makalesini yayınladı
Introduction to Connexus (Part 1): How to Use the WebRequest Function?

This article is the beginning of a series of developments for a library called “Connexus” to facilitate HTTP requests with MQL5. The goal of this project is to provide the end user with this opportunity and show how to use this helper library. I intended to make it as simple as possible to facilitate study and to provide the possibility for future developments.

1
joaopedrodev
MQL5.community'e kayıt oldu