Re: newbie developer questions

2001-09-03 Thread Arved Sandstrom

At 02:45 PM 9/3/01 +0200, Erik Vanherck wrote:
>
>>This design is proving to be no good when trying to implement more of the
>>spec. So we are attempting to come up with a new design to layout the
>>objects. We are in desperate need of developers who can contribute to the
>>redesign.
>
>Hmmz, that does not sound good for the overal development. Are you gonna
>start over or actually refactoring the current version ? The design as it
>is now appears inside the code seem to be a bit of spagethi like but if you
>are redesigning that would explain a lot. I guess if you are the code will
>be up to date inside the CVS but the readme files and such are badly in
>need of updating.

The original design, going back to James Tauber, is pretty clean, and well 
thought out. Problem is, the design really anticipated only the simple 
situations; as soon as we started hitting complex decisions (keeps, 
footnotes, floats, etc) then the infrastructure wasn't really there. 
Unfortunately, and this happens in OS, momentum of coding carried us well 
past the point where we simply ought not to have added any more code.

The elegance of code that has been added in the last 12 months in particular 
is inversely proportional, usually, to how closely it is related to core 
layout. It _is_ spaghetti, but it's more the implementation that is 
spaghetti, the top-layer, not the design.

It's not a start-over situation, but a fair amount of refactoring and 
rethinking does need to happen. And we have been thinking about it. The mail 
archives for the list are worth searching, and you should read Keiron's 
recent doc at http://xml.apache.org/fop/fop.pdf.

Your help is definitely appreciated.

Regards,
Arved

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: newbie developer questions

2001-09-03 Thread Erik_Vanherck


>This design is proving to be no good when trying to implement more of the
>spec. So we are attempting to come up with a new design to layout the
>objects. We are in desperate need of developers who can contribute to the
>redesign.

Hmmz, that does not sound good for the overal development. Are you gonna
start over or actually refactoring the current version ? The design as it
is now appears inside the code seem to be a bit of spagethi like but if you
are redesigning that would explain a lot. I guess if you are the code will
be up to date inside the CVS but the readme files and such are badly in
need of updating.

>All of the rendering can be found in the org.apache.fop.render package but
>I suspect you don't mean that type of rendering. This is where the area
>tree is rendered to the appropriate output (eg. pdf).

No actually I didn't have a clue as to what the IDreferences stuff and such
were doing. As far as I understand it now you parse an xsl:fo document,
convert it to a FONode tree with the FOTreeBuilder and PropertyListBuilder.
Then this tree is formatted by constructing a huge AreaTree based area
tree. After this the streamrenderer will be invoked and this one will
somehow make the actual renderer recurse through the area tree and starts
drawing a page of it, and then eg AWT would display it. Is this a bit
accurate ?

>On Mon, 03 Sep 2001 10:25:21 [EMAIL PROTECTED] wrote:
>> I have been playing around with FOP for a few days now and I certainly
>> like
>> it. The entire xsl:fo thing kinda reminds me of LaTeX which I love. But
I
>> find the way FOP is build rather difficult to comprehend. Is there
>> someone
>> who can point me to a document or that can explain in some lines what
the
>> overal design is. I understand most of the subsections but I have a hard
>> time comprehending the overal process and which classes belong to which
>> part of the rendering process.
>>
>> Thx, Erik






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: newbie developer questions

2001-09-03 Thread Keiron Liddle

Erik,

Most of the documents are out of date, due to lack of people to update the
documentation. The general design is still the same as the information
provided on the website.
http://xml.apache.org/fop/architecture.html

This design is proving to be no good when trying to implement more of the
spec. So we are attempting to come up with a new design to layout the
objects. We are in desperate need of developers who can contribute to the
redesign.

All of the rendering can be found in the org.apache.fop.render package but
I suspect you don't mean that type of rendering. This is where the area
tree is rendered to the appropriate output (eg. pdf).


On Mon, 03 Sep 2001 10:25:21 [EMAIL PROTECTED] wrote:
> I have been playing around with FOP for a few days now and I certainly
> like
> it. The entire xsl:fo thing kinda reminds me of LaTeX which I love. But I
> find the way FOP is build rather difficult to comprehend. Is there
> someone
> who can point me to a document or that can explain in some lines what the
> overal design is. I understand most of the subsections but I have a hard
> time comprehending the overal process and which classes belong to which
> part of the rendering process.
> 
> Thx, Erik

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




newbie developer questions

2001-09-03 Thread Erik_Vanherck

I have been playing around with FOP for a few days now and I certainly like
it. The entire xsl:fo thing kinda reminds me of LaTeX which I love. But I
find the way FOP is build rather difficult to comprehend. Is there someone
who can point me to a document or that can explain in some lines what the
overal design is. I understand most of the subsections but I have a hard
time comprehending the overal process and which classes belong to which
part of the rendering process.

Thx, Erik





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]