Test sur la création des modules par une commande console -> OK!
Test sur une api rest -> OK! Test sur le deplacement d'une autre page de compte -> OK! TODO: créé les pages de blog (sommaire,news) permettant d'afficher les fichiers md TODO: finir créer les commandes pour l'ajout de modules
This commit is contained in:
parent
259612871a
commit
fd8ca40cf8
6
application/include/controlleurs/compte-admin.php
Normal file
6
application/include/controlleurs/compte-admin.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
|
||||
\MVC\Classe\Session::start();
|
||||
\MVC\Classe\Session::redirectIfNotRegistered();
|
||||
|
||||
$templateData = array("id"=>'1587184');
|
3
application/include/controlleurs/phplist.php
Normal file
3
application/include/controlleurs/phplist.php
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
$app = new MVC\Classe\Modular($name,'phplist',$url_params);
|
||||
$templateData = array('app' => $app);
|
3
application/include/controlleurs/wordpress.php
Normal file
3
application/include/controlleurs/wordpress.php
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
$app = new MVC\Classe\Modular($name,'wordpress',$url_params);
|
||||
$templateData = array('app' => $app);
|
5
application/include/modeles/compte-admin.model
Normal file
5
application/include/modeles/compte-admin.model
Normal file
|
@ -0,0 +1,5 @@
|
|||
name : compte-admin
|
||||
page_title : module_title
|
||||
description : module_description
|
||||
params : module_params
|
||||
|
5
application/include/modeles/phplist.model
Normal file
5
application/include/modeles/phplist.model
Normal file
|
@ -0,0 +1,5 @@
|
|||
name : phplist
|
||||
page_title : module_title
|
||||
description : module_description
|
||||
params : module_params
|
||||
|
5
application/include/modeles/wordpress.model
Normal file
5
application/include/modeles/wordpress.model
Normal file
|
@ -0,0 +1,5 @@
|
|||
name : wordpress
|
||||
page_title : module_title
|
||||
description : module_description
|
||||
params : module_params
|
||||
|
13
application/include/vues/view/compte-admin.blade.php
Normal file
13
application/include/vues/view/compte-admin.blade.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
@extends('body')
|
||||
|
||||
@section('sidebar')
|
||||
@parent
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@if (isset($id))
|
||||
{{$id}}
|
||||
@else
|
||||
id not exist
|
||||
@endif
|
||||
@endsection
|
1
application/include/vues/view/phplist.blade.php
Normal file
1
application/include/vues/view/phplist.blade.php
Normal file
|
@ -0,0 +1 @@
|
|||
{{$app->load('phplist')}}
|
1
application/include/vues/view/wordpress.blade.php
Normal file
1
application/include/vues/view/wordpress.blade.php
Normal file
|
@ -0,0 +1 @@
|
|||
{{$app->load('wordpress')}}
|
4
application/logs/app.action.log
Normal file
4
application/logs/app.action.log
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
http11 make request
|
16
application/logs/app.curl.log
Normal file
16
application/logs/app.curl.log
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
curl -i -k -X GET -H 'Content-Type: application/json' -d '{"myval":25}' https://www.sand-framework.infoartsmedia.org/accueil/var10/val10
|
||||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
curl -i -k -X POST -H 'Content-Type: application/json' -d '{"myval":25}' https://www.sand-framework.infoartsmedia.org/accueil/var10/val10
|
||||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
curl -i -k -X PUT -H 'Content-Type: application/json' -d '{"myval":25}' https://www.sand-framework.infoartsmedia.org/accueil/var10/val10
|
||||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
curl -i -k -X DELETE -H 'Content-Type: application/json' -d '{"myval":25}' https://www.sand-framework.infoartsmedia.org/accueil/var10/val10
|
15
application/logs/app.curl.response.log
Normal file
15
application/logs/app.curl.response.log
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
|
||||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
|
||||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
|
||||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
20
application/logs/app.http.method.log
Normal file
20
application/logs/app.http.method.log
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
GET
|
||||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
GET
|
||||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
POST
|
||||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
PUT
|
||||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
DELETE
|
13
application/logs/app.http11.delete.log
Normal file
13
application/logs/app.http11.delete.log
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
____Hello Delete:____
|
||||
<pre>Array
|
||||
(
|
||||
[var10] => val10
|
||||
)
|
||||
</pre><pre>Array
|
||||
(
|
||||
[myval] => 25
|
||||
)
|
||||
</pre>
|
9
application/logs/app.http11.get.log
Normal file
9
application/logs/app.http11.get.log
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
____Hello GET____
|
||||
<pre>Array
|
||||
(
|
||||
[var10] => val10
|
||||
)
|
||||
</pre><pre></pre>
|
16
application/logs/app.http11.log
Normal file
16
application/logs/app.http11.log
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
\AccueilHttpReponse app GET request! ( AccueilHttpReponse->get() )
|
||||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
\AccueilHttpReponse app POST request! ( AccueilHttpReponse->post() )
|
||||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
\AccueilHttpReponse app PUT request! ( AccueilHttpReponse->put() )
|
||||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
\AccueilHttpReponse app DELETE request! ( AccueilHttpReponse->delete() )
|
9
application/logs/app.http11.post.log
Normal file
9
application/logs/app.http11.post.log
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
____Hello POST____
|
||||
<pre>Array
|
||||
(
|
||||
[var10] => val10
|
||||
)
|
||||
</pre><pre></pre>
|
13
application/logs/app.http11.put.log
Normal file
13
application/logs/app.http11.put.log
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
[April 1, 2020, 8:55 am by [App] Curl]
|
||||
curl/7.64.0
|
||||
____Hello Put____
|
||||
<pre>Array
|
||||
(
|
||||
[var10] => val10
|
||||
)
|
||||
</pre><pre>Array
|
||||
(
|
||||
[myval] => 25
|
||||
)
|
||||
</pre>
|
4
application/logs/app.ok.log
Normal file
4
application/logs/app.ok.log
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
[April 1, 2020, 8:55 am by Firefox]
|
||||
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
Hello world
|
1
application/modules/phplist
Submodule
1
application/modules/phplist
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 5ae9fb84dd769e94a3ebf68474aca0f2d296fa1f
|
Loading…
Reference in a new issue