Chulalongkorn University Theses and Dissertations (Chula ETD)

Other Title (Parallel Title in Other Language of ETD)

Object relational mapping API development process using low code technique on Odoo

Year (A.D.)

2020

Document Type

Thesis

First Advisor

ภควรรณ ปักษี

Second Advisor

นกุล คูหะโรจนานนท์

Faculty/College

Faculty of Science (คณะวิทยาศาสตร์)

Degree Name

วิทยาศาสตรมหาบัณฑิต

Degree Level

ปริญญาโท

Degree Discipline

วิทยาศาสตร์เพื่ออุตสาหกรรม

DOI

10.58837/CHULA.THE.2020.988

Abstract

งานวิจัยนี้นำเสนอมอดูลเจนเนอเรเตอร์ ซึ่งเป็นเครื่องมือสำหรับการเขียนโปรแกรมตัวส่งระหว่างโมเดลเชิงวัตถุและเชิงสัมพันธ์บนโอดู โอดูเป็นซอฟต์แวร์อีอาร์พีแบบเปิดเผยรหัสต้นฉบับที่รวบรวมมอดูลที่จำเป็นสำหรับการจัดการธุรกิจต่าง ๆ และผู้พัฒนาสามารถพัฒนามอดูลเพื่อขยายขีดความสามารถของโอดูได้ โดยในช่วงไม่กี่ปีที่ผ่านมาการพัฒนาซอฟต์แวร์บนโอดู มักต้องใช้เวลาในการเรียนรู้เพราะมีความซับซ้อนของเฟรมเวิร์ก จึงมีการนำแนวทางการพัฒนาซอฟต์แวร์แบบโลวโค้ด (การเขียนโค้ดที่น้อยกว่าปกติ) มาใช้ในการพัฒนามอดูลเจนเนอเรเตอร์ขึ้น เพื่อให้เป็นเครื่องมือสำหรับออกแบบและสร้างรหัสต้นฉบับสำหรับมอดูล ทำให้ผู้พัฒนาซอฟต์แวร์บนโอดูไม่ต้องกังวลเรื่องข้อผิดพลาดอันเนื่องมาจากความซับซ้อนของเฟรมเวิร์ก และให้ความสำคัญกับการเขียนโปรแกรมในด้านอื่น ๆ ได้มากขึ้น โดยเครื่องมือนี้ถูกพัฒนาด้วยภาษา ไพธอนให้เป็นเว็บแอปพลิเคชันทำงานบนเว็บเบราว์เซอร์ และได้มีการทดสอบการใช้งานกับทั้งผู้พัฒนามอดูลบนโอดู ผู้ใช้งานโอดูที่มีทักษะการเขียนโปรแกรม ผู้ที่ไม่เคยมีประสบการณ์กับโอดู และอาสาสมัครภายนอกบริษัท ซึ่งได้ผลลัพธ์ว่า ผู้ทดสอบทั้งหมดสามารถพัฒนามอดูลโดยใช้มอดูลเจนเนอเรเตอร์ได้สำเร็จ เครื่องมือนี้จึงสามารถช่วยให้ผู้ที่ไม่มีประสบการณ์ในการพัฒนามอดูลบนโอดูสามารถพัฒนามอดูลขึ้นมาได้โดยใช้เวลาไม่นาน และเมื่อเปรียบเทียบเวลาที่ใช้ในการพัฒนามอดูลของกลุ่มผู้พัฒนามอดูลบนโอดู ระหว่างแบบปกติที่เขียนโค้ดด้วยตนเองกับการใช้ มอดูลเจนเนอเรเตอร์ พบว่าการใช้เครื่องมือนี้สามารถลดเวลาการพัฒนามอดูลโดยเฉลี่ยได้ถึง 20% อีกทั้งมอดูลเจนเนอเรเตอร์ยังนำไปใช้ได้จริงในโครงการการพัฒนาซอฟต์แวร์ของบริษัท

Other Abstract (Other language abstract of ETD)

In this research, a module generator which is an object-relational mapping (ORM) tool on Odoo was proposed. Odoo is an open-source ERP software that provides basic modules for various aspects of business management which also allows developers to create new modules to extend the capability of the Odoo system. However, due to the complexity of the framework, software development on Odoo usually requires a considerable amount of time to learn and specialize in. Therefore, low-code software development concept (the software implementation with less code writing) was used to create this module generator, a tool for designing modules and generating source codes of them. This lead to that software developers can develop modules with less concern about errors and more focus on the logical side of programming. This tool was developed using Python as the web application running in the web browser and was tested by module developers on Odoo, Odoo users with programming skills, non-Odoo users, and external volunteers. The results revealed that all testers are successfully able to develop a module using this tool, so it can help non-Odoo users to develop a module in a short period of time. The development time was also found reduced by 20% on average for module developers on Odoo, when comparing between coding manually and using this module generator. In addition, this tool has been applied to the software development project.

Share

COinS
 
 

To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.