This is a PHP MVC step by step tutorial where you will learn to develop a PHP application using MVC pattern. The tutorial is divided into 7 different parts (steps) in order to achieve a fully functional PHP CRUD application based on Model-View-Controller archipattern.
*Read this in other languages: English, Spanish.
- Why MVC?
- Before getting started
- Our MVC sample application
- Pre-requisites
- Tutorial
- First step: creating a the basic structure
- Second step: adding multiple views to out application
- [Third step: implementing a generic Front-Controller]
- Fourth step: adding complexity to our application
- Fifth step: Powerfull controllers and models using inheritance
- Sixth step: Advanced views using templates
- Seventh step: 3 layer architecture
- Eighth step: Handling AJAX requests
- Contributing
- PHP
- PDO
- MySQL
- jQuery
- Bootsrap v4
- Registro y Login.
- Publicar anuncios.
- Perfil: datos de usuario, anuncios publicados, marcar anuncio como vendido, borrar anuncios.
- Marcar como favoritos.
- Modificar datos de usuario.
- Mostrar favoritos en perfil.
- Image upload PHP.
- (TODO) Borrar favoritos desde perfil.
- (TODO) Responsive navbar.
Demo disponible en http://egianuncios.creativa-web.com
- Hacer un Fork del proyecto (https://github.com/jvadillo/php-mysql-application/fork)
- Crear la branch (
git checkout -b feature/fooBar) - Hacer commit de tus cambios (
git commit -am 'Add some fooBar') - Hacer un Push a la branch branch (
git push origin feature/fooBar) - Crear un nuevo Pull Request