Feature Request: Write to local server from workerpool

1 view
Skip to first unread message

Mario Wolff

unread,
Jun 12, 2008, 5:46:43 AM6/12/08
to Gears Users
Hi there,
i would like to write data to a local server from a workerpool or at
least from js. Alternativ it would be posible to have a special
database/table with columns like mime-type, url, and data and serve
localy from there.
I would use it to generate dynamic pdf files with a port of php's fpdf/
tcpdf to js, move it to the local server and open it in a new window.
I think it could be usefull for image creation too!?!
Thanks for hints and meanings and sorry for my poor english!
Regards,
Mario Wolff

Chris Prince

unread,
Jun 12, 2008, 7:16:42 AM6/12/08
to gears...@googlegroups.com
We have brainstormed the ability to serve a Blob at a given URL. That
sounds similar to what you are asking. But keep in mind, we don't
have any planned date for this feature.

Isn't .pdf a binary format? Since JavaScript doesn't have a good way
to manipulate bytes, did you have some other idea for how to construct
PDFs?

Mario Wolff

unread,
Jun 16, 2008, 3:41:02 AM6/16/08
to Gears Users
On 12 Jun., 13:16, "Chris Prince" <cpri...@google.com> wrote:
> We have brainstormed the ability to serve a Blob at a given URL. That
> sounds similar to what you are asking. But keep in mind, we don't
> have any planned date for this feature.

The main problem is not the type of data (Blob) but the source! Im my
case the Data is generated on the client-side!

> Isn't .pdf a binary format? Since JavaScript doesn't have a good way
> to manipulate bytes, did you have some other idea for how to construct
> PDFs?

It's not an ASCII-Format but not as binaryoriented like others! After
publishing my request i look further in porting FPDF/TCPDF to
Javascript an found:
http://thilobrai.onlinehome.de/js/Der_PDF-Kreator.html
The Page is NOT from me but it demonstrates how to create very complex
PDF's from Javascript! If one could copy the value from the textarea
to a local server i could open a clientside-generated-PDF in a new
window!

Regards,
Mario
Reply all
Reply to author
Forward
0 new messages