Navigation
When to use call and apply
2010-08-29 16:28:49A very common interesting question for Javascript engineers. What is the difference between call and apply?
Call and Apply provide you a way to work with the arguments as array objects. Just remember that Apply accepts two arguments but Call can take an unlimited number.
function applyArray(){ return Array.prototype.pop.apply(arguments); }; applyArray('jump','run','hike'); // hike
Working in statements and expressions require us to use the this Javascript object. Using the call and apply functions allow us to route and reconfigure default javascript behaviors.
Code Performance and Optimization
2010-08-26 17:13:00Use HTML5 and CSS3 technologies cross-browse
emulate presentation effects with proprietary browser tricks
- Remy Sharp HTML5 enabling script
- Modernizr javascript toolkit
- PIE library
- ecsstender
- mojocss
Publishing Video on the Web
2010-07-23 07:09:55Video and images. Broadband internet usage is growing rapidly. More video is being published on the web everyday. Many vendors have turned to Google's YouTube to syndicate their content. Today YouTube can essentially serve as a CDN, providing you with a well documented API to create Chromeless players and the like. In this manner, the video is served from a cloud of network servers located within a proximal distance from the original request. Images download faster and videos play smoother. For quite a while now, we have been coming up with new ways to serve up our data faster. Despite our high-powered file servers and hardware, we are unable to cater to the world wide web. Content Delivery Networks are needed for videos to stream smoothly and images to show immediately.