Serve CSS and Javascript even faster: improved Rails bundled_assets plugin
posted: April 27th, 2007 · by: Sven
I recently showed a Rails plugin that allows to transparently bundle your various CSS and Javascript resources (“assets” in Rails talk) into just one single CSS and Javascript file respectively.
I received some quite positive feedback on it and from various discussions some improvements have emerged that are now available in the repository.
Thanks go especially to Witold Rugowski who pointed me to the execution times of the Ruby implementation of JSMin with larger Javascript bundles. He also found a small bug in Uladzislau Latynski’s otherwise flawless JSMin implementation in Ruby that we are using by default.
Read the rest of this entrySafari's beautiful search tag is broken - let's fix that
posted: April 16th, 2007 · by: Sven
What?! Okay, you might well file this away as “Why in the world would I waste my time on this?” - “Ummmm, well … just because it’s cool, you know!” But watch carefully! As a matter of fact this is serious research and development stuff (of course) that deals with super-useful web technologies. :-)
Most probably everybody who’s high on Safari (you know, that “best browser in the world”) knows those beautiful search box HTML widgets that very much resemble Safari’s own search box in the address bar.
Read the rest of this entryThinking about RESTful dynamic web applications
posted: April 29th, 2006 · by: Sven
I signed up to the REST Discussion Mailing List a while ago and greatly enjoyed to lurk the really interesting and instructive discussions over there - I learned a big deal from it about my own projects (both past and future ones) from following that.
And yes, it really makes sense to me to better respect HTTP and build more RESTful applications - at the very least when it comes to higher scalability through better caching.
But … having most oftenly been involved in projects where there are highly dynamic and customized pages (think: www.yahoo.com or worse) this seems to be more or less an unsolved problem within REST.
One approach that I came up with (well, at least: conceptually) has been mentioned by Bill Venners.
Read the rest of this entryphp namespaces design
posted: November 18th, 2005 · by: Sven
I’ve done a quick theme for the phpnamespaces.org wiki, which is driven by DokuWiki and came with the default skin so far.
Read the rest of this entrySome code for a quick start ...
posted: August 13th, 2004 · by: Sven
So, here are some classes. Looks like it works. “Somebody” should probably add some unit tests though ;)
Read the rest of this entryHave someone else apply your (CSS) hacks
posted: August 10th, 2004 · by: Sven
Ok, one thing seems to be common sense … CSS hacks are ugly. But managing different CSS files, one per major browser engine (?), will result in a huuuge amount of additional work, once we have to apply some changes to the layout later on. Argh. I don’t like that stuff at all.
So what?
After having read through some CSS hacks stuff, I came up with the idea to write a simple engine, that takes a standard-compliant CSS sheet and applies the CSS hacks I’d like to have for me.
Read the rest of this entry