© 2019

Practical Application Development with AppRun

Building Reliable, High-Performance Web Apps Using Elm-Inspired Architecture, Event Pub-Sub, and Components


  • First book on AppRun, a lightweight library (3K) for developing applications using Elm architecture, event publication and subscription, and components

  • Teaches app development concepts and ideas that are applicable specifically to AppRun and also to other frameworks and libraries

  • End-to-end solution for using AppRun to develop a web application from scratch


Table of contents

  1. Front Matter
    Pages i-xviii
  2. Yiyi Sun
    Pages 1-22
  3. Yiyi Sun
    Pages 23-43
  4. Yiyi Sun
    Pages 45-67
  5. Yiyi Sun
    Pages 69-92
  6. Yiyi Sun
    Pages 93-118
  7. Yiyi Sun
    Pages 119-140
  8. Yiyi Sun
    Pages 141-162
  9. Yiyi Sun
    Pages 163-190
  10. Yiyi Sun
    Pages 191-217
  11. Yiyi Sun
    Pages 219-246
  12. Yiyi Sun
    Pages 247-264
  13. Yiyi Sun
    Pages 265-285
  14. Back Matter
    Pages 287-293

About this book


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.


web applications single page applications progressive web apps javascript typescript front-end elm architecture model-view-update event pub sub event emitter

Authors and affiliations

  1. 1.ThornhillCanada

About the authors

Yiyi Sun has an academic background in computer cartography and geographical information systems. He has over twenty years of software development experience and over ten years’ experience as a software architect. Currently, he works as Director of Technology in a real estate company based in Toronto, Canada. Coding and fishing are his hobbies.

Bibliographic information

  • Book Title Practical Application Development with AppRun
  • Book Subtitle Building Reliable, High-Performance Web Apps Using Elm-Inspired Architecture, Event Pub-Sub, and Components
  • Authors Yiyi Sun
  • DOI
  • Copyright Information Yiyi Sun 2019
  • Publisher Name Apress, Berkeley, CA
  • eBook Packages Professional and Applied Computing Professional and Applied Computing (R0)
  • Softcover ISBN 978-1-4842-4068-7
  • eBook ISBN 978-1-4842-4069-4
  • Edition Number 1
  • Number of Pages XVIII, 293
  • Number of Illustrations 102 b/w illustrations, 0 illustrations in colour
  • Topics Web Development
  • Buy this book on publisher's site
Industry Sectors
IT & Software
Finance, Business & Banking