background preloader

Tutorials

Facebook Twitter

Google Launches Drive Realtime API To Let Developers Build Apps With Real-Time Collaboration. Google just announced the launch of its Google Drive Realtime API, a new tool for developers that will allow them to bring the same real-time collaboration features that power Google Drive to their own apps.

Google Launches Drive Realtime API To Let Developers Build Apps With Real-Time Collaboration

The API, Google writes, “handles network communication, storage, presence, conflict resolution, and other collaborative details so you can focus on building great apps.” Google partnered with three-developer focused tools, the collaborative code editor Neutron Drive, the project scheduling tool Gantter and the diagraming tool draw.io to test and launch this API. To show off the power of the API, Google also developed a cube puzzle that uses the Realtime API, as well as a Drive Realtime API Playground for testing the API. Developers, of course, also need to sign up for the Drive API before they can use the Realtime API, too. Because the API tracks the collaborators’ presence, developers can alert users when others join, leave or make changes to a document. Understanding Design Patterns in JavaScript. Today, we're going to put on our computer science hats as we learn about some common design patterns.

Understanding Design Patterns in JavaScript

Design patterns offer developers ways to solve technical problems in a reusable and elegant way. Interested in becoming a better JavaScript developer? Then read on. Republished Tutorial Every few weeks, we revisit some of our reader's favorite posts from throughout the history of the site. Solid design patterns are the basic building block for maintainable software applications. Regular Expressions: Methods - Doc JavaScript. JavaScript Regular Expressions Regular Expression (and String) Methods In this section we'll discuss methods that are related to regular expressions.

Regular Expressions: Methods - Doc JavaScript

A JavaScript and Web Design/Programming Resource By Matt Snider. Dive into JavaScript - A Brief JavaScript Introduction. Types Types - 5 primitive types Primitive types: Undefined Null Boolean String (Immutable) Number (double/32bit integer) Number literal.

Dive into JavaScript - A Brief JavaScript Introduction

JSbooks - free javascript books. Eloquent JavaScript. ¶ When personal computers were first introduced, most of them came equipped with a simple programming language, usually a variant of BASIC.

Eloquent JavaScript

Interacting with the computer was closely integrated with this language, and thus every computer-user, whether he wanted to or not, would get a taste of it. Now that computers have become plentiful and cheap, typical users don't get much further than clicking things with a mouse. Javascript Fundamentals: Development for Absolute Beginners. JS101: Object.create. JS101 is a tutorial series aimed at beginners.

JS101: Object.create

Each post is a bite-sized chunk aimed to elucidate JavaScript fundamentals. To read previous posts, view the js101 tag. The inheritance examples we looked at last week used the form Rectangle.prototype = new Shape(). The reason I like this example is it shows how powerful prototypes are, despite their simplicity. The downside is the constructor for the parent object is executed, which isn’t always what’s desired. ECMAScript 5 introduced Object.create, which creates new objects based on a prototype object and an additional set of properties. The main differences between B.prototype = new A(); and B.prototype = Object.create(A.prototype) are as follows: Mozilla Popcorn. JavaScript HTML DOM Examples. The Node Beginner Book » A comprehensive Node.js tutorial.

Python Tutorials, more than 300, updated March 2, 2009 and carefully sorted by topic and category. AJAX Tutorial. Tutorial: Ajax basics - Introduction Ajax is a great tool to create more dynamic web pages and enhance user interaction.

Tutorial: Ajax basics -

With Ajax, we can contact our server from our Javascript code and get data from the server without having to reload the page. In this tutorial, we will see how to use Ajax in your Javascript code. We will create a "dynamic content" script like the one you can download from the Ajax section on this site. We will use the SACK library in this script. Ps! Let's start What we are going to create is a script that uses Ajax to populate DIV tags on our page with content from external files. The first thing we do is to create an empty html file. DOM nodes and tree. The DOM tree The following text is a snippet of HTML taken from a regular HTML document.

DOM nodes and tree

<p title="The test paragraph">This is a sample of some <b>HTML you might<br>have</b> in your document</p> In your browser, this renders as this (hold your mouse over the paragraph to see the title - most browsers display it as a tooltip, some display it in the status bar): 6 Free JavaScript E-Books and Tutorials. JavaScript has never been hotter, thanks to projects like Node.js, JQuery and PhoneGap.

6 Free JavaScript E-Books and Tutorials

You can now use JavaScript for scripting in the browser, for creating desktop and mobile applications, and for creating server side web applications. But how do you get started? We've compiled a list of six free books and tutorials for beginning programmers, but those with programming experience may find some of these resources valuable as well. Feel free to add more free resources in the comments. Experienced programmers may also want to take a look at this StackOverflow thread on the subject, but most of the resources there aren't free. Thau’s JavaScript Tutorial. There’s a lot you can do with JavaScript: Images can swap when you move a mouse over them, form elements can influence each other on the fly, and calculations can be made without having to resort to a CGI script.

Thau’s JavaScript Tutorial

And it works in all major browsers. This article’s original author, Thau, has been working with JavaScript since its invention, and he created this five-part tutorial to teach you everything you need to know to begin your JavaScript career. The crash course comes complete with many exercises, and you’ll be writing a script by the end of the first lesson. JavaScript Tutorial.