At 08:59 AM 6/8/2001 -0500, will trillich wrote:
>On Fri, Jun 08, 2001 at 06:52:14PM +0800, Gunther Birznieks wrote:
> > At 02:26 PM 6/7/2001 +1000, Steve Smith wrote:
> > > > HTML::Embperl
> > >
> > >For me, this has one major win over the other toolkits: auto form
> > >population from a hash.  The online mortgage application system I
> > >wrote has about 1,800 form fields, which have to be populated with
> > >data from a database.  By making the form fields match DB column
> > >names, I can reduce the code to do this to:
> > >
> > >    my $data = $dbh->fetchrow_hashref($query);
> > >    %fdat = (%fdat, %$data);
> > >
> > >Embperl then parses the form and populates it with the matching
> > >name=>value pairs in %fdat, including select options.  Beautiful!
> >
> > Not that it's a reality now, but this is one of the things that the Perl
> > Widget Library project on source forge is hoping to accomplish for 
> template
> > languages. It's a cross template way of organizing form information and 
> map
> > it to db fields.
> >
> > The reality is that there are many fields that cannot map easily 1-1 to a
> > database as you say. eg a date in a database is usually a date field. But
> > in a form, it might be a combination of 3 form fields (dropdown for month,
> > year and day separately).
>
>which of the existing paradigms will the widget farm most
>closely resemble? and what are your expectations for tradeoff in
>functionality/modularity-vs-performance?

1) What do you mean by your first question?

2) I believe there is nothing being done in the widget farm that would 
really hinder performance other than being objects with methods. Really 
without a good object structure then a widget farm is wholly useless.

If you need extremely high performance pages than you probably need to code 
more low level than throwing abstractions around like widgets.

Please read the following, and then take the conversation to the 
widget-specific mailing list if you are interested in talking more about it.

http://www.officevision.com/pub/Widget/

Thanks,
     Gunther





>--
>I figure: if a man's gonna gamble, may as well do it
>without plowing.   -- Bama Dillert, "Some Came Running"
>
>[EMAIL PROTECTED]
>http://sourceforge.net/projects/newbiedoc -- we need your brain!
>http://www.dontUthink.com/ -- your brain needs us!

__________________________________________________
Gunther Birznieks ([EMAIL PROTECTED])
eXtropia - The Open Web Technology Company
http://www.eXtropia.com/

Reply via email to