[Html-widget] formfu contributions?

John Napiorkowski jjn1056 at yahoo.com
Thu Mar 1 22:39:05 GMT 2007



----- Original Message ----
From: Carl Franks <fireartist at gmail.com>
To: html-widget at lists.rawmode.org
Sent: Thursday, March 1, 2007 4:04:23 PM
Subject: Re: [Html-widget] formfu contributions?

On 28/02/07, Mario Minati <mario at minati.de> wrote:
> John Napiorkowski schrieb:
> > Hi,
> >
> > I know that formfu is still rapidly evolving but I was wondering if you've thought about the scope and requirements for contributions.  For example, I've been playing with porting over some of my H:W filters, such as a few filters I wrote for dealing with uploaded images.  I have one filter for regularizing uploaded images, which accepts file uploads of standard image types and converts them to a particular size and type.  This is used for creating profile avatars, etc.  However it depends on Imager.pm, which can be difficult to install if you are on a hosted server that doesn't like you compile, so I doubt you'd want it as part of the base.  Maybe things like that could go into a 'HTMLFormfuX' type namespace, and people can install them if they need them?
> >
> > I was also thinking that something that would be really useful to bootstrap development is if there were a bunch of composite elements that would have all the standard fields for addresses and constraints.  Since your system can load up from a YAML file we could start a collection of useful YAML and store them someplace in the docs, like a cookbook you could cut and paste.
> >
> > If this is something you're not ready to deal with just let me know.
> >
> > _John
> >
> >
> Hi John,
>
> I would suggest to create a different tree in the current svn (a
> different project would also be possible) where we can collect all these
> modules.
>
> Your second idea of a cookbook is very nice. I thought myself already of
> starting a Manual modul where we could collect FAQ and Cookbook.
> But for the next few days/weeks I would wait with this until the
> development settles a littl bit and we are comming to some more stable API.
>
> My two pence, what do you think Carl.

John,

You can maybe tell that Mario knows something that no-one else does! ;)

We've been discussing off-list some massive changes that I'm currently
working on, which will take formfu a step further away from being
html-widget-like, but will be very worthwhile.
As a consequence, any user-code using formfu will have to be changed.
So, yes, it might be worth holding off for a few days.

Regarding file uploads, you'll see that under
lib/HTML/FormFu/QueryType/ there's modules to support Catalyst, CGI
and CGI::Simple.
At the moment they only give access to the file header metadata - such
as filename and content-type.
I've held-off supporting access to the file contents, because if it's
implemented, it must work for all 3 supported query-types.

Regarding a scrapbook of config examples, that's a great idea.
The google-code project page has a wiki, which would be ideal.
http://code.google.com/p/html-formfu/

Cheers,
Carl

Carl,

Okay, I'm curious to see what develops.  If you want my 2cents I'd like to see this handle more than just form processing, but become a more general system for creating blocks and page regions.  I worked on something like this last month as a project to teach myself about Moose (which is very cool but also has a lot of overhead) and as a way to try to make it more easy to create portal like pages, but getting it all to work correctly and elegantly didn't happen.  I'm better on the CSS and JS side then I am on the server.  Here's an example of something I did with this (warning, large flash file on this page):

http://216.154.222.179:10000/home

I hope whatever comes out of this I am able to understand and contrib some CSS work at least.

peace,
John

_______________________________________________
Html-widget mailing list
Html-widget at lists.rawmode.org
http://lists.rawmode.org/cgi-bin/mailman/listinfo/html-widget





 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 



More information about the Html-widget mailing list