[TYPO3] New Extension: PMK SlimBox (LightBox clone)

Sudara Williams sudara at web-crossing.com
Wed Apr 18 17:50:58 CEST 2007


I don't like to go off topic or reply to rants very often, but I need to back up my good friend Prototype ;)

Prototype is much more of a framework than a library. It's an amazing and ground-breaking framework and provided inspiration for the smaller libraries such as mootools.

If you are hyper concerned about initial load time, don't use it in the front end. Period. It's worth it in the BE, as it provides a huge net savings of load time.

For the development of rich internet applications like Typo3, the initial load time is well worth the experience it provides the end user as well as the power, flexibility and time-saving it provides the programmers (not to mention that it's object orientated feel). 

For me programming with Prototype is a blessing, and I'm glad the core has (finally) adopted it. Already we have some amazing features and time-saving features in the BE developed with it, with much more to come!

sudara
(I'm biased, as I'm about to release an extension that allows folks to choose content elements in the backend and apply scriptaculous effects to them!)





-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de on behalf of Peter Klein
Sent: Wed 4/18/2007 5:31 PM
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] New Extension: PMK SlimBox (LightBox clone)
 

"Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> wrote in message 
news:mailman.1.1176883642.7144.typo3-english at lists.netfielders.de...

> Interestingly Lightbox v2 (and PMK SlimBox) uses the rel attribute and has 
> the image as href of the anchor. And it uses Prototype/scriptaculuos which 
> are shipped with 4.1.
>
> So I think it's great that PMK SlimBox doesn't use an XCLASS. But I think 
> that it's possible to use a similar TS for the original Lightbox v2.
>

The same method can easily be used for the original LightBox v2, but unless 
you really need Prototype/scriptaculuos, I se no reason why to use that.

Prototype.js (46Kb) + scriptaculuos.js (2.1Kb) + effects.js (31Kb) + 
Lightbox v2 (22Kb) = 101.1Kb

Mootools.js (16.6Kb) + Slimbox_ex.js  (5.5Kb) = 22.1Kb

 I fail to understand why TYPO3 has chosen to ship that bloated Prototype 
library with v4.1, as there's several (better and smaller) JS libraries 
around, like JQuery and Mootools.

--
Peter Klein / Umloud Untd.


_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english





More information about the TYPO3-english mailing list