WebGen Python UI Framework

Developing an object-oriented Python framework for frontend.

Role
Independent

Location
Austin, Texas

Tools
HTML, CSS, JavaScript, Python, PHP, jQuery

Website
www.drebarrera.com/webgen/

Challenge

The challenge was to design a frontend web application framework that would offer an OOP alternative to existing modern frameworks. The goal was to leverage the power and flexibility of Python to create a framework that would provide developers with a more intuitive and structured way to build web applications. The project required a deep understanding of both frontend development and Python's OOP capabilities, as well as the ability to innovate beyond existing paradigms.

Solution

The solution, WebGen, involved creating a new frontend web application framework that utilized Python's OOP principles. By designing a framework that allowed developers to build web applications using Python classes and objects, the project aimed to offer a more organized and intuitive development experience. The framework was designed to be flexible, efficient, and compatible with existing web technologies, providing a unique and powerful tool for web development.

Design and Development Choices

WebGen leverages Python's object-oriented capabilities to create a more intuitive web programming experience. With the ability to create global files and link them to specific pages, repeat frontend code structures using loops and functions, and implement JavaScript, PHP, and CSS code, the framework provides an alternative to common frameworks such as ReactJS, AngularJS, and VueJS. All Python code created is compiled into HTML code with fixed styles and dynamic classes.

Result

The resulting frontend web application framework successfully provided an OOP alternative to modern frameworks, offering developers a new and intuitive way to build web applications using Python. By integrating Python's OOP principles with existing web technologies, the framework enabled more structured and organized development. Since creating WebGen, I have used it in a number of projects. WebGen's IP was acquired by an industry 4.0 software company in 2022. The images below show the simplicity of WebGen code to create flexible websites.