Gør som tusindvis af andre bogelskere
Tilmeld dig nyhedsbrevet og få gode tilbud og inspiration til din næste læsning.
Ved tilmelding accepterer du vores persondatapolitik.Du kan altid afmelde dig igen.
This book explains inheritance, both classical and prototypal, and shows how it can be implemented in JavaScript. It also shows how object programming (OP) opens a new world of design possibilities that go far past inheritance. Classical OOP is only a subset of full OP. 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 elminate much of the need for inheritance. For experienced JavaScript programmers, this book shows why most of the old views of JavaScript's inheritance are wrong. 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.
Frontend Engineering, Volume II: Pro CSS, explains the styling language that designers use to add artistry to their websites and mobile apps. It explains the basics (CSS 1) and the current state of the art (CSS 2.1). And it teaches you the latest techniques of CSS 3, such as adding motion to your HTML elements. This book is the print portion of a combined print/website "knowit" that will have you styling your own web pages with the online Examples. You will create your styled pages, beginning with simple styles and a basic stylesheet in Chapter 1 and ending with the most sophisticated, animated styling in Chapter 10. Prerequisite: solid knowledge of HTML up to HTML5, such as you would get from this series' Volume I: Pro HTML. Prepares you to go on to JavaScript.
Frontend Engineering, Volume I: Pro HTML, explains the HyperText Markup Language that is behind most content on the modern World-Wide Web, including websites and the modern apps that are proliferating as fast as smart phones. It explains the professional's approach to creating HTML pages, which takes a bit more savvy (but no more work) than writing amateur HTML. This book is one half of the combined print/website "knowit" that will teach you what you need to know to create your own website, like the online sample. When you complete it you will be able to create your own web content and, if you choose, go on to CSS, the second language for aspiring frontend engineers.
This 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 "e;capabilities"e; 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 prototypical 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 LearnWhat are objects, JavaScript objects and object programmingWhat is and how to use inheritance and JavaScript inheritance as well as inheritance alternativesHow to design for JavaScriptWhat are and how to use OO principles in JavaScriptHow to use Constructors with JavaScript and moreAudienceThis book is for both intermediate and advanced JavaScript and Web development programmers. However, any programmer will understand the concepts and any JavaScript programmer should understand all of the concepts in this book. The code there is shows examples of the concepts discussed.
Tilmeld dig nyhedsbrevet og få gode tilbud og inspiration til din næste læsning.
Ved tilmelding accepterer du vores persondatapolitik.