Sean,
> I would like to take an upload file
> from a user, perform a
> fairly lengthy batch process on it, and then make
> the results (a single
> file) available for a user at a later time, perhaps
> notifying the user by
> email. I can envision uploading the file to a tmp
> directory, running the
> process there, and then allowing the user to get the
> results from the same
> place at a later time. Of course, I don't need the
> user to know any of this
> and would just serve up the file in a nice HTML
> wrapper based on a unique
> key. Any suggestions on how to go about this? I'm
> particularly interested
> in a "tutorial" like thing or examples.
I'll answer this because I had promised some examples
earlier of CGI::Application and CGI::FormBuilder
together. This sample application includes a simple
upload which it parses and fires off activity based on
uploaded files.
It gives a clear example of how to test functions on
web pages by encapsulating them into class files with
a class test. See "info.t" and "handout.t". It shows
how to test the web pages themselves with a
"template.pl" as a general guide for such tests.
Most of these can be seen with html without the
download for the curious:
http://www.geocities.com/leapingfrog/perl/perl.html
I used the standard Perl testing tools and copied
ideas from the CGI::Application suite of tests -- only
they apply to the inherited class. There is a readme
in the download.
> I know this isn't the perfect forum for this, so
> feel free to refer me
> elsewhere, but
>
It is totally unrelated to seeing data later which has
to be programmed in somehow. And I do suggest you
look at bioperl and SEALS by Dr. Roland Walker for
ideas on bioperl interfacing to genome analysis.
Also, check out Lincoln Stein's home page for various
tools like boulder io. Google searches will find them
easily.
Sincerely,
David Scott
--- Sean Davis <suppressed> wrote:
> Dear all,
>
> Thanks,
> Sean
> --
> Sean Davis, M.D., Ph.D.
> National Institutes of Health
> Postdoctoral Research Fellow
> National Human Genome Research Institute
> Clinical Fellow
> National Cancer Institute
> Johns Hopkins University
> Clinical Fellow
> Department of Pediatric Oncology
> --
>
>
>
---------------------------------------------------------------------
> Web Archive:
>
http://www.mail-archive.com/suppressed/
>
> http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
> To unsubscribe, e-mail:
> suppressed
> For additional commands, e-mail:
> suppressed
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.