Skip to content

Latest commit

 

History

History
81 lines (58 loc) · 2.59 KB

README.md

File metadata and controls

81 lines (58 loc) · 2.59 KB

Porto (Software Architectural Pattern)

Welcome to Porto

Porto is a modern software architectural pattern that provides a comprehensive set of guidelines, principles, and patterns to organize code for high maintainability and reusability. Its primary aim is to facilitate the development of scalable software, enabling developers to start with a clean monolith and easily transition to microservices. Furthermore, Porto's strict adherence to the single responsibility principle enhances its compatibility with AI tools like GitHub Copilot, which thrive on clear, well-defined classes.

"Simplicity is the ultimate sophistication." - Leonardo da Vinci




Porto SAP Documentation




Clear Layers

App code is divided into Containers and Ship layers. Containers encapsulate the business logic, while Ship handles all infrastructure-related code, enabling easy scaling on demand by transitioning from monolithic to microservices.



Clean Components

Business logic in Containers is organized into Actions and Tasks. Actions initiate sequences of Tasks, each with one public function run() for a single responsibility, thereby enhancing maintainability and enabling code reusability.



Author

author image
Mahmoud Zalt
GitHub: Mahmoudz
Twitter: @mahmoudz
LinkedIn: mahmoudzalt
Portfolio: zalt.me

Donations

I appreciate your support. Github Sponsor.