Depurador de SQL y Datalog para DESweb
Loading...
Official URL
Full text at PDC
Publication date
2023
Authors
Advisors (or tutors)
Editors
Journal Title
Journal ISSN
Volume Title
Publisher
Citation
Abstract
En el mundo de la programación una de las tareas más importantes para la correcta realización del trabajo es resolver los errores que van surgiendo en el código de la manera más eficiente posible. Esto se lleva a cabo a través de lo que se conoce en informática como la fase de depuración. Para ello, la mayoría de entornos de desarrollo integrados (Integrated Development Environment o IDE) nos ofrecen una interfaz de usuario intuitiva y cómoda de utilizar con la mayor parte de los lenguajes de programación más utilizados hoy en día.
DES (Datalog Educational System) es un sistema de bases de datos deductivas de código abierto, multiplataforma y con implementación basada en Prolog. Permite trabajar a través de una consola e incluye los lenguajes de consulta Álgebra Relacional, TRC, DRC, Datalog y SQL. Haciendo uso de esta herramienta, DESweb nace como una aplicación web que ofrece a los usuarios un entorno gráfico de desarrollo mucho más accesible que facilita la comprensión y enseñanza de estos tipos de bases de datos.
Pese a que DES proporciona un proceso de depuración para nuestras bases de datos, este se lleva a cabo mediante el uso de la consola, lo que puede llegar a resultar en una tarea tediosa debido a la poca claridad que ofrece una interacción a base de comandos con el depurador. Esto puede desembocar en una mala realización de la fase de depuración y posterior pérdida de eficiencia debido al tiempo que supone corregir los errores. Además, dado que DESweb también es usado con propósitos educativos, puede dificultar y ralentizar la comprensión de los usuarios.
El objetivo de este proyecto es implementar en DESweb una interfaz de depuración SQL y Datalog utilizando como referencia la ya existente en el IDE de ACIDE (IDE de código abierto y multiplataforma encargado de presentar las funcionalidades del sistema DES), aportando más claridad en el proceso de depuración convirtiéndola en una tarea intuitiva y eficiente.
In the world of programming, one of the most important tasks for the correct performance of the work is to resolve the errors that arise in the code in the most efficient way possible. This is done through what is known in computer science as the debugging phase. For this purpose, most integrated development environments (IDE) offer an intuitive and easy-to-use user interface with most of the programming languages used today. DES (Datalog Educational System) is an open source, cross-platform, deductive database system with a Prolog-based implementation. It allows working through a console and includes the query languages Relational Algebra, TRC, DRC, Datalog and SQL. Making use of this tool, DESweb is born as a web application that offers users a much more accessible graphical development environment that facilitates the understanding and teaching of these types of databases. Although DES provides a debugging process for our databases, this is carried out through the use of the console, which can become a tedious task due to the lack of clarity offered by a command-based interaction with the debugger. This can lead to poor performance of the debug phase and subsequent loss of efficiency due to the time required to correct errors. In addition, since DESweb is also used for educational purposes, it can hinder and slow down the understanding of the users. The objective of this project is to implement in DESweb a SQL and Datalog debugging interface using as a reference the one already existing in the ACIDE IDE (open source and multi-platform IDE in charge of presenting the functionalities of the DES system), providing more clarity in the debugging process making it an intuitive and efficient task.
In the world of programming, one of the most important tasks for the correct performance of the work is to resolve the errors that arise in the code in the most efficient way possible. This is done through what is known in computer science as the debugging phase. For this purpose, most integrated development environments (IDE) offer an intuitive and easy-to-use user interface with most of the programming languages used today. DES (Datalog Educational System) is an open source, cross-platform, deductive database system with a Prolog-based implementation. It allows working through a console and includes the query languages Relational Algebra, TRC, DRC, Datalog and SQL. Making use of this tool, DESweb is born as a web application that offers users a much more accessible graphical development environment that facilitates the understanding and teaching of these types of databases. Although DES provides a debugging process for our databases, this is carried out through the use of the console, which can become a tedious task due to the lack of clarity offered by a command-based interaction with the debugger. This can lead to poor performance of the debug phase and subsequent loss of efficiency due to the time required to correct errors. In addition, since DESweb is also used for educational purposes, it can hinder and slow down the understanding of the users. The objective of this project is to implement in DESweb a SQL and Datalog debugging interface using as a reference the one already existing in the ACIDE IDE (open source and multi-platform IDE in charge of presenting the functionalities of the DES system), providing more clarity in the debugging process making it an intuitive and efficient task.
Description
Trabajo de Fin de Grado en Ingeniería Informática, Facultad de Informática UCM, Departamento de Ingeniería del Software e Inteligencia Artificial, Curso 2022/2023