background preloader

Programming

Facebook Twitter

jQuery

Javascript. Getting Started. Before diving into JavaScript, it helps to understand how it aligns with the other web technologies. HTML is a markup language used to define and describe content. Whether it be a blog post, a search engine result, or an e-commerce site, the core content of a web page is written in HTML. A semantic markup, HTML is used to describe content in universal terms (headers, paragraphs, images, etc.)

CSS is a supplemental language that applies style to HTML documents. CSS is all about making content look better by defining fonts, colors, and other visual aesthetics. In the browser, JavaScript adds interactivity and behavior to HTML content. Look at this simple HTML page that includes CSS and JavaScript to see how it all fits together: In the example above, HTML is used to describe the content. JavaScript was originally designed to add interactivity to web pages, not to be a general programming language, which makes it a scripting language. Web BrowserText EditorDeveloper Tools (optional) NodeJS, Javascript, HTML5, CSS.

JavaScript: A Survey of the Language. Douglas Crockford www.crockford.com © 2002 Douglas Crockford This document is an introduction to the JavaScript Programming Language for professional programmers. It is a small language, so if you are familiar with other languages, then this won't be too demanding. JavaScript is not Java. They are two very different languages. JavaScript is not a subset of Java. It is not interpreted Java. JavaScript is a regular language which won't take much time to learn. When JavaScript was first introduced, I dismissed it as being not worth my attention. JavaScript was developed by Brendan Eich at Netscape as the in-page scripting language for Navigator 2. This document describes ECMAScript Edition 3 (aka JavaScript 1.5). JavaScript contains a small set of data types. Boolean has two values: true and false. Number is 64-bit floating point, similar to Java's double and Double.

String is a sequence of zero or more Unicode characters. 'This is a string.' "Isn't this a string? 'A' // The character A Objects. Gameplay - free 3D game engine. Program Arcade Games and Learn Computer Science. 3+ Free Must-Have Programming Books For Your Summer Reading List. Want to be productive this summer? If your answer is no, I’m surprised you’re reading this article, but since you’re already here, you might as well read about some potentially productive things. Say, reading some great beginner-grade materials especially if you have an interest in making some of your own Chrome extensions, Windows programs, etc.

We have published a number of articles with links to programming video tutorials, interactive learning modules, and even our own programming lessons, but sometimes, you might just need a good book to immerse yourself in. Lucky for you, up next I’ve gathered a list of legally free programming books that can get you started with learning how to program, scripting and even making your own websites. Thinking in C++ by Bruce Eckel Thinking in C++ is a free electronic book in its second edition that consists of two volumes. Dive Into HTML5 by Mark Pilgrim Want to make some slick web apps? Eloquent Javascript by Marijn Haverbeke. Making The Web Interactive: An Introduction To jQuery. jQuery is a client-side scripting library that nearly every modern website uses – it makes websites interactive. It’s not the only Javascript library, but it is the most developed, most supported, and most widely used. It’s one of the building blocks of any modern website.

But what exactly is jQuery, what makes it so popular, and why should you care about it if you’re starting out as a web developer? What Is jQuery? jQuery is an extension of Javascript, a library of Javascript functions and utilities that add visual flair, and make advanced features simple to implement in just a few lines of code. jQuery is built on top of Javascript, but it adds methods and functionality not found in pure Javascript. The main function of jQuery is for DOM manipulation (DOM is the Document Object Model), and it means the underlying structure of any webpage you visit. jQuery is not the only Javascript library out there, but it is the most popular – about 55% of the top 10,000 websites use it. Visual Flair.

jQuery Tutorial - Getting Started: Basics & Selectors. Last week, I talked about how important jQuery is to any modern web developer and why it’s awesome. This week, I think it’s time we got our hands dirty with some code and learnt how to actually make use of jQuery in our projects. I’ll say this now – you don’t need to learn Javascript in order to use jQuery.

It’s probably best if you think of jQuery as an evolution of Javascript – a better way to do it – than simply a library that adds functionality. Any Javascript you need will be picked up on the way. It is assumed however that as a web developer you have a pretty good knowledge of HTML and CSS (and here’s out helpful free xHTML guide if not!). Document Object Model jQuery is all about traversal and manipulation of the DOM – the Document Object Model. This simple diagram from w3schools explains the concepts fairly well. Getting Started: Adding jQuery The latest version of jQuery is about 91KB when compressed, so it adds about the same page weight as a small photograph or screenshot. Or. Ruby on Rails Tutorial: Learn Rails by Example book and screencasts by Michael Hartl. Michael Hartl Contents Foreword My former company (CD Baby) was one of the first to loudly switch to Ruby on Rails, and then even more loudly switch back to PHP (Google me to read about the drama).

This book by Michael Hartl came so highly recommended that I had to try it, and the Ruby on Rails Tutorial is what I used to switch back to Rails again. Though I’ve worked my way through many Rails books, this is the one that finally made me “get” it. The linear narrative is such a great format. Enjoy! Derek Sivers (sivers.org) Founder, CD Baby Acknowledgments The Ruby on Rails Tutorial owes a lot to my previous Rails book, RailsSpace, and hence to my coauthor Aurelius Prochazka. I’d like to acknowledge a long list of Rubyists who have taught and inspired me over the years: David Heinemeier Hansson, Yehuda Katz, Carl Lerche, Jeremy Kemper, Xavier Noria, Ryan Bates, Geoffrey Grosenbach, Peter Cooper, Matt Aimonetti, Gregg Pollack, Wayne E. About the author Copyright and license 1.1 Introduction.