blog.Resource

Archive:

News-Feeds:


RSS 2.0
RSS 0.91
RDF
ATOM 0.3
September 22, 2007

TYPO3 Frontend Rendering explained

Category: Michael Stucki, TYPO3, Core

By: Michael Stucki

For about 6 months I have been working with two colleagues for one day per month on analyzing the frontend rendering process of TYPO3. We started with this because we were looking for possible performance improvements, and understanding how everything works is the best step for a start.

Finally, here is the first public version of our analysis. It consists of a detailed flowchart and is followed by a table with explanations at the end of the document.

I'm planning to include this into "Inside TYPO3" soon but look forward to your feedback and comments before that...

Kudos go to Regula Gantenbein and Andreas Kluser. Thanks a lot for the great work you did!

- michael


comments

comment #1
Gravatar: Steffen Steffen September 22, 2007 14:55
Michael!

This documentation is great!
Thanks a lot!

--
cheers,
Steffen

comment #2
Gravatar: Steffen Steffen September 22, 2007 14:56
Somehow my last comment got lost.

I just wanted to say, that I really appreciate your work.
Thanks a lot!

--
cheers,
Steffen

comment #3
Gravatar: Patrick Patrick September 24, 2007 18:55
This is GREAT!

Was looking for this for ages.

Thanks Monsieur Stucki.

comment #4
Gravatar: Steffen Kamper Steffen Kamper September 24, 2007 18:59
Many thanx to Michael for that excelent diagrams and informations.
Visuals can help so a lot and makes things understandable in minutes.
Very good, big +++

I hope this will be available in the docs so the info is not get loosed after some months.

comment #5
Gravatar: Polarizer Polarizer September 25, 2007 10:37
Informative and clean chart. Thx for sharing it. To see hook's exact position is a good side effect

Just one remark. The magnifying glass should appear in the legend as a pointer to another (sub) chart, too.

BTW: Which results came out of your analysis?

comment #6
Gravatar: Oliver Leitner Oliver Leitner September 26, 2007 15:47
Finally a paper on this, so i dont need to reverse on every step what i do.

this helps alot with actual extension development.

comment #7
Gravatar: Peter Luser Peter Luser September 27, 2007 10:52
Thx Michael - great work!

I just wanted to ask if you also had a look at the FE-rendering process via TypoScript?
I was wondering why rendering a USER_INT object in a USER_INT function does not work.

If you (or anybody else) has an idea or the same problem, please contact me.

comment #8
Gravatar: Julian Kleinhans Julian Kleinhans October 2, 2007 11:41
Great Michael,
thanks for this really great job ;)

comment #9
Gravatar: Ernesto Baschny Ernesto Baschny October 4, 2007 11:52
Michael, really great doc! Thanks a lot!

@Peter Luser:

A _INT object is placed in the cached content output as a XML-comment which is replaced at the end (see step 32 in Stucki's chart). Those are replaced only once and not recursively. So if your USER_INT generates other _INT comments, those won't be replaced anymore (I imagine that they are then simply outputted to your frontend).

Since your USER_INT will always be called non-cached, you can as well embed USER into it, as those also won't be cached (your USER_INT has to generate them any time). So it won't bring you any advantage to nest USER_INTs anyway.

comment #10
Gravatar: peter luser peter luser October 5, 2007 20:06
@ernesto: ahhh, thx for that info!! :-)

Sorry, comments are closed for this post.