Javascript Development and Testing

Web Page Performance Death by a Thousand Tiny Cuts

Web page performance is literally a death by a thousand tiny little cuts. Usually, the biggest issue for most is the number of requests a page makes. Keep the requests down and your web page performance increases. No magic just common sense. The mobile world we currently live in makes issuing fewer requests that much more important. While it’s true that mobile and tablet devices are getting more powerful each day, they are still no match for the desktop. Moreover, desktops are connected to broadband. Mobile devices are mostly utilizing 3G and 4G.
Read More...

Preventing Object Modification in Javascript

Currently (ECMAScript 5) there are three ways to prevent or “lock down” object modification in Javascript. This is important to help prevent possible misbehaving third-party Javascript partners from tampering with your objects. Or worse - your own Javascript in other parts of your code base that you did not consider or test. Or maybe there are specific areas or parts of your code where you want to write immutable Javascript and reap the benefits?
Read More...