[ANNOUNCEMENT] HTML_Progress2-2.0.0RC1 (beta) Released.
| From: | PEAR Announce | Date: | Thu, 23 Jun 2005 15:10:56 +0000 |
| Subject: | [ANNOUNCEMENT] HTML_Progress2-2.0.0RC1 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19741@lists.php.net to get a copy of this message | ||
The new PEAR package HTML_Progress2-2.0.0RC1 (beta) has been released at http://pear.php.net/.
Release notes
-------------
---
It is important to notice that even if i will continue to maintains the HTML_Progress
for possible bugs, no features will be added in this package. Even if it will not marks
as deprecated, i suggest to migrate to HTML_Progress2 (see docs/migrationGuide.txt).
---
* news
- The HTML_Progress2 package has now a series of mini guides (see docs/ directory)
- The HTML_Progress2_Lite class is recommended to users that does not want to install PEAR.
This class has no dependencies.
- News examples are available: See Multiple, Label, Lite version, Preload.
- Adds the *autorun* option on HTML_Progress2_Monitor to run a progress monitor
without need to push the Start button.
* changes
- DM and UI classes (from HTML_Progress 1.x) were merged into the main class.
- Model class (from HTML_Progress 1.x) was removed.
- A new error handling system that support native PEAR_Error (default), but also PEAR_ErrorStack,
and any other system you might want to plug-in.
- Progress2 and Generator does not support anymore external pre-set config file.
- All examples have been revisited (removed those who have the same goals).
- HTML_Progress2::getPercentComplete() method has an optional parameter.
Return may be float (default) or integer.
- HTML_Progress2 API changed a bit to include the new label system:
. setCellCount() accept now zero as minimum value for smooth progress meter
(see also HTML_Progress2_Lite).
. moveNext() should replace incValue() (still exists)
. moveStep() should replace setValue() (still exists)
. setLabelAttributes() replaced setStringAttributes() (was removed)
. isStringPainted() and setStringPainted() were removed
. getString() was also removed
. setString() was removed and replaced by addLabel()
- HTML_Progress2_Monitor::callProgressHandler() public method was removed.
- HTML_Progress2 included now the features of HTML_Progress_Lite:
window frame, buttons, labels (text, step, crossbar).
* improvements
- Generator ActionProcess got two new methods to easily get PHP and/or CSS source code generated.
- More compatibilities with PHP5 (adds __construct method).
* QA
- Updates headers comment block on all files
- Dependencies has been revisited to higher level
- Examples were removed from main package and moved into the optional package
available at http://pear.laurent-laville.org/HTML_Progress2/
Package Info
-------------
This package provides a way to add a loading bar fully customizable in existing XHTML documents.
Your browser should accept DHTML feature.
Features:
- create horizontal, vertival bar and also circle, ellipse and polygons (square, rectangle).
- allows usage of existing external StyleSheet and/or JavaScript.
- all elements (progress, cells, labels) are customizable by their html properties.
- percent/labels are floating all around the progress meter.
- compliant with all CSS/XHMTL standards.
- integration with all template engines is very easy.
- implements Observer design pattern. It is possible to add Listeners.
- adds a customizable monitor pattern to display a progress bar.
User-end can abort progress at any time.
- allows many progress meter on same page without uses of iframe solution.
- error handling system that support native PEAR_Error, but also PEAR_ErrorStack, and
any other system you might want to plug-in.
- PHP 5 ready.
Related Links
-------------
Package home: http://pear.php.net/package/HTML_Progress2
Changelog: http://pear.php.net/package/HTML_Progress2/download/2.0.0RC1
Download: http://pear.php.net/get/HTML_Progress2-2.0.0RC1.tgz
Authors
-------------
Laurent Laville <pear@laurent-laville.org> (lead)