Re: Reporting Framework for Cocoa Apps
Re: Reporting Framework for Cocoa Apps
- Subject: Re: Reporting Framework for Cocoa Apps
- From: "I. Savant" <email@hidden>
- Date: Thu, 14 Jun 2007 16:44:25 -0400
Ralf:
On 6/14/07, Ralf Edmund Stranzenbach <email@hidden> wrote:
Everything i've found was some advice to create HTML based reports
and render them via WebKit, But i think, this would be not one of the
best ideas for quite large reports.
Is there some specific thing you're worried about or is this
premature optimization?
What's inherently worse about generating it as HTML than with, say,
PDF or some other system? I may just be misunderstanding the nature of
your complaint, but if you already have a pre-defined template, all
you're doing is "filling in the blanks", and the layout, etc. is
ideally handled via a stylesheet, so really you're only generating a
pure HTML document (or parts thereof), then WebKit is doing what it
does best (quick rendering of that content, styled with a stylesheet).
Generating a PDF from that is a one-liner and not too inefficient.
Of course you could use PDFKit, etc. but it's nowhere as easy.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden