]> git.llucax.com Git - software/bife/bife.git/commitdiff
Updated ROADMAPs.
authorLeandro Lucarella <llucax@gmail.com>
Tue, 1 Jul 2003 03:43:09 +0000 (03:43 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Tue, 1 Jul 2003 03:43:09 +0000 (03:43 +0000)
ROADMAP [new file with mode: 0644]
examples/index.php [new file with mode: 0644]

diff --git a/ROADMAP b/ROADMAP
new file mode 100644 (file)
index 0000000..801d858
--- /dev/null
+++ b/ROADMAP
@@ -0,0 +1,21 @@
+$Id$
+
+
+Version 0.12
+============
+
+    - Look if using $_SERVER['PATH_INFO'] in Link is viable.
+
+
+Version 0.13
+============
+
+    - Start using config file for default widgets attributes.
+
+...
+
+Version 0.x
+============
+    - Make a way to put all classes in a package together in a single file to
+      avoid overhead in require_once calls (to be reviewed).
+
diff --git a/examples/index.php b/examples/index.php
new file mode 100644 (file)
index 0000000..c38ac9c
--- /dev/null
@@ -0,0 +1,48 @@
+<?
+// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
+// +--------------------------------------------------------------------+
+// |                       BIFE - Buil It FastEr                        |
+// +--------------------------------------------------------------------+
+// | This file is part of BIFE.                                         |
+// |                                                                    |
+// | BIFE is free software; you can redistribute it and/or modify it    |
+// | under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation; either version 2 of the License, or  |
+// | (at your option) any later version.                                |
+// |                                                                    |
+// | BIFE is distributed in the hope that it will be useful, but        |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of         |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
+// | General Public License for more details.                           |
+// |                                                                    |
+// | You should have received a copy of the GNU General Public License  |
+// | along with Hooks; if not, write to the Free Software Foundation,   |
+// | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
+// +--------------------------------------------------------------------+
+// | Created: Wed May 17 18:16:54 ART 2003                              |
+// | Authors: Leandro Lucarella <luca@lugmen.org.ar>                    |
+// +--------------------------------------------------------------------+
+//
+// $Id$
+//
+
+$tmp = ini_get('include_path');
+ini_set('include_path', "..:$tmp");
+unset($tmp);
+umask('002');
+
+require_once 'HTML/Template/HIT.php';
+require_once 'BIFE/Parser.php';
+require_once 'BIFE/Translate.php';
+
+$file = isset($_REQUEST['BIFE']) ? $_REQUEST['BIFE'] : 'index.xbf';
+#$file = isset($_SERVER['PATH_INFO']) ? ".{$_SERVER['PATH_INFO']}" : 'index.xbf';
+
+$template =& new HTML_Template_HIT('templates');
+
+$parser =& new BIFE_Parser('BIFE_Translate');
+$page =& $parser->parseFile($file);
+$parser->__destruct();
+echo $page->render($template);
+
+?>