Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 JAVASCRIPT


  HTML Page Slide Without a Framework

The HTML5 Microzone is presented by DZone and Microsoft to bring you the most interesting and relevant content on emerging web standards.  Experience all that the HTML5 Microzone has to offer on our homepage and check out the cutting edge web development tutorials on Script Junkie, Build My Pinned Site, and the HTML5 DevCenter. I'm working on a little demo mobile application for an upcoming project, and I wanted to add sliding transitions between pages. Pretty simple, right? You just use jQuery, jQuery Mobile, zepto, or one of a bunch of other frameworks, an...

3,599 0       JAVASCRIPT HTML SLIDE SHOW NO FRAMEWORK


  JavaScript tutorial - Creating time delays

There are two ways of creating time delays with JavaScript. The first is more simpleand will simply wait for a specified amount of time before executing a function. The seconddoes the same but will repeatedly execute the function.Note, many browsers have a minimum delay length of between 25 and 75 ms, with some of the fastest browsershaving a minimum delay of about 3 ms. If a shorter delay is specified,the actual delay will be the minimum delay length. Even with higher numbers, the delay is never perfect. Mostbrowsers will take slightly longer than the time you ask for, typically just a few mi...

3,184 0       JAVASCRIPT TIME DELAY SETTIMEOUT SETINTERVAL


  Chrome’s WebRTC roadmap

Last January, Chrome was the first major browser to preview WebRTC, HTML5's new real time audio and video stack. Since then, we've been hard at work keeping up with the evolving specification, fixing bugs and listening to the web community’s feedback.The main parts of the WebRTC specification are now stable and are coming soon to all 200M+ Chrome users. With this blog post, we want to help developers plan for what will be introduced in this first stable release later this year.What's in:JSEPJSEP (Javascript Session Establishment Protocol) is an API for signaling that allows for much mo...

3,389 0       GOOGLE OPEN SOURCE WEBRTC ROADMAP


  JavaScript: It's a Language, Not a Community

There's nothing like jsconf for bringing out the meta! Since the conference ended two blog posts have created a lot of buzz, at least within my own twitter bubble.First, Rebecca Murphey's JavaScript: It's a Language, Not a Religion. I take Rebecca's post as a cautionary tale about the dangers of hero-worship and the tendency to assume that the people we respect in one sphere share our views in other spheres. I bring it up here not because I want to discuss the content of her post but because I'm ripping off her title.The second blog post was Ryan Funduk's Our Culture of Exclusion. Ryan talk...

2,705 0       JAVASCRIPT LANGUAGE COMMUNITY


  Write Scalable, Server-side JavaScript Applications with Node.js

If you live in the Silicon Valley area, you have already heard the buzz: Node.js is being hailed as the next big thing. It’s the silver bullet that offers scale, eases development, and can be leveraged by the vast pool of client-side JavaScript developers. So, what exactly is Node.js?Node.js is a server-side JavaScript environment that uses an asynchronous event-driven model. It is based on Google's V8 JavaScript engine plus several built-in libraries. The excitement around Node.js is that the barriers to entry are remarkably low; if you know JavaScript, you're well on your way to writi...

4,506 0       SERVER SIDE NODE.JS SCALABLE JAVASCRIPT APP


  Understanding the "this" keyword in JavaScript

Many people get tripped up by the this keyword in JavaScript. I think theconfusion comes from people reasonably expecting this to work like “this”does in Java or the way people use “self” in Python. Although this issometimes used to similar effect, it’s nothing like “this” in Java or otherlanguages. And while it’s a little harder to understand, its behavior isn’tmagic. In fact, this follows a relatively small set of simple rules. Thispost is an explanation of those rules.But first, I want to give some terminology and information about Ja...

3,372 0       JAVASCRIPT THIS UNDERSTANDING


  Why Javascript is a Joy

I’m probably a bit biased – being a front-end web developer for a few years will do that – but I really enjoy writing Javascript. I’ve recently retreated from pure coding the last few months, but I got an opportunity this past week to jump back into some tasks, and it has reminded me how fun it is to dive into our[1] front-end codebase.Yes, Javascript can be surprisingly elegant yet completely infuriating, and all on the same line of code; for a long time, it remained the joke of the programming community, the deranged cousin that outuglied even the likes of PHP...

2,668 0       JAVASCRIPT SPEED SIMPLICITY MALLEABLE


  JavaScript's Two Zeros

JavaScript has two zeros: -0 and +0. This post explains why that is and where it matters in practice.The signed zeroNumbers always need to be encoded to be stored digitally. Why do some encodings have two zeros? As an example, let’s look at encoding integers as 4-digit binary numbers, via the sign-and-magnitude method. There, one uses one bit for the sign (0 if positive, 1 if negative) and the remaining bits for the magnitude (absolute value). Therefore, -2 and +2 are encoded as follows. Binary 1010 is decimal -2 Binary 0010 is decimal +2 Naturally, that means that there will be ...

3,682 0       JAVASCRIPT ZEROS