-
Le cours : Cours
-
L'énoncé du TP :Énoncé
-
La correction du TP : Correction
-
Le Git du projet :Github
# __ | |
# .--------.--.--.-----.-----.| | | |
# | | | |__ --| _ || | | |
# |__|__|__|___ |_____|__ ||__| | |
# |_____| |__| | |
# | |
# e x e r c i s e s | |
# Important: Remember to add a semi-colon at the end of each query. |
# Find the latest version on https://github.com/creationix/nvm#install-script | |
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash | |
# Add in your ~/.zshrc the following: | |
export NVM_DIR=~/.nvm | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
$ source ~/.zshrc |
<?php | |
/** | |
* Exercices de PHP : | |
*/ | |
/** | |
* 1. Déclarer ces deux variables et les débuguer avec var_dump : | |
* => nombre = 123 | |
* => texte = "hello world" |
Nous allons créer un projet en MVC contenant au moins trois tables : deux tables jointes par une relation N-N, avec une table de jointure entre les deux. Le projet sera développé en architecture MVC et en utilisant des packages Composer.
Les projets sont les suivants :
Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.
This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.
See Contributing.
(async function generateReplies(document) { | |
// https://conventionalcomments.org/#labels | |
const DATA = { | |
praise: { label: "👏 praise", comment: "Praises highlight something positive. Try to leave at least one of these comments per review. Do not leave false praise (which can actually be damaging). Do look for something to sincerely praise."}, | |
nitpick: { label: "🤓 nitpick", comment: "Nitpicks are small, trivial, but necessary changes. Distinguishing nitpick comments significantly helps direct the reader's attention to comments requiring more involvement." }, | |
suggestion: { label: "💡 suggestion", comment: "Suggestions propose improvements to the current subject. It's important to be explicit and clear on what is being suggested and why it is an improvement. Consider using patches and the blocking or non-blocking decorations to further communicate your intent." }, | |
issue: { label: "Ø issue", comment: "Issues highlight specific problems with the subject under review. These problems can be user-f |
Une fonction basique est définie par le mot-clé fonction
et exécute les instructions définies dans la fonction lorsque la fonction est appelée. Attention, on ne peut pas appeler une fonction avant qu'elle ait été définie :
function sayHelloWorld() {
echo "Hello world";
}