[Catalyst] Google's Summer of Code

Andy Grundman andy at hybridized.org
Sun Apr 16 00:39:42 CEST 2006


On 4/15/06, Jason Yates <jaywhy at gmail.com> wrote:
> Plus I'd also like to see some simplification of some other aspects.
> An example would be UploadProgress, in Rails all you do in the view is
> add this:
>
> <%= form_tag_with_upload_progress %>
> <%= file_field :model, :file_column %>
> <%= submit_tag 'Upload' %>
> <%= upload_status_tag %>
> <%= end_form_tag %>
>
> That is it.  In Catalyst you have:
>
> <form onsubmit="watch_progress(this);">
> ...
> </form>
>
> Then you create the watch_progress javascript function yourself.  A
> better DRY approach like Rails would be a much better approach.

The HTML/Ajax in UploadProgress was originally taken from a Rails
example.  It needs a revamp to use the nicer UI that's part of
Apache2::UploadProgress, which makes things much simpler.  I plan to
work on this at some point. :)

Any help on UploadProgress would be welcome!

-Andy



More information about the Catalyst mailing list