Title: Page 131 – Alex Kirk

---

 * 
   ## 󠀁[Bloated Ajax Applications Due to Libraries](https://alex.kirk.at/2005/10/03/bloated-ajax-applications-due-to-libraries/)󠁿
   
 * October 3, 2005
 * When Ajax began to rise, there was quite a movement towards the [prototype javascript library](http://prototype.conio.net/).
   This was also pushed by the great [Ruby on Rails](http://www.rubyonrails.org/).
   Then came the visual effects of [script.aculo.us](http://script.aculo.us/). They
   look great, they really do. But for what price? Lots of KB of code.
 * `alex@www:~/scriptaculous/$ du *.js -ch --apparent-size
    23K controls.js 18K 
   dragdrop.js 21K effects.js 28K prototype.js 899 scriptaculous.js 12K unittest.
   js 8.7K util.js 109K total
 * This is unacceptable for just a library. Most of these KB’s have to be downloaded
   and do not provide any functionality per-se. Broadband is not an argument here.
   To load or not to load 100kb is relevant.
 * I therefor really like the [Sack of Ajax](http://twilightuniverse.com/2005/05/sack-of-ajax/).
   It takes only about 4K:
 * `alex@www:~/sack/$ du *.js -ch --apparent-size
    3.9K tw-sack.js 3.9K total
 * Now this does not give us all the script.aculo.us stuff. For that case I suggest
   to just reuse the relevant parts of it. Just let the user download what you really
   use. Maybe one day we will see a reduced script.aculo.us. Or an alternative using
   Sack.
 * **UPDATE:** I now recommend to use protoype.js again, in a [reduced version just for AJAX](https://alex.kirk.at/2005/10/05/prototypejs-just-for-ajax/).
 * ajax, sack of ajax, prototype, bloated
 * [Ajax](https://alex.kirk.at/category/code/ajax/)
 * 
   ## 󠀁[News about E-Ink](https://alex.kirk.at/2005/09/28/news-about-e-ink/)󠁿
   
 * September 28, 2005
 * [E Ink: Entwickler-Kit mit elektronischem Papier – Golem.de](http://www.golem.de/0509/40681.html)
   (
   the corresponding [PR announcement](http://www.eink.com/news/releases/pr85.html))
 * go on, go on, go on. that’s what i want. i don’t like reading on the screen very
   much. i waste tons of paper just for printing internet pages and reading them,
   e.g. while travelling around through vienna by tram.
 * unfortunately the [e-book device](http://www.ebook88.com/devices.html) development
   seems to have stopped in 2002. i hope that this will push forward new products,
   although i believe there wouldn’t be an affordable one within 2 years. in the
   u.s. give europe another year. :o/
 * an additional note to the hardware developers: don’t even think about a two-display/
   double-page e-book device. that’s what i always hated about books. when reading
   while lying the next page is always uncomfortable to read.
 * still one more: don’t mess around with supporting a lot of document formats. 
   just pdf will do (flexible os’es let you save any printed document as pdf).
 * ahh. one more: underlining words on such a device would be too much comfort for
   the beginning. needing a touchable display it would be too much work. postpone
   it. please.
 * now for the last point: use e-ink. it only needs energy for displaying new pages.
   this will make the battery as long lasting as i want it to be.
 * e-ink, e-book, pdf
 * [Misc](https://alex.kirk.at/category/misc/)

 [Previous Page](https://alex.kirk.at/page/130/?output_format=md&term_id=44043) 
[Next Page](https://alex.kirk.at/page/132/?output_format=md&term_id=44043)