Автор: Sufyan bin Uzayr
Издательство: CRC Press
Год: 2024
Страниц: 563
Язык: английский
Формат: pdf (true)
Размер: 10.1 MB
Conquering jаvascript: The Practical Handbook helps the reader master the jаvascript (JS) programming language for faster and more robust development. JS is a highly popular language and is often termed as the ‘language of the web.’ In addition to the internet, JS is also being used actively in game development, mobile apps, progressive applications, and now even desktop apps. As such, it is safe to say that JS is probably the most cross-platform language currently in use, and it rises in popularity with each passing day. This book covers the basics and moves on to advanced concepts using a hands-on approach with practical lessons and tutorials. JS programming, JS frameworks and various use-case scenarios are discussed in detail. Bridging the gap between beginner and intermediate-level JS literature, this book is a valuable resource to build robust knowledge.
AngularJS, jQuery, and ReactJS are just a few of the frameworks and tools available for jаvascript today. Initially executed on the client side, the jаvascript implementation has expanded to the server side after the introduction of Node.js, a cross-platform server environment based on the Google Chrome jаvascript V8 engine. While it primarily caters to web-based applications, jаvascript programming capabilities have numerous uses in many fields.
The creation of jаvascript frameworks, comprising jаvascript code libraries, enables developers to leverage pre-written jаvascript code in their applications. It saves them effort and time from having to write programming features from start. Each jаvascript framework contains features that try to ease the creation and testing procedure. For instance, frontend jаvascript frameworks like jQuery and ReactJS boost design efficiency.
The execution of jаvascript code in Node.js also plays a significant part in web development. Node.js may minimize server response time owing to its single-threaded nature and non-blocking design and remove latency. Node.js is also light enough just to act as a scalable tool for microservices, enabling us to construct a single program combining small services with independent processes. jаvascript allows developers to construct web servers and backend infrastructure using Node.js, saving time and effort in web server development.
When used with HTML5 and an Application Programming Interface (API) such as WebGL, jаvascript may assist us in creating a game. There are several jаvascript-based game engines available, including Phaser, GDevelop, and Kiwi. jаvascript is accessible for visual rendering, code recycling, and cross-platform applications.
In the previous chapter, we covered JS for mobile usage, and in this chapter, we will discuss the usage of JS for Desktop Apps. The design of desktop programs has improved in recent years, with more and more apps taking on the appearance and feel of today’s cutting-edge websites. Electron is the technology that has allowed desktop programs to go to this next level. It’s a breeze to use, loads quickly, and streamlines production. Electron is a runtime that provides a wide range of native (operating system) APIs, allowing us to write desktop apps in pure jаvascript.
Скачать Conquering jаvascript: The Practical Handbook