Hi Dan, "Extreme simplicity" framework guidelines also suppose that ZF doesn't depend on any non-standard extensions and doesn't need extra configuration. So, I don't see this functionality implemented using Apache FOP or any other external formatting object processor.
Moreover, the major goal is to develop completed and consistent document model, which gives consistent and extensible PHP API. It must cover drawing features we want/can implement now and plan/will want to implement in future. I believe W3C has developed document model lain under XSL-FO good enough :) and it covers all possible drawing/formatting features we will want to implement in future. We may use different internal document representations: - structure of PHP objects (like in the Wiki document); - XML string containing xsl-fo document; - DOMDocument object containing xsl-fo document; ... In principle all these representations are equivalent and document may be easily converted from one to another because of lack of impedance mismatch problem. So we will get XSL-FO => PDF conversion functionality as a side effect. With best regards, Alexander Veremyev. > -----Original Message----- > From: Dan Rossi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 08, 2007 5:21 AM > To: Alexander Veremyev > Cc: [email protected]; [EMAIL PROTECTED] > Subject: Re: [fw-general] Re: [fw-formats] Zend_Pdf document > abstraction model > > Sorry thinking about this again, im assuming XSL-FO is the > xsl is setup right and customisable it could be parsed via > PHP correct ? > > Dan Rossi wrote: > > Hi ive done stuff with FOP before, the engine would be via java > > correct ? Ive managed to run these by command line and java > classes. I > > would also possibly look at docbook format aswell maybe ? I noticed > > that FOP cannot create nice bookmark links like docbook > can. So if you > > want to create books from content docbook is the goer. If you just > > want printable views of pages FOP is the goer as the > bookmark links is > > just the pages. > > > > Is FOP a C command line aswell ? > > > > Alexander Veremyev wrote: > >> Hi, > >> > >> I just finished this in a little bit more details > >> (http://framework.zend.com/wiki/x/nI0). > >> > >> Any thoughts or comments? > >> > >> > >> With best regards, > >> Alexander Veremyev. > >> > >> Alexander Veremyev wrote: > >>> Hi, > >>> > >>> I would like to open discussion concerning Zend_Pdf document > >>> abstraction model. > >>> > >>> > >>> There were a lot of requests for tables, text blocks, headers, > >>> footnotes > >>> and other text decoration functionality in ZF mailing lists. > >>> > >>> I am sure we should produce some abstract document model to get > >>> consistent rich text drawing API. > >>> Such model should also define internal document > representation and > >>> supported or potential features. > >>> > >>> > >>> I see XSL-FO gives a good candidate for such model. > >>> - It's full-featured markup language. > >>> - It's industrial standard. > >>> - It may help to implement XSL-FO -> PDF transformation > >>> functionality as well as HTML rendering functionality > (HTML -> PDF > >>> conversion). > >>> > >>> Is there anybody who has experience in this area? > >>> Any feedback, thoughts and suggestions are welcomed. > >>> > >>> > >>> With best regards, > >>> Alexander Veremyev. > >>> > >>> > >>> > >> > > > >
