From 15bd415119b7cb86fe1eba4e2729ae13b43a82f8 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sat, 21 Jun 2003 16:01:48 +0000 Subject: [PATCH] - Cleanned Album code. - Updated ROADMAP. - Added a README. --- README | 15 +++++++++++++++ doc/ROADMAP | 7 +------ src/BIFE/Album.php | 12 ------------ 3 files changed, 16 insertions(+), 18 deletions(-) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..3b21d16 --- /dev/null +++ b/README @@ -0,0 +1,15 @@ +$Id$ + +BIFE is a kind of framework inspired by Bif +to split a PHP application (website or whatever) into 3 layers: +XML: Content management. +PHP: Programming. +HTML: Look & Feel (it can be other type of output, not just HTML). + +The main goals of this proyect are: +- Keep XML layer really easy to use for the end user, so no need of HTML or + PHP would be needed to make a XML page. +- Speed. One of the main goals of this proyect is to be fast. Because of + this, PHP and HTML layers can have extra complications. + +A roadmap can be found in doc/ROADMAP. diff --git a/doc/ROADMAP b/doc/ROADMAP index 1510d2b..f506a63 100644 --- a/doc/ROADMAP +++ b/doc/ROADMAP @@ -1,14 +1,9 @@ $Id$ -Version 0.9 -=========== - - - Finish HTML_Template_HIT (done?). - - Version 0.10 ============ + - Add XML file caching. - Make a way to put all classes in a package together in a single file to avoid overhead in require_once calls. - Make a Core Package with the core classes (Parser, Widget, Container, diff --git a/src/BIFE/Album.php b/src/BIFE/Album.php index 9eb1e2d..bc67f77 100644 --- a/src/BIFE/Album.php +++ b/src/BIFE/Album.php @@ -109,19 +109,8 @@ class BIFE_Album extends BIFE_Widget { if (is_null($photo['THUMB'])) { $photo['THUMB'] = $this->makeThumb($photo['FILE']); } - /* XXX - Con objetos. * - $link =& new BIFE_Link( - array( - 'BIFE' => $this->attrs['LINK-BIFE'], - 'URL' => $this->attrs['LINK-URL'], - 'DESC' => $photo['DESC'], - 'DATA-BIFE_ALBUM_FILE' => $photo['FILE'], - ) - ); $link->addContents($template->parse('item', $photo)); $out_cell = $link->render($template); - /**/ - /* XXX - Intermedio, obteniendo el URL de Link. */ $photo['URL'] = BIFE_Link::getURL( array( 'BIFE' => $this->attrs['LINK-BIFE'], @@ -130,7 +119,6 @@ class BIFE_Album extends BIFE_Widget { ) ); $cell = $template->parse('item', $photo); - /**/ } else { $cell = $template->parse('empty'); } -- 2.43.0