- Table View
- List View
JavaScript for PHP Developers: A Concise Guide to Mastering JavaScript
by Stoyan StefanovIf you want to significantly expand your web development skills beyond PHP, this practical, hands-on book teaches you ECMAScript—the core JavaScript language—from the ground up. You’ll discover some similarities between JavaScript and PHP, such as conditions and loops, but the primary focus is on JavaScript’s unique object creation, classes, prototypes, and inheritance.JavaScript knowledge is essential for working with today’s Web, whether you’re building applications for the client, the server, or for mobile use—and your PHP experience gives you a head start. This book will help you become fluent with JavaScript quickly, and then serve as a handy reference once you start coding.Explore JavaScript syntax, including variables, arrays, loops, and conditionsLearn how functions are important in JavaScript—and why they’re actually objectsDelve into JavaScript’s object-oriented features, including prototypes, code reuse, and inheritanceExamine the built-in API and explore its global functions, properties, and objectsLearn about updates in ECMAScript5, the latest version of the standardUse common design patterns to organize your code in large applications
JavaScript for Sound Artists: Learn to Code with the Web Audio API
by William Turner Steve LeonardLearn how to program JavaScript while creating interactive audio applications with JavaScript for Sound Artists: Learn to Code With the Web Audio API! William Turner and Steve Leonard showcase the basics of JavaScript language programing so that readers can learn how to build browser based audio applications, such as music synthesizers and drum machines. The companion website offers further opportunity for growth. Web Audio API instruction includes oscillators, audio file loading and playback, basic audio manipulation, panning and time. This book encompasses all of the basic features of JavaScript with aspects of the Web Audio API to heighten the capability of any browser. Key Features Uses the readers existing knowledge of audio technology to facilitate learning how to program using JavaScript. The teaching will be done through a series of annotated examples and explanations. Downloadable code examples and links to additional reference material included on the books companion website. This book makes learning programming more approachable to nonprofessional programmers The context of teaching JavaScript for the creative audio community in this manner does not exist anywhere else in the market and uses example-based teaching
JavaScript for Sound Artists: Learn to Code with the Web Audio API
by William Turner Steve LeonardLearn how to program JavaScript while creating interactive audio applications with JavaScript for Sound Artists: Learn to Code With the Web Audio API! William Turner and Steve Leonard showcase the basics of JavaScript language programing so that readers can learn how to build browser based audio applications, such as music synthesizers and drum machines. The companion website offers further opportunity for growth. Web Audio API instruction includes oscillators, audio file loading and playback, basic audio manipulation, panning and time. This book encompasses all of the basic features of JavaScript with aspects of the Web Audio API to heighten the capability of any browser. Key Features Uses the readers existing knowledge of audio technology to facilitate learning how to program using JavaScript. The teaching will be done through a series of annotated examples and explanations. Downloadable code examples and links to additional reference material included on the books companion website. This book makes learning programming more approachable to nonprofessional programmers The context of teaching JavaScript for the creative audio community in this manner does not exist anywhere else in the market and uses example-based teaching
JavaScript for Web Developers: Understanding the Basics
by Mark SimonLearn the basics of JavaScript to enhance your web pages. This book focuses on modern JavaScript programming and encourages a well-organized approach to programming in general. JavaScript for Web Developers explains each foundational concept of the language, followed by a practical implementation of that lesson to reinforce what you’ve learned. Author Mark Simon starts with the basics of JavaScript programming, followed by a tutorial on manipulating HTML elements. You will then learn to work with forms, along with CSS and Event Listeners. Hands-on projects will not only solidify each concept in your mind, but they will also give you greater confidence and help you absorb best practices. The book concludes with coverage of Ajax, which will enable you to send and retrieve data from a server asynchronously without interfering with the display and behavior of an existing web page. After reading this book, you will be able to use JavaScript to design and program your own web applications. What Will You Learn Understand the basics of JavaScript programmingManipulate and modify web pages with JavaScriptUse JavaScript to interact with HTML and CSSWork with data and understand the basics of working with Ajax Who Is This Book For Beginning web developers with little to no experience using JavaScript.
JavaScript Frameworks for Modern Web Development: The Essential Frameworks, Libraries, and Tools to Learn Right Now
by Sufyan bin Uzayr Nicholas Cloud Tim AmblerEnrich your software design skills and take a guided tour of the wild, vast, and untamed frontier that is JavaScript development. Especially useful for frontend developers, this revision includes specific chapters on React and VueJS, as well as an updated one on Angular. To help you get the most of your new skills, each chapter also has a "further reading" section.This book will serve as an introduction to both new and well established libraries and frameworks, such as Angular, VueJS, React, Grunt, Yeoman, RequireJS, Browserify, Knockout, Kraken, Async.js, Underscore, and Lodash. It also covers utilities that have gained popular traction and support from seasoned developers and tools applicable to the entire development stack, both client- and server-side. While no single book can possibly cover every JavaScript library of value, JavaScript Frameworks for Modern Web Development focuses on incredibly useful libraries and frameworks that production software uses. You will be treated to detailed analyses and sample code for tools that manage dependencies, structure code in a modular fashion, automate repetitive build tasks, create specialized servers, structure client side applications, facilitate horizontal scaling, and interacting with disparate data stores.What You'll LearnWork with a variety of JavaScript frameworks, such as Angular, Vue, React, RequireJS, Knockout, and moreChoose the right framework for different types of projectsEmploy the appropriate libraries and tools in your projectsDiscover useful JavaScript development tools such as Grunt, Yeoman, Lodash, etc. Who This Book Is For Web developers of all levels of ability; particularly relevant for front-end developers, server-side coders, and developers interested in learning JavaScript.
JavaScript from Beginner to Professional: Learn JavaScript quickly by building fun, interactive, and dynamic web apps, games, and pages
by Rob Percival Laurence Lars Svekis Maaike van PuttenStart your journey towards becoming a JavaScript developer with the help of more than 100 fun exercises and projectsKey FeaturesWrite eloquent JavaScript and employ fundamental and advanced features to create your own web appsInteract with the browser with HTML and JavaScript, and add dynamic images, shapes, and text with HTML5 CanvasBuild a password checker, paint web app, hangman game, and many more fun projectsBook DescriptionThis book demonstrates the capabilities of JavaScript for web application development by combining theoretical learning with code exercises and fun projects that you can challenge yourself with. The guiding principle of the book is to show how straightforward JavaScript techniques can be used to make web apps ranging from dynamic websites to simple browser-based games.JavaScript from Beginner to Professional focuses on key programming concepts and Document Object Model manipulations that are used to solve common problems in professional web applications. These include data validation, manipulating the appearance of web pages, working with asynchronous and concurrent code.The book uses project-based learning to provide context for the theoretical components in a series of code examples that can be used as modules of an application, such as input validators, games, and simple animations. This will be supplemented with a brief crash course on HTML and CSS to illustrate how JavaScript components fit into a complete web application.As you learn the concepts, you can try them in your own editor or browser console to get a solid understanding of how they work and what they do. By the end of this JavaScript book, you will feel confident writing core JavaScript code and be equipped to progress to more advanced libraries, frameworks, and environments such as React, Angular, and Node.js.What you will learnUse logic statements to make decisions within your codeSave time with JavaScript loops by avoiding writing the same code repeatedlyUse JavaScript functions and methods to selectively execute codeConnect to HTML5 elements and bring your own web pages to life with interactive contentMake your search patterns more effective with regular expressionsExplore concurrency and asynchronous programming to process events efficiently and improve performanceGet a head start on your next steps with primers on key libraries, frameworks, and APIsWho this book is forThis book is for people who are new to JavaScript (JS) or those looking to build up their skills in web development. Basic familiarity with HTML & CSS would be beneficial.Whether you are a junior or intermediate developer who needs an easy-to-understand practical guide for JS concepts, a developer who wants to transition into working with JS, or a student studying programming concepts using JS, this book will prove helpful.
JavaScript from Frontend to Backend: Learn full stack JavaScript development using the MEVN stack with quick and easy steps
by Eric SarrionDelve into the world of web development with Vue.js, Node.js, and MongoDB by exploring essential JavaScript concepts on the client side and the server sideKey FeaturesGet up and running with JavaScript, the most popular web development language in the worldCut through the complexity and focus on the simple aspects of web developmentBuild a simple web application using Vue.js, Node.js, and MongoDBBook DescriptionJavaScript, the most widely used programming language in the world, has numerous libraries and modules and a dizzying array of need-to-know topics. Picking a starting point can be difficult. Enter JavaScript from Frontend to Backend. This concise, practical guide will get you up to speed in next to no time.This book begins with the basics of variables and objects in JavaScript and then moves quickly on to building components on the client-side with Vue.js and a simple list management application. After that, the focus shifts to the server-side and Node.js, where you'll examine the MVC model and explore the Express module. Once you've got to grips with the server-side and the client-side, the only thing that remains is the database. You'll discover MongoDB and the Mongoose module. In the final chapter of this fast-paced guide, you'll combine all these pieces to integrate a Vue.js application into a Node.js server, using Express to structure the server code and MongoDB to store the information.By the end of this book, you will have the skills and confidence to successfully implement JavaScript concepts in your own projects and begin your career as a JavaScript developer.What you will learnTrigger deferred processing with JavaScriptImplement Express and MongoDB with Node.jsBuild components with Vue.jsUnderstand how to create and use modules with Node.jsFamiliarize yourself with npmBuild a client-side application entirely with JavaScriptDive into full stack development with Vue.js, Node.js, and MongoDBWho this book is forThis book is for JavaScript developers looking to strengthen their core JavaScript concepts and implement them in building full stack apps. Prior knowledge of HTML and CSS is a must.
JavaScript für Dummies (Für Dummies)
by Andy HarrisSchnell und einfach interaktive Webseiten programmieren: Andy Harris zeigt Ihnen alles, was Sie über JavaScript wissen müssen, um dieses Ziel zu erreichen. Zunächst erlernen Sie die Grundlagen der Programmierung und erfahren dann, wie Sie Ihre HTML-Elemente mit JavaScript verändern und animieren. Auch die Themen Ajax und jQuery werden ausführlich behandelt. HTML- und CSS-Kenntnisse sind für die Lektüre von Nutzen, Programmierkenntnisse benötigen Sie jedoch nicht. Mit den vielen verständlichen Beispielen finden sich auch Anfänger schnell zurecht, so dass Sie schon bald attraktive Webseiten entwickeln werden!
JavaScript für Dummies (Für Dummies)
by Sebastian SpringerSchritt für Schritt zu JavaScript Wenn Sie mit JavaScript programmieren lernen möchten, dann greifen Sie zu! Sebastian Springer vermittelt Ihnen in diesem Einstieg das Grundwissen zur Programmierung mit dieser mächtigen Programmiersprache. Sie lernen neben Grundlagen wie Schleifen, Verzweigungen und Co. alle wichtigen Tools, Arbeitsweisen und Besonderheiten der Browser kennen. Doch damit nicht genug: Fortgeschrittene Technologien, wie die asynchrone Programmierung, werden erklärt; außerdem, wie Sie zwischen Frontend und Backend kommunizieren oder mit Nutzern interagieren. Alles garniert mit übungen und Beispiel-Programmen. Sie erfahren Was es mit Node.js auf sich hat Wie das Zusammenspiel von JavaScript und HTML und CSS funktioniert Was Sie über Datentypen, Variable und Konstante wissen sollten Wie Sie Fehler aufspüren und beheben
JavaScript Una Guía de Aprendizaje para el Lenguaje de Programación JavaScript
by Andrés Parraud Troy DimesJavaScript es un lenguaje de programación de computadoras dinámico utilizado habitualmente en navegadores web para controlar el comportamiento de páginas web e interactuar con los usuarios. Permite comunicación asincrónica y puede actualizar partes de una página web o incluso reemplazar completamente su contenido. Verás que JavaScript es utilizado para mostrar información de fecha y hora, ejecutar animaciones en un sitio web, validar formularios, sugerir resultados mientras el usuario escribe en un cuadro de búsqueda y más. JavaScript está siendo usado cada vez más... A pesar de que JavaScript es, por mucho, el lenguaje de programación de cliente más popular actualmente en uso, puede ser usado -y, de hecho, lo es- también en el servidor. Node.js, Meteor, Wakanda, CouchDB y MongoDB son sólo unos pocos ejemplos de lugares donde encontrarás y serás capaz de usar JavaScript en el servidor. El tiempo que inviertas en aprender JavaScript puede ser doblemente rendidor, ya que JavaScript sigue expandiéndose por cada vez más áreas de la computación. Aprende los fundamentos del lenguaje de programación JavaScript Ya sea que planees usar JavaScript en el lado del cliente en un navegador web, en el lado del servidor, o ambos, necesitas aprender los fundamentos del lenguaje. Esto es lo que te proporcionará este libro. Cuando termines de leerlo, te sentirás cómodo y confiado programando en Lenguaje JavaScript. Estas son algunas cosas que aprenderás cuando leas este libro: Dónde puede usarse JavaScript Cómo configurar tu computadora para programar en JavaScript cómoda y fácilmente Qué herramientas debes tener cuando programes en JavaScript Los fundamentos del HTML... Qué son las variables y cómo usarlas Cómo manejar números y realizar operaciones matemáticas Cómo y cuándo usar condicionales Qué funciones hay, por qué son tan útiles y
JavaScript i jQuery. Nieoficjalny podr?cznik
by David Sawyer McFarlandBuduj zaawansowane i interaktywne strony WWW!JavaScript ma za sob? d?ug? histori?, w której bywa?y okresy lepsze i gorsze. Czasem j?zyk ten by? wr?cz masowo blokowany w przegl?darkach. Jednak te czasy min??y. W tej chwili nie obejdzie si? bez niego ?adna powa?na aplikacja internetowa lub cho? troch? bardziej zaawansowana strona WWW. U?ytkownicy serwisów internetowych wymuszaj? na projektantach coraz nowsze i lepsze rozwi?zania. Dlatego na rynku wci?? pojawiaj? si? dodatkowe narz?dzia dla j?zyka JavaScript, które u?atwiaj? wykorzystanie jego potencja?u. Najpopularniejszym dodatkiem tego typu jest biblioteka jQuery. Genialna w swojej prostocie, z ogromnymi mo?liwo?ciami, zdoby?a uznanie wszystkich programistów JavaScriptu. Nie potrafi? sobie oni wyobrazi? programowania bez jej wykorzystania. W tej ksi??ce znajdziesz najlepsze techniki, jakie oferuje JavaScript. Nauczysz si? nawigowa? po drzewie DOM, modyfikowa? zachowanie elementów oraz obs?ugiwa? zdarzenia. Poznasz równie? narz?dzia, które u?atwi? Ci prac? oraz debugowanie kodu. Jest to obowi?zkowa pozycja dla ka?dego projektanta stron internetowych. Musisz j? mie?!Dzi?ki tej ksi??ce:poznasz podstawy j?zyka JavaScriptzobaczysz, jak jQuery potrafi u?atwi? prac? z JavaScriptemopanujesz mechanizm zdarze? w jQueryzbudujesz lepsz? i ciekawsz? witryn?!Twórz atrakcyjne strony WWW. Wzboga? kod HTML o animacje, interaktywno?? i dynamiczne efekty wizualne!
JavaScript i jQuery. Nieoficjalny podr?cznik. Wydanie III
by David Sawyer McFarlandDuet nie do pokonania!JavaScript to j?zyk, którego pocz?tki si?gaj? lat dziewi??dziesi?tych XX wieku. Po pocz?tkowych problemach, gdy by? masowo blokowany przez u?ytkowników, obecnie prze?ywa swój najlepszy okres. Trudno wyobrazi? sobie bez niego nowoczesn? aplikacj? internetow?. Niew?tpliwie du?y wp?yw na wzrost popularno?ci JavaScriptu mia?a biblioteka jQuery, która usprawni?a korzystanie z tego j?zyka.Ta ksi??ka to wyj?tkowy podr?cznik prezentuj?cy mo?liwo?ci niesamowitego duetu JavaScript – jQuery. Si?gnij po ni?, a zagwarantujesz sobie godziny pasjonuj?cej lektury i odkrywania sk?adni j?zyka, typowych konstrukcji oraz najlepszych technik tworzenia programów. Ponadto dowiesz si?, jak sprawnie manipulowa? obiektami w drzewie DOM, reagowa? na zdarzenia oraz wymienia? informacje z serwerem za pomoc? ??da? AJAX. Na sam koniec zdob?dziesz bezcenn? wiedz? na temat diagnozowania problemów ze skryptami, korzystania z dokumentacji jQuery oraz przechowywania danych w magazynie lokalnym u?ytkownika. Ksi??ka ta jest obowi?zkow? lektur? dla ka?dego webdevelopera!Spraw, by Twoje strony ?y?y. Korzystaj z jQuery, ?eby tworzy? interaktywne elementy reaguj?ce na poczynania u?ytkowników. Poznaj jQuery UI. Rozbuduj tworzone interfejsy u?ytkownika stosuj?c grupy kart, okna dialogowe, wid?ety do wyboru daty i tak dalej. Wy?wietlaj ?adne i u?yteczne formularze. Pobieraj informacje od u?ytkowników, pomagaj klientom w zakupach i zapewniaj cz?onkom spo?eczno?ci mo?liwo?? dzielenia si? przemy?leniami. Wyjd? poza ramy przegl?darki korzystaj?c z technologii Ajax. Komunikuj si? z serwerem WWW, by aktualizowa? strony bez ich od?wie?ania. Zastosuj swoje nowe umiej?tno?ci w praktyce. Krok po kroku twórz nowe aplikacje, korzystaj?c przy tym z jQuery i wid?etów jQuery UI. Poznawaj zaawansowane zagadnienia. Korzystaj z narz?dzia ThemeRoller by dostosowywa? wygl?d wid?etów; unikaj popularnych b??dów, które programi?ci cz?sto pope?niaj?.Wykorzystaj w pe?ni mo?liwo?ci wspó?czesnych przegl?darek internetowych!David Sawyer McFarland – od ponad 20 lat zajmuje si? tworzeniem stron WWW i zarz?dzaniem tymi stronami. Jest prezesem firmy Sawyer McFarland Media. Wcze?niej pracowa? jako webmaster na Uniwersytecie Stanu Kalifornia oraz w Berkeley Multimedia Research Center. Jest autorem ksi??ek po?wi?conych Adobe Dreamweaverowi oraz CSS.
JavaScript & jQuery: The Missing Manual
by David Sawyer McfarlandJavaScript lets you supercharge your HTML with animation, interactivity, and visual effects--but many web designers find the language hard to learn. This jargon-free guide covers JavaScript basics and shows you how to save time and effort with the jQuery library of prewritten JavaScript code. You'll soon be building web pages that feel and act like desktop programs, without having to do much programming. The important stuff you need to know: Make your pages interactive. Create JavaScript events that react to visitor actions. Use animations and effects. Build drop-down navigation menus, pop-ups, automated slideshows, and more. Improve your user interface. Learn how the pros make websites fun and easy to use. Collect data with web forms. Create easy-to-use forms that ensure more accurate visitor responses. Add a dash of Ajax. Enable your web pages to communicate with a web server without a page reload. Practice with living examples. Get step-by-step tutorials for web projects you can build yourself.
JavaScript & jQuery: The Missing Manual
by David Sawyer McFarlandJavaScript lets you supercharge your HTML with animation, interactivity, and visual effects—but many web designers find the language hard to learn. This easy-to-read guide not only covers JavaScript basics, but also shows you how to save time and effort with the jQuery and jQuery UI libraries of prewritten JavaScript code. You’ll build web pages that feel and act like desktop programs—with little or no programming.The important stuff you need to know:Pull back the curtain on JavaScript. Learn how to build a basic program with this language.Get up to speed on jQuery. Quickly assemble JavaScript programs that work well on multiple web browsers.Transform your user interface. Learn jQuery UI, the JavaScript library for interface features like design themes and controls.Make your pages interactive. Create JavaScript events that react to visitor actions.Use animations and effects. Build drop-down navigation menus, pop-ups, automated slideshows, and more.Collect data with web forms. Create easy-to-use forms that ensure more accurate visitor responses.Practice with living examples. Get step-by-step tutorials for web projects you can build yourself.
JavaScript JSON Cookbook
by Ray RischpaterIf you're writing applications that move structured data from one place to another, this book is for you. This is especially true if you've been using XML to do the job because it's entirely possible that you could do much of the same work with less code and less data overhead in JSON. While the book's chapters make some distinction between the client and server sides of an application, it doesn't matter if you're a frontend, backend, or full-stack developer. The principles behind using JSON apply to both the client and the server, and in fact, developers who understand both sides of the equation generally craft the best applications.
JavaScript Mobile Application Development
by Hazem SalehIf you are a native mobile developer, with some familiarity with the common web technologies of JavaScript, CSS, and HTML, or if you are a web developer, then this learning guide will add great value and impact to your work. Learning how to develop mobile applications using Apache Cordova is of particular importance if you are looking to develop applications on a variety of different platforms efficiently.
JavaScript - mocne strony
by Douglas CrockfordPoznaj doskona?? u?yteczno?? j?zyka JavaScript!Jak efektywnie wykorzysta? najlepsze funkcje JavaScript?Jak pisa? programy, aby ustrzec si? b??dów?Jak zdefiniowa? podzbiór j?zyka i tworzy? idealne aplikacje?Warto pozna? j?zyk JavaScript, poniewa? stanowi on jedno z wa?niejszych narz?dzi w informatyce -- dzi?ki temu, ?e jest jednocze?nie podstawowym i domy?lnym j?zykiem przegl?darek internetowych oraz j?zykiem programowania. JavaScript pozwala na tworzenie wydajnego kodu bibliotek obiektowych czy aplikacji opartych na technice AJAX. Jego skrypty s?u?? najcz??ciej do zapewniania interaktywno?ci, sprawdzania poprawno?ci formularzy oraz budowania elementów nawigacyjnych. Do?? ?atwa sk?adnia sprawia, ?e pisanie pe?noprawnych i wydajnych aplikacji w tym j?zyku nie jest trudne nawet dla pocz?tkuj?cych programistów. Ksi??ka "JavaScript -- mocne strony" to wyj?tkowy podr?cznik do nauki tego popularnego, dynamicznego j?zyka programowania. Dowiesz si? z niej, jak efektywnie wykorzysta? wszystkie jego mocne strony (m.in. funkcje, dynamiczne obiekty, litera?y obiektowe) oraz jak unika? pu?apek. Poznasz elementy sk?adowe j?zyka oraz sposoby ich ??czenia, zrozumiesz, na czym polega dziedziczenie prototypowe, w jaki sposób brak kontroli typów ma pozytywny wp?yw na pisanie aplikacji oraz dlaczego stosowanie zmiennych globalnych jako podstawowego modelu programowania nie jest dobrym pomys?em. Znaj?c wszelkie ograniczenia j?zyka JavaScript, b?dziesz móg? profesjonalnie wykorzysta? jego najlepsze cz??ci.Gramatyka j?zyka JavaScriptObiekty i funkcjeRekurencjaKaskadowe ??czenie wywo?a?Litera?y obiektoweDziedziczenie -- pseudoklasyczne, prototypowe, funkcyjneTabliceWyra?enia regularneKlasa znaków i kwantyfikator wyra?enia regularnegoNie tra? czasu -- si?gaj tylko po to, co najlepsze w j?zyku JavaScript!
JavaScript Next: Your Complete Guide to the New Features Introduced in JavaScript, Starting from ES6 to ES9
by Raju GandhiJavaScript has finally grown up. Armed with a slew of new features, JavaScript now makes writing the code that powers your applications elegant, concise, and easy to understand. This book is a pragmatic guide to the new features introduced in JavaScript, starting with Edition 6 of ECMAScript, and ending with Edition 9. Using a "compare and contrast" approach, each chapter offers a deep dive into new features, highlighting how best to use them moving forward. As you progress through the book, you'll be offered multiple opportunities to see the new features in action, and in concert with one another.Backed by an example-driven writing style, you'll learn by doing, and get ready to embrace the new world of JavaScript. What You'll LearnProvide a deep exposition of the new features introduced in ES6 through ES9 Review how JavaScript's new features by-pass any limitations of an existing approachExamine the refactoring necessary to go from old to newDemonstrate how JavaScript's new features work in unison with each other Who This Book Is For New and experienced developers who wish to keep abreast of the changes to JavaScript and deepen their understanding of the language.
JavaScript. Nieoficjalny Podrecznik: The Missing Manual (Missing Manual Ser.)
by David Sawyer McfarlandWykorzystaj mo?liwo?ci JavaScript! Jak rozpocz?? przygod? z JavaScript? Jak dynamicznie modyfikowa? strony
JavaScript: Novice to Ninja
by Darren JonesJavaScript is a must-have skill for all web developers. JavaScript: Novice to Ninja is a fun, practical, and comprehensive guide to the modern usage of this deceptively powerful language. Comprehensively updated to cover ECMAScript 6 and modern JavaScript development, the second edition of this step-by-step introduction to coding in JavaScript will show you how to to solve real-world problems, design eye-catching animations, build smarter forms, and develop richer applications. Learn the basics of JavaScript programming: functions, methods, properties, loops and logicUse events to track user interactionsBuild smarter web forms that improve the user experienceWork with the document object model (DOM) and Ajax to dynamicall update your pagesAdd functionality to your apps using HTML5's powerful APIsUse Test Driven Development methodology to write more robust codeBuild a complete, working JavaScript quiz app from scratch
JavaScript Object Programming
by Martin RinehartThis brief book explains the advantages of the object model, inheritance, both classical and prototypical, and shows how these concepts can be implemented in JavaScript. It also shows how object programming (OP) opens a new world of design possibilities that go far beyond inheritance. This book will help the intermediate JavaScript programmer learn to use both types of inheritance. For classical inheritance, it is accompanied by a substantial online system (a windowing UI library) that shows classical inheritance at its best. The same system shows how OP "capabilities" can eliminate much of the need for inheritance. For experienced JavaScript programmers, this book shows why most of the old views of JavaScript's inheritance have not done it justice. JavaScript classes inherit from JavaScript's prototypes, a fact that makes JavaScript's prototypes, when used correctly, functional equivalents to C++ classes (not to prototypes in true prototypal languages, like Self). JavaScript's object programming (not inheritance) is what separates it from classical OOP languages like C++ and Java. Most important, basing inheritance on JavaScript's prototypal chain is possible, but is not the best choice for prototypal inheritance or classical inheritance. What you'll learn What are objects, JavaScript objects and object programming What is and how to use inheritance and JavaScript inheritance as well as inheritance alternatives How to design for JavaScript What are and how to use OO principles in JavaScript How to use Constructors with JavaScript and more Who this book is for This book is for both intermediate and advanced JavaScript and Web development programmers. Any programmer will understand the concepts and any JavaScript programmer should understand all of the concepts in this book. The code there shows examples of the concepts discussed. Its immediate usefulness with be with intermediate and advanced JavaScript and Web development programmers. Table of Contents 1. Objects 2. JavaScript Objects 3. Object Programming 4. Inheritance 5. JavaScript Inheritance 6. Inheritance Alternatives 7. Designing for JavaScript 8. OOP Principles 9. On Constructors A. Notes
JavaScript on Things: Hacking hardware for web developers
by Lyza GardnerSummaryJavaScript on Things is your first step into the exciting and downright entertaining world of programming for small electronics. If you know enough JavaScript to hack a website together, you'll be making things go bleep, blink, and spin faster than you can say "nodebot."Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the TechnologyAre you ready to make things move? If you can build a web app, you can create robots, weather stations, and other funky gadgets! In this incredibly fun, project-based guide, JavaScript hardware hacker Lyza Danger Gardner takes you on an incredible journey from your first flashing LED through atmospheric sensors, motorized rovers, Bluetooth doorbells, and more. With JavaScript, some easy-to-get hardware, and a bit of creativity, you'll be beeping, spinning, and glowing in no time.About the BookJavaScript on Things introduces the exciting world of programming small electronics! You'll start building things immediately, beginning with basic blinking on Arduino. This fully illustrated, hands-on book surveys JavaScript toolkits like Johnny-Five along with platforms including Raspberry Pi, Tessel, and BeagleBone. As you build project after interesting project, you'll learn to wire in sensors, hook up motors, transmit data, and handle user input. So be warned: once you start, you won't want to stop.What's InsideControlling hardware with JavaScriptiDesigning and assembling robots and gadgetsA crash course in electronicsOver a dozen hands-on projects!About the ReaderWritten for readers with intermediate JavaScript and Node.js skills. No experience with electronics required.About the AuthorLyza Danger Gardner has been a web developer for over 20 years. She's part of the NodeBots community and a contributor to the Johnny-Five Node.js library.Table of ContentsPART 1 - A JAVASCRIPTER'S INTRODUCTION TO HARDWAREBringing JavaScript and hardware together Embarking on hardware with Arduino How to build circuits PART 2 - PROJECT BASICS: INPUT AND OUTPUT WITH JOHNNY-FIVE Sensors and input Output: making things happen Output: making things move PART 3 - MORE SOPHISTICATED PROJECTS Serial communication Projects without wires Building your own thingPART 4 - USING JAVASCRIPT WITH HARDWARE IN OTHER ENVIRONMENTS JavaScript and constrained hardware Building with Node.js and tiny computers In the cloud, in the browser, and beyond
JavaScript Patterns: Build Better Applications with Coding and Design Patterns
by Stoyan StefanovWhat's the best approach for developing an application with JavaScript? This book helps you answer that question with numerous JavaScript coding patterns and best practices. If you're an experienced developer looking to solve problems related to objects, functions, inheritance, and other language-specific categories, the abstractions and code templates in this guide are ideal—whether you're using JavaScript to write a client-side, server-side, or desktop application.Written by JavaScript expert Stoyan Stefanov—Senior Yahoo! Technical and architect of YSlow 2.0, the web page performance optimization tool—JavaScript Patterns includes practical advice for implementing each pattern discussed, along with several hands-on examples. You'll also learn about anti-patterns: common programming approaches that cause more problems than they solve.Explore useful habits for writing high-quality JavaScript code, such as avoiding globals, using single var declarations, and moreLearn why literal notation patterns are simpler alternatives to constructor functionsDiscover different ways to define a function in JavaScriptCreate objects that go beyond the basic patterns of using object literals and constructor functionsLearn the options available for code reuse and inheritance in JavaScriptStudy sample JavaScript approaches to common design patterns such as Singleton, Factory, Decorator, and moreExamine patterns that apply specifically to the client-side browser environment
JavaScript Pocket Reference: Activate Your Web Pages (Pocket Reference (o'reilly) Ser.)
by David FlanaganJavaScript is the ubiquitous programming language of the Web, and for more than 15 years, JavaScript: The Definitive Guide has been the bible of JavaScript programmers around the world. Ideal for JavaScript developers at any level, this book is an all-new excerpt of The Definitive Guide, collecting the essential parts of that hefty volume into this slim yet dense pocket reference.The first 9 chapters document the latest version (ECMAScript 5) of the core JavaScript language, covering:Types, values, and variablesOperators, expressions, and statementsObjects and arraysFunctions and classesThe next 5 chapters document the fundamental APIs for using JavaScript with HTML5 and explain how to:Interact with web browser windowsScript HTML documents and document elementsModify and apply CSS styles and classesRespond to user input eventsCommunicate with web serversStore data locally on the user's computerThis book is a perfect companion to jQuery Pocket Reference.
JavaScript Pocket Reference, 2nd Edition
by David FlanaganThe JavaScript Pocket Reference, 2nd Edition provides a complete overview of the core JavaScript language and client-side scripting environment, as well as quick-reference material on core and client-side objects, methods, and properties. The new edition has been revised to cover JavaScript 1.5, and is particularly useful for developers working with the latest standards-compliant web browsers, such as Internet Explorer 6, Netscape 7, and Mozilla.