Re: package proposal HTML_SetupWizard
| From: | Laurent Laville | Date: | Wed, 25 Jun 2003 21:33:47 +0000 |
| Subject: | Re: package proposal HTML_SetupWizard | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17732@lists.php.net to get a copy of this message | ||
>
> As the code isn't published yet, I can make any judgements based on
presenations
> only. Well, HTML_Progress looks cool and will probably be useful in lots
of
> situations, so +1 here.
>
I've completed online presentation with 3 little example on how to use my
package
http://farell.free.fr/en/pear/pres2/show.php/setupwizard/12
http://farell.free.fr/en/pear/pres2/show.php/setupwizard/13
http://farell.free.fr/en/pear/pres2/show.php/setupwizard/14
I need time to complete the presentation and put the full sources online
BTW i'll be on vacation for a week this friday, so wait and see to have a
look on all examples
and i hope live demo ( disable some features because my provider host limit
some PHP functions for security reason ).
NOTE : Because as always, my provider host restrict usage of phps syntax
colorize file , i've created little src.... script with hilight_file
function
To have more matter for discussion, here are the core code of my package (58
kb)
http://farell.free.fr/en/pear/sources/srcSetupWizard.php
And the base of Element form: (18kb)
http://farell.free.fr/en/pear/sources/srcdbcreate.php
Which could be extended as for example with the DBcreate step : (7kb)
http://farell.free.fr/en/pear/sources/srcdbcreate.php
On this step you'll create the DB schema with MDB manager
YES i know , i need to clean code and remove some debug functions and
perharps more ! So it's not the final result until end of my tests
especially on CSS presentation;
Until now i have a perfect render with IE, but i 've to make some changes to
run with Mozilla, Netscape, Opera !
> I have questions about HTML_SetupWizard although. It looks not like a PEAR
> package as we know them, but more like an application. This is not a
problem in
> itself, as 'A' in 'PEAR' stands for 'Application',
OOH seems to be same as my package on this point !
>but I'd like to ask: is it
> possible to modularize the thing?
Of course, and i hope the element.php and dbcreate.php extends is a
perfect example ( i think).
I've a good teacher : See HTML_QuickForm package
>
> Bertrand Mansion and myself were going to design and implement some sort
of
> wizard solution based on HTML_QuickForm, as this functionality is often
needed
> and HTML_OOHForm's solution doesn't cut it (*). I see that
HTML_SetupWizard has
> this implemented, so would like to know, whether it is possible to extract
a
> 'generic' wizard from it, on which 'setup wizard' can be built?
I think my SetupWizard solution as 2 sides:
- 1 to build easely a pre-set install package with common step as DBcreate,
UserAccount,
- 2 A standalone solution where you design your own screen (element.php
extends) and do what you want
I hope to have anwsered to your questions
Laurent Laville