php_cinema_lp's Introduction
Jeu de données pour la table critiques : INSERT INTO `critiques` (`id`, `nom`, `commentaire`, `note`, `film_id`) VALUES (1, 'Carl', 'pas mal à part la fin qui est con', 3, 2), (2, 'Glenn', 'pas mal', 4, 2), (3, 'no comment', 'une fin incroyable mais nous laisse dubitatif..', 4, 4), (4, 'John', 'Yipikay, pauvre c$% !', 5, 5), (5, 'Butch', 'Un putain de film, pas vrai la crempe?', 5, 6), (6, 'Loo', 'Superbe actrice!!', 4, 1), (7, 'l''homme au chapeau', 'commentaire de base', 4, 3); 1) - autoloader : la ligne $loader->add('', 'src') sert pour l'import des classes contenues dans le dossier 'src' 2) - match() : permet d'appeler une méthode si elle existe 3) - La classe Model sert à modéliser la base de données. Elle permet d'effectuer la préparation de la connexion, de l'éxécuter, de récupérer les éléments si trouvés. 4) - Les variables passées en paramètre à la méthode render() sert à faire le lien avec le controleur (fichier twig) pour l'affichage de la page.
php_cinema_lp's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.