Explore the concepts, patterns, and architecture behind AppRun applications. With this end-to-end guide, you will be able to build web apps fast to the market with the low learning curve and high development productivity.
You will learn how to break down the application logic into three decoupled parts: state, view, and update. You will then see how to connect web page events to the AppRun event life-cycle, route user interactions, access data from the remote servers, compose the user interface using components, and integrate 3rd party libraries.
Following examples of various apps, such as the counter app, to-do app, weather app, hacker news reader app, and blog app, you will have all the techniques for developing your AppRun apps including the line of business apps. You will also review wider development concepts such as using strongly typed states practically, unit testing strategies for app state changes, time travel debugging, async web API invocation, server-side virtual DOM, module compilation optimization, the developer tools, and more.
What You'll Learn
• Use AppRun to develop web apps end-to-end
• Understand the technology behind AppRun
• Evaluate and compare architecture design
• Develop applications using Elm architecture, event publication and subscription, and components.
Who This Book Is For
Web app developers and architects; useful for beginners learning front-end development and more experienced developers interested in learning about AppRun and modern development concepts and principles more generally
Author(s): Yiyi Sun
Edition: 1
Publisher: Apress
Year: 2019
Language: English
Commentary: True PDF
Pages: 293
City: New York, NY
Tags: Web Applications; Asynchronous Programming; Unit Testing; AppRun; Elm
Front Matter ....Pages i-xviii
Getting Started (Yiyi Sun)....Pages 1-22
AppRun Development Environment (Yiyi Sun)....Pages 23-43
Model the State (Yiyi Sun)....Pages 45-67
View Patterns (Yiyi Sun)....Pages 69-92
Event Patterns (Yiyi Sun)....Pages 93-118
Asynchronous Events (Yiyi Sun)....Pages 119-140
Single-Page Applications (Yiyi Sun)....Pages 141-162
Third-Party Library Integration (Yiyi Sun)....Pages 163-190
Server-Side Rendering (Yiyi Sun)....Pages 191-217
A Real-World SPA (Yiyi Sun)....Pages 219-246
Unit Testing (Yiyi Sun)....Pages 247-264
AppRun DevTools (Yiyi Sun)....Pages 265-285
Back Matter ....Pages 287-293