[TYPO3-dev] Suggestions for triggering BE sprite generation

Dmitry Dulepov dmitry.dulepov+t3ml at gmail.com
Fri Jan 29 17:33:36 CET 2010


Hi!

On 2010-01-29 18:27:42 +0200, Ernesto Baschny [cron IT] said:
> How do you know that it is static? I fear your argument is not good, as
> Facebook seem to generate the sprites on demand, see the path of the
> sprite file I've got:
> 
> http://de-de.facebook.com/rsrc.php/z3YC8/hash/74mnzfmd.png

I see, looks like this is their new approach. They had static images in 
December. It was a rectangular sprite with Facebook logo at the top and 
all other icons on the right and bottom. I specially checked that 
because I was asked to make a comparison of web styling approaches in 
December.

> But makes lots of work when one icon is changed, when skins need to
> "merge" icon sets etc. See the use cases of dynamic generation in JoHs
> arguments.

That's my point: nothing to merge! :) The whole sprite merging idea 
comes from having a single sprite. I say:
- use multiple logically grouped sprites
- use API to replace changed icons from other sprites directly in CSS

It is simple and works on every server. Sprite generation using 
ImageMagick/GD may easily fail.

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 core team member / TYPO3 security team member 
Read more @ http://dmitry-dulepov.com/





More information about the TYPO3-dev mailing list