Mercurial > hg > extraction-interface
view 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 |
line wrap: on
line source
<html> <head> <title></title> <script src="../../js/jquery-1.10.2.min.js"></script> <script src="../../js/taggingtext.js"></script> </head> <body> <?php // configiration include_once('config/Lib_mb_utf8.php'); include_once('config/config.php'); // require the general classes require("classes/loader.php"); require("classes/basecontroller.php"); require("classes/basemodel.php"); // require the model classes require("models/home.php"); require("models/extractapp.php"); // require the controller classes require("controllers/home.php"); require("controllers/extractapp.php"); // create the controller and execute the action $loader = new Loader($_GET, $_POST); $controller = $loader->CreateController(); $controller->ExecuteAction(); ?> </body> </html>