Javascript: Object Oriented Programming

0
(0)

Javascript: Object Oriented Programming
 

  • Author:Gaston C. HillarKumar Chetan SharmaStoyan StefanovVed Antani
  • Length: 647 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2016-08-31
  • ISBN-10: B01LD8K5AM
  • Sales Rank: #2677883 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Build sophisticated web applications by mastering the art of Object-Oriented Javascript

    About This Book

    • Learn popular Object-Oriented programming (OOP) principles and design patterns to build robust apps
    • Implement Object-Oriented concepts in a wide range of frontend architectures
    • Capture objects from real-world elements and create object-oriented code that represents them
    • Learn the latest ES6 features and how to test and debug issues with JavaScript code using various modern mechanisms

    Who This Book Is For

    JavaScript developers looking to enhance their web developments skills by learning object-oriented programming.

    What You Will Learn

    • Get acquainted with the basics of JavaScript language constructs along with object-oriented programming and its application.
    • Learn to build scalable server application in JavaScript using Node.js
    • Generate instances in three programming languages: Python, JavaScript, and C#
    • Work with a combination of access modifiers, prefixes, properties, fields, attributes, and local variables to encapsulate and hide data
    • Master DOM manipulation, cross-browser strategies, and ES6
    • Identify and apply the most common design patterns such as Singleton, Factory, Observer, Model-View-Controller, and Mediator Patterns
    • Design applications using a modular architecture based on SOLID principles

    In Detail

    JavaScript is the behavior, the third pillar in today’s paradigm that looks at web pages as something that consists of : content (HTML), presentation (CSS), and behavior (JavaScript). Using JavaScript, you can create interactive web pages along with desktop widgets, browser, and application extensions, and other pieces of software. Object-oriented programming, which is popularly known as OOP, is basically based on the concept of objects rather than actions.

    The first module will help you master JavaScript and build futuristic web applications. You will start by getting acquainted with the language constructs and how to organize code easily. You develop concrete understanding of variable scoping, loops, and best practices on using types and data structures, as well as the coding style and recommended code organization patterns in JavaScript. The book will also teach you how to use arrays and objects as data structures. By the end of the book, you will understand how reactive JavaScript is going to be the new paradigm.

    The second module is an easy-to-follow course, which includes hands-on examples of solutions to common problems with object-oriented code. It will help to identify objects from real-life scenarios, to protect and hide data with the data encapsulation features of Python, JavaScript, and C#. You will discover the advantage of duck typing in both Python and JavaScript, while you work with interfaces and generics in C#. With a fair understanding of interfaces, multiple inheritance, and composition, you will move on to refactor existing code and to organize your source for easy maintenance and extension.

    The third module takes you through all the in-depth and exciting futures hidden behind the facade. You should read through this course if you want to be able to take your JavaScript skills to a new level of sophistication.

    Style and approach

    This course is a comprehensive guide where each chapter consists of best practices, constructive advice, and few easy-to-follow examples that will build up your skills as you advance through the book. Get object oriented with this course, which takes you on a journey to get acquainted with few useful hands-on tools, features, and ways to enhance your productivity using OOP techniques. It will also act as a reference guide with useful examples on resolving problems with object-oriented code in Python, JavaScript, and C#.

    Table of Contents

    Chapter 1: Javascript Primer
    Chapter 2: Functions, Closures, And Modules
    Chapter 3: Data Structures And Manipulation
    Chapter 4: Object-Oriented Javascript
    Chapter 5: Javascript Patterns
    Chapter 6: Testing And Debugging
    Chapter 7: Ecmascript 6
    Chapter 8: Dom Manipulation And Events
    Chapter 9: Server-Side Javascript
    Chapter 10: Objects Everywhere
    Chapter 11: Classes And Instances
    Chapter 12: Encapsulation Of Data
    Chapter 13: Inheritance And Specialization
    Chapter 14: Interfaces, Multiple Inheritance, And Composition
    Chapter 15: Duck Typing And Generics
    Chapter 16: Organization Of Object-Oriented Code
    Chapter 17: Taking Full Advantage Of Object-Oriented Programming
    Chapter 18: Object-Oriented Javascript
    Chapter 19: Primitive Data Types, Arrays, Loops, And Conditions
    Chapter 20: Functions
    Chapter 21: Objects
    Chapter 22: Prototype
    Chapter 23: Inheritance
    Chapter 24: The Browser Environment
    Chapter 25: Coding And Design Patterns
    Chapter 26: Reserved Words
    Chapter 27: Built-In Functions
    Chapter 28: Built-In Objects
    Chapter 29: Regular Expressions

    中文:

    书名:面向对象编程

    通过掌握面向对象的Java脚本艺术来构建复杂的Web应用程序

    关于本书

    • 学习流行的面向对象编程(OOP)原则和设计模式,以构建健壮的应用程序
    • Implement Object-Oriented concepts in a wide range of frontend architectures
    • 从真实世界的元素中捕获对象并创建表示它们的面向对象代码
    • 了解最新的ES6功能以及如何使用各种现代机制测试和调试JavaScript代码问题

    Who This Book Is For

    希望通过学习面向对象编程来提高Web开发技能的JavaScript开发人员。

    What You Will Learn

    • 熟悉Java语言结构的基础知识,以及面向对象编程及其应用。
    • Learn to build scalable server application in JavaScript using Node.js
    • 使用三种编程语言生成实例:Python、JavaScript和C#
    • 组合使用访问修饰符、前缀、属性、字段、属性和局部变量来封装和隐藏数据
    • 掌握DOM操作、跨浏览器策略和ES6
    • 识别并应用最常见的设计模式,如单例、工厂、观察者、模型-视图-控制器和中介模式
    • Design applications using a modular architecture based on SOLID principles

    详细地说

    JavaScript是行为,是当今的范例中的第三个支柱,它将网页视为由以下三部分组成的东西:内容(HTML)、表示(CSS)和行为(JavaScript)。使用JavaScript,您可以创建交互式网页以及桌面小部件、浏览器、应用程序扩展和其他软件。通常被称为OOP的面向对象编程基本上是基于对象而不是动作的概念。

    第一个模块将帮助您掌握JavaScript并构建未来的Web应用程序。您将从熟悉语言结构以及如何轻松组织代码开始。您将具体了解变量作用域、循环和使用类型和数据结构的最佳实践,以及在JavaScript中的编码风格和推荐的代码组织模式。这本书还将教你如何使用数组和对象作为数据结构。在本书的最后,您将了解反应式JavaScript将如何成为新的范例。

    第二个模块是一门简单易学的课程,其中包括使用面向对象的代码解决常见问题的实践示例。它将有助于从现实生活场景中识别对象,使用Python、JavaScript和C#的数据封装功能来保护和隐藏数据。当您使用C#中的接口和泛型时,您将会发现在Python和JavaScript中使用鸭子类型的优势。对接口、多重继承和组合有了充分的了解后,您将继续重构现有代码并组织源代码,以便于维护和扩展。

    第三个模块将带您了解隐藏在门面后面的所有深入和令人兴奋的未来。如果您想要将您的JavaScript技能提升到一个新的水平,那么您应该通读本课程。

    风格和方法

    本课程是一个全面的指南,其中每一章都包含最佳实践、建设性的建议和几个简单易懂的例子,这些例子将在您阅读本书的过程中增强您的技能。本课程面向对象,它将带您踏上一段旅程,熟悉一些有用的动手工具、功能和使用OOP技术提高工作效率的方法。它还将作为参考指南,其中包含一些有用的示例,说明如何解决使用Python、JavaScript和C#编写的面向对象代码的问题。

    目录表

    第1章:JavaScript入门
    Chapter 2: Functions, Closures, And Modules
    第3章:数据结构和操作
    Chapter 4: Object-Oriented Javascript
    Chapter 5: Javascript Patterns
    Chapter 6: Testing And Debugging
    第7章:ECMAScript 6
    第8章:DOM操作和事件
    Chapter 9: Server-Side Javascript
    Chapter 10: Objects Everywhere
    Chapter 11: Classes And Instances
    Chapter 12: Encapsulation Of Data
    第十三章:继承和专业化
    第14章:接口、多重继承和组合
    Chapter 15: Duck Typing And Generics
    第16章:面向对象代码的组织
    第17章:充分利用面向对象编程
    第18章:面向对象的Java脚本
    第19章:原始数据类型、数组、循环和条件
    Chapter 20: Functions
    Chapter 21: Objects
    Chapter 22: Prototype
    第二十三章:继承
    Chapter 24: The Browser Environment
    第25章:编码和设计模式
    第26章:保留字
    Chapter 27: Built-In Functions
    第28章:内置对象
    Chapter 29: Regular Expressions

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册