comparison develop/index.php @ 6:63e08b98032f

rewrite extraction interface into PHP MVC architecture. (Although js hasn't been rewritten into MVC, it's fitted into the current PHP MVC architecture.) - The root of the new PHP MVC is at 'develop/'. - extraction interface is called "Extractapp" with several action, eg TaggingText, EditWordlist, EditTaglist, ExportTable.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 05 Feb 2015 16:07:53 +0100
parents
children da10158c6d0a
comparison
equal deleted inserted replaced
5:cbbb7ef22394 6:63e08b98032f
1
2 <html>
3 <head>
4 <title></title>
5
6 <script src="../../js/jquery-1.10.2.min.js"></script>
7 <script src="../../js/taggingtext.js"></script>
8
9 </head>
10 <body>
11 <?php
12
13 // configiration
14 include_once('config/Lib_mb_utf8.php');
15 include_once('config/config.php');
16
17 // require the general classes
18 require("classes/loader.php");
19 require("classes/basecontroller.php");
20 require("classes/basemodel.php");
21
22 // require the model classes
23 require("models/home.php");
24 require("models/extractapp.php");
25
26 // require the controller classes
27 require("controllers/home.php");
28 require("controllers/extractapp.php");
29
30
31 // create the controller and execute the action
32 $loader = new Loader($_GET, $_POST);
33
34 $controller = $loader->CreateController();
35 $controller->ExecuteAction();
36
37
38 ?>
39
40 </body>
41
42 </html>