Posts Tagged: javascript


1
Dec 09

Configure Your Web Server to Merge, Cache and Compress Dependent Js and Css Files.

It’s a well known trick by most developers and sysadmins alike to merge your static files into one another to reduce communication overhead between your servers and your coveted visitors. The premise is a simple one: if you require clients to download six JavaScript files, pipe them into a single file and have them download the single file instead of six. You just cut your static request cycle down by 83%. Good for you. The truth is, there are a lot of ways to do this as it’s a pretty well known and practiced concept. The problem is there has never been a simple; language, application and framework agnostic method of doing this with minimal (to no) intervention. They either suggest you use built-in functions like the following, injecting the JS onto the literal page:
Continue reading →


8
Aug 09

devbarjs: A cross-browser development tool and plugin framework.

The classic frustration with any web development generally arrives the first time you fire up a new web browser to see how your blood, sweat and tears end up looking outside of your favorite environment. This is the time when tears splatter across monitors, brilliant minds of less than a quarter century losing their hair faster than a diseased mammal at spring time, disaster striking in the form of dogs and cats living together, utter chaos. It may be a trailing comma on character 3,565 (of 35,355 lines of JS) or an easy mistake of using a position: fixed CSS attribute, inherited from a 3rd party library. A simple compilation of stupidity and carelessness combined to transform a functional LCD panel into a web of cracks; each creating a wake of red, purple, blue and yellow as it trails as to further indicate you are again down to only a single monitor from your original two. It is this pain that has brought me to give you devbarjs. I’m sorry and you’re welcome all wrapped up into a single, extensible package.

Continue reading →