- Object-Oriented JavaScript(Second Edition)
- Stoyan Stefanov Kumar Chetan Sharma
- 345字
- 2021-08-13 16:19:25
Chapter 1. Object-oriented JavaScript
Ever since the early days of the Web, there has been a need for more dynamic and responsive interfaces. While it's OK to read static HTML pages of text and even better when they are beautifully presented with the help of CSS, it's much more fun to engage with applications in our browsers, such as e-mail, calendars, banking, shopping, drawing, playing games, and text editing. All that is possible thanks to JavaScript, the programming language of the Web. JavaScript started with simple one-liners embedded in HTML, but is now used in much more sophisticated ways. Developers leverage the object-oriented nature of the language to build scalable code architectures made up of reusable pieces.
If you look at the past and present buzzwords in web development—DHTML, Ajax, Web 2.0, HTML5—they all essentially mean HTML, CSS, and JavaScript. HTML for content, CSS for presentation, and JavaScript for behavior. In other words, JavaScript is the glue that makes everything work together so that we can build rich web applications.
But that's not all, JavaScript can be used for more than just the Web.
JavaScript programs run inside a host environment. The web browser is the most common environment, but it's not the only one. Using JavaScript, you can create all kinds of widgets, application extensions, and other pieces of software, as you'll see in a bit. Taking the time to learn JavaScript is a smart investment; you learn one language and can then write all kinds of different applications running on multiple platforms, including mobile and server-side applications. These days, it's safe to say that JavaScript is everywhere.
This book starts from zero, and does not assume any prior programming knowledge other than some basic understanding of HTML. Although there is one chapter dedicated to the web browser environment, the rest of the book is about JavaScript in general, so it's applicable to all environments.
Let's start with the following:
- A brief introduction to the story behind JavaScript
- The basic concepts you'll encounter in discussions on object-oriented programming
- Functional Python Programming
- iOS面試一戰到底
- C# 7 and .NET Core Cookbook
- 國際大學生程序設計競賽中山大學內部選拔真題解(二)
- PostgreSQL for Data Architects
- Clojure for Domain:specific Languages
- TestNG Beginner's Guide
- 面向STEM的Scratch創新課程
- Getting Started with SQL Server 2012 Cube Development
- KnockoutJS Starter
- ASP.NET開發與應用教程
- 深度探索Go語言:對象模型與runtime的原理特性及應用
- Python數據可視化之美:專業圖表繪制指南(全彩)
- Mastering Elixir
- C# 10核心技術指南