1.

Record Nr.

UNINA9910819973203321

Autore

Shute Zachary

Titolo

Advanced JavaScript : speed up web development with the powerful features and benefits of JavaScript / / Zachary Shute

Pubbl/distr/stampa

[Place of publication not identified] : , : Packt, , [2019]

Edizione

[1st edition]

Descrizione fisica

1 online resource (330 pages)

Disciplina

005.2762

Soggetti

JavaScript (Computer program language)

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Sommario/riassunto

Gain a deeper understanding of JavaScript and apply it to build small applications in backend, frontend, and mobile frameworks. Key Features Explore the new ES6 syntax, the event loop, and asynchronous programming Learn the test-driven development approach when building apps Master advanced JavaScript concepts to enhance your web developments skill Book Description If you are looking for a programming language to develop flexible and efficient applications, JavaScript is an obvious choice. Advanced JavaScript is a hands-on guide that takes you through JavaScript and its many features, one step at a time. You'll begin by learning how to use the new JavaScript syntax in ES6, and then work through the many other features that modern JavaScript has to offer. As you progress through the chapters, you'll use asynchronous programming with callbacks and promises, handle browser events, and perform Document Object Model (DOM) manipulation. You'll also explore various methods of testing JavaScript projects. In the concluding chapters, you'll discover functional programming and learn to use it to build your apps. With this book as your guide, you'll also be able to develop APIs using Node.js and Express, create front-ends using React/Redux, and build mobile apps using React/Expo. By the end of Advanced JavaScript, you will have explored the features and benefits of JavaScript to build small applications. What you will learn Examine major features in ES6 and implement those features to build applications Create promise and



callback handlers to work with asynchronous processes Develop asynchronous flows using Promise chaining and async/await syntax Manipulate the DOM with JavaScript Handle JavaScript browser events Explore Test Driven Development and build code tests with JavaScript code testing frameworks. List the benefits and drawbacks of functional programming compared to other styles Construct applications with the Node.js backend framework and the React frontend framework Who this book is for This book is designed to target anyone who wants to write JavaScript in a professional environment. We expect the audience to have used JavaScript in some capacity and be familiar with the basic syntax. This book would be good for a tech enthusiast wondering when to use generators or how to use Promises and Callbacks effectively, or a novice developer who wants to deepen their knowledge on JavaScript and understand TDD.

2.

Record Nr.

UNINA9910300639703321

Autore

Purdum Jack

Titolo

Beginning C for Arduino, Second Edition : Learn C Programming for the Arduino / / by Jack Purdum

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2015

ISBN

9781484209400

1484209400

Edizione

[2nd ed. 2015.]

Descrizione fisica

1 online resource (381 p.)

Collana

Technology in action Beginning C for Arduino

Disciplina

004

Soggetti

Computer input-output equipment

Computer hardware

Programming languages (Electronic computers)

Hardware and Maker

Computer Hardware

Programming Languages, Compilers, Interpreters

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Contents at a Glance; Contents; About the Author; About the Technical



Reviewer; Acknowledgments; Introduction; Assumptions About You; Resources; Chapter 1: Introduction; Why Choose This Book?; Assumptions About You; What You Need; An Atmel-Based Microcontroller Card; Types of Memory; Flash Memory; SRAM; EEPROM; Making the Choice; Board Size; Input/Output (I/O) Pins; Breadboard; Miscellaneous Parts; Installing and Verifying the Software; Verifying the Hardware; Attaching the USB Cable; Selecting Your μc Board in the Integrated Development Environment; Port Selection

Loading and Running Your First ProgramWriting Your First Program; What the Program Does; Compiling and Uploading a Program; Summary; Chapter 2: Arduino C; The Building Blocks of All Programming Languages; Expressions; Statements; Operator Precedence; Statement Blocks; Function Blocks; The Five Program Steps; 1. Initialization Step; 2. Input Step; 3. Process Step; 4. Output Step; 5. Termination Step; The Purpose of the Five Program Steps; A Revisit to Your First Program; The setup() Function; The loop() Function; Arduino Program Requirements; The Blink Program; Program Comments

Single-Line CommentsMulti-line Comments; When to Use Comments; The setup() Function in Blink; How to Find Information About Library Functions; The loop() Function; delay(): Good News, Bad News; Summary; Chapter 3: Arduino C Data Types; Keywords in C; Variable Names in C; The boolean Data Type; Walking Through the Function Call to ReadSwitchState (); Binary Numbers; The char Data Type and Character Sets; Generating a Table of ASCII Characters; The byte Data Type; The int Data Type; The word Data Type; The long Data Type; The float and double Data Types; Floating Point Precision

The string Data TypeString Data Type; Which Is Better: String or strings Built from char Arrays?; The void Data Type; The array Data Type; Array Generalizations; Defining vs. Declaring Variables; Language Errors; Symbol Tables; lvalues and rvalues; Understanding an Assignment Statement; The Bucket Analogy; Using the cast Operator; The Cast Rule; Silent Casts; Summary; Chapter 4: Decision Making in C; Relational Operators; The if Statement; What if Expression1 Is Logic True?; What if Expression1 Is Logic False?; Braces or No Braces?; A Modified Blink Program; The Circuit

Summary

Sommario/riassunto

Beginning C for Arduino, Second Edition is written for those who have no prior experience with microcontrollers or programming but would like to experiment and learn both. Updated with new projects and new boards, this book introduces you to the C programming language, reinforcing each programming structure with a simple demonstration of how you can use C to control the Arduino family of microcontrollers. Author Jack Purdum uses an engaging style to teach good programming techniques using examples that have been honed during his 25 years of university teaching. Beginning C for Arduino, Second Edition will teach you: The C programming language How to use C to control a microcontroller and related hardware How to extend C by creating your own libraries, including an introduction to object-oriented programming During the course of the book, you will learn the basics of programming, such as working with data types, making decisions, and writing control loops. You'll then progress onto some of the trickier aspects of C programming, such as using pointers effectively, working with the C preprocessor, and tackling file I/O. Each chapter ends with a series of exercises and review questions to test your knowledge and reinforce what you have learned.



3.

Record Nr.

UNINA9910380730203321

Autore

Fernando Anjana

Titolo

Beginning Ballerina Programming : From Novice to Professional / / by Anjana Fernando, Lakmal Warusawithana

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2020

ISBN

9781484251393

1484251393

Edizione

[1st ed. 2020.]

Descrizione fisica

1 online resource (XVII, 335 p. 75 illus.)

Disciplina

001.642

Soggetti

Programming languages (Electronic computers)

Java (Computer program language)

Computer programming

Programming Languages, Compilers, Interpreters

Java

Web Development

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Chapter 1: Getting Started -- Chapter 2: Programming Basics -- Chapter 3: Lists, Mappings and Objects -- Chapter 4: Code Organization -- Chapter 5: Error Handling -- Chapter 6: Concurrency -- Chapter 7: Files and I/O -- Chapter 8: Programming the Network -- Chapter 9: Information Security -- Chapter 10: Database Programming -- Appendix A: Numbers and Representation.

Sommario/riassunto

Discover the Ballerina programming language for next-generation microservices and cloud-native application development. This book shows you that Ballerina is a cutting-edge programming language which incorporates many of the latest technological advancements in programming language theory. You'll learn variables and types, modules and functions, flow control, error handling, concurrency, I/O, cloud/network programming, persistence and data access, security and more. Additionally, Beginning Ballerina Programming introduces many foundation computer science topics along the way and doesn’t assume much prior knowledge. For example, when introducing transport-level security, you will get a brief introduction to public-key cryptography,



how it is different from private-key cryptography, and why we need it. This provides an added bonus for you to learn something new and general in computer science. After reading and using this book, you'll be proficient with Ballerina and cloud-first programming and be able to apply these concepts and techniques to your next cloud application developments You will: Start programming with Ballerina Gain the basics of network communication and programming Obtain a solid understanding of services/API development and resilient communication Effective use of concurrency in programming Learn the basics of information security and its applications Persistent data storage and access.