]> git.llucax.com Git - software/bife/bife-all.git/commitdiff
- Cleanned Album code.
authorLeandro Lucarella <llucax@gmail.com>
Sat, 21 Jun 2003 16:01:48 +0000 (16:01 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Sat, 21 Jun 2003 16:01:48 +0000 (16:01 +0000)
- Updated ROADMAP.
- Added a README.

README [new file with mode: 0644]
doc/ROADMAP
src/BIFE/Album.php

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..3b21d16
--- /dev/null
+++ b/README
@@ -0,0 +1,15 @@
+$Id$
+
+BIFE is a kind of framework inspired by Bif <http://www.lunix.com.ar/Bif.php>
+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.
index 1510d2b7069942f48336066fc310f045dffca30d..f506a639d9e3a9796dc0018fdffdaf8f2012ddcf 100644 (file)
@@ -1,14 +1,9 @@
 $Id$
 
 $Id$
 
-Version 0.9
-===========
-
-    - Finish HTML_Template_HIT (done?).
-
-
 Version 0.10
 ============
 
 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,
     - 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,
index 9eb1e2ddb8b8efd4c0b5e4ea1923e7e637e571a4..bc67f771f77abdf8b3b4f6155eeb835ff984c952 100644 (file)
@@ -109,19 +109,8 @@ class BIFE_Album extends BIFE_Widget {
                     if (is_null($photo['THUMB'])) {
                         $photo['THUMB'] = $this->makeThumb($photo['FILE']);
                     }
                     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);
                     $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'],
                     $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);
                         )
                     );
                     $cell = $template->parse('item', $photo);
-                    /**/
                 } else {
                     $cell = $template->parse('empty');
                 }
                 } else {
                     $cell = $template->parse('empty');
                 }