diff --git a/tp1/src/index.php b/tp1/src/index.php
index efb43c45d7e44efc829fb3bf98e744f7fe8bcecf..5beaad6d85db9d6a0ffec040ec3cf545bdeaeb23 100644
--- a/tp1/src/index.php
+++ b/tp1/src/index.php
@@ -1,4 +1,6 @@
 <?php
+
+use bdd\controleur\ControleurRequete;
 use Illuminate\Database\Capsule\Manager as DB;
 $db = new DB();
 //SI CA NE FONCTIONNE PAS, ENLEVER LES COMMENTAIRES : CES INFOS SONT DEJA DANS LE CONF.INI
@@ -30,10 +32,8 @@ $db->addConnection([
 $db->setAsGlobal();
 $db->bootEloquent();
 
-// demerage d'un session
 session_start();
 
-// intance de slim qui a pour but de créer le rootage des urls
 $app = new Slim();
 
 $app->get('/', function () {
@@ -41,15 +41,19 @@ $app->get('/', function () {
     $v->renderHome();
 })->name('accueil');
 $app->get('/ex1/requete1', function () {
-
+    $c = new ControleurRequete();
+    $c->selectMario();
 })->name('ex1 requete 1');
 $app->get('/ex1/requete2', function () {
+    $c = new ControleurRequete();
 
 })->name('ex1 requete 2');
 $app->get('/ex1/requete3', function () {
+    $c = new ControleurRequete();
 
 })->name('ex1 requete 3');
 $app->get('/ex1/requete4', function () {
+    $c = new ControleurRequete();
 
 })->name('ex1 requete 4');
 
diff --git a/tp1/src/vue/RequeteVue.php b/tp1/src/vue/RequeteVue.php
new file mode 100644
index 0000000000000000000000000000000000000000..614b8688f3e55de45ddadb734fe67e8a2354966f
--- /dev/null
+++ b/tp1/src/vue/RequeteVue.php
@@ -0,0 +1,67 @@
+<?php
+
+use Slim\Slim;
+
+class Requete1
+{
+
+    protected $tab, $app;
+
+    public function __construct($t)
+    {
+        $this->tab = $t;
+        $this->app = Slim::getInstance();
+    }
+
+    public function render($type)
+    {
+        switch ($type) {
+            case 1:
+                return $this->default();
+                break;
+            default:
+                return $this->notFound();
+                break;
+        }
+    }
+
+    private function notFound()
+    {
+        $res .= <<<RES
+    <!doctype html>
+
+    <html lang="fr">
+    <head>
+        <meta charset="utf-8">
+    </head>
+    <body>
+        <p>data not found</p>
+    </body>
+    </html>
+RES;
+    }
+
+    private function default()
+    {
+        $res .= <<<RES
+    <!doctype html>
+
+    <html lang="fr">
+    <head>
+        <meta charset="utf-8">
+    </head>
+    <body>
+
+RES;
+        foreach ($this->tab as $key => $value) {
+            $res .= <<<RES
+    $key:$value
+RES;
+        }
+        $res .= <<<RES
+    </body>
+    </html>
+RES;
+        return $res;
+    }
+}