Skip to main content

Modules

Owner: Nuwan Danushka

Introduction

The "Modules" feature within the Do Framework offers a versatile toolkit designed to streamline and enhance various functionalities essential for application development and management. These modules, including App Manager, Curl, JSON Manager, Encryption, File Manager, and Util Classes, serve as foundational components empowering developers and system administrators alike. Each module provides specialized capabilities tailored to optimize specific tasks, ranging from data handling to security protocols. By leveraging these modules, users gain access to a comprehensive suite of tools facilitating efficient application development, seamless data processing, and robust system management. With the Modules feature in the Do Framework, users can elevate their workflow, enabling proactive problem resolution, enhanced performance, and a streamlined development process.


App Manager

The AppManager module streamlines application and database management tasks such as starting and stopping apps, managing user permissions, and accessing app details. It also facilitates smooth communication with the database, allowing for functions to create, update, and retrieve data. This integrated approach offers an organized and user-friendly solution for effective application management, promoting reusability and scalability while maintaining a clear distinction between application logic and database interactions.


Curl

The cURL module within the Do Framework serves as an indispensable tool for seamless interaction with web services, offering a straightforward means of communication with servers across diverse protocols. With cURL, users can effortlessly initiate HTTP requests to designated URLs, tailor requests using customizable options like headers and timeouts, and efficiently manage responses. Whether executing GET or POST requests, cURL provides an intuitive and robust interface, simplifying the process of interfacing with web services. Additionally, the library offers essential functions such as curl_getinfo() for retrieving request details and curl_close() for resource cleanup. In essence, cURL optimizes the task of connecting to web services, rendering it an invaluable asset for developers engaged in various web application projects.


JSON Manager

The JSON Manager module in the DoFramework simplifies JSON data handling and file management tasks within applications. Offering a rich array of functions such as json_encode, json_decode, and file-related operations like set_file, it provides a comprehensive toolkit for working with JSON data seamlessly. Designed with a focus on simplicity and clarity, JSON Manager facilitates efficient interaction with JSON data, ensuring ease of use and promoting reusability and scalability. By maintaining a clear separation between application logic and file manipulation, this module offers a user-friendly solution for streamlined JSON data handling across various application scenarios.


Encryption

The Encryption Module within the Do Framework provides robust data encryption and decryption capabilities, featuring functions like getEncryptedData and getDecryptedData. Moreover, it enables token creation for enhanced security. Prioritizing simplicity and robust security, this module seamlessly integrates into applications, safeguarding data integrity without sacrificing usability.


File Manager

The FileManager module in the DoFramework simplifies file operations within applications, providing intuitive functions for tasks like creation and deletion. With a focus on efficiency and ease of use, it offers developers a streamlined solution for effective file management.


Util Classes

The Util Classes module in the DoFramework provides essential tools for common programming tasks. With classes like CommonFunctions, DateTime, IPManager, TimeZone, and Validations, developers can easily handle tasks such as date and time manipulation, IP address management, and data validations. This module streamlines development workflows, promotes code reusability, and ensures robustness in applications.