Florent Aide ha scritto:
>> I am trying to make a small TG application, which should save PDF file.
>> It stores letters in a PDF format in a relational database.
>>
>> Do you believe it is a good idea to use a class as below? Any idea welcome.
>>
>> class Letters(Entity):
>> has_field('Description_letter', Unicode(360))
>> DocPDF = BoolCol() link to a pdf file save as a binary
>>
>> Kind regards,
>>
>>
> There are different issues at stake here...
>
Also: what are you using to generate PDF?
ReportLab?
Is it thread safe now?
If it's a low traffic application for internal use, you might not worry.
You would otherwise need to have a queue and process all of them in a
single thread, or something like that.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---