How el-meru-criss/concentrados-el-sol---web works
Project type and purpose
• This is a monolithic, server‐rendered PHP web application for inventory, sales, orders and customer/debtor management—a classic MVC-style student project “adapted for the web.”
• The README simply notes it’s a web adaptation of an old student project; the file tree reveals models, controllers, static views and third‐party UI libs.
File structure
• Top-level pages (views):
– index.html, inventario.html, ventas.html, envios.html, deudores.html, historial_ventas.html
– default.php likely serves as the layout wrapper.
• Controller layer (controlador/):
– ~80 PHP scripts, each handling a single action (crear_producto.php, realizar_venta.php, mostrar_clientes.php, etc.).
• Model layer (modelo/):
– mysql.php (DB connection), usuarios.php (user data access).
• Static assets:
– bootstrap-5.3.0-alpha3-dist/ (CSS/JS), fontawesome-free-6.4.0-web/, sweetalert2-11.7.3/, personalizados/css & personalizados/js.
• No dedicated “service” or “api” directories—controllers directly output HTML or JSON for the views.
README for insights
• No architectural overview provided, so derive patterns from naming and structure: it follows a basic 3-tier MVC.