An open API service indexing awesome lists of open source software.

https://github.com/yysun/apprun-apress-book


https://github.com/yysun/apprun-apress-book

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

        

# apprun-apress-book

## AppRun Book from Apress

[![Order from Amazon](https://camo.githubusercontent.com/99fad1f024c274a3d752a1583cf125037583811c/68747470733a2f2f696d616765732e737072696e6765722e636f6d2f7367772f626f6f6b732f6d656469756d2f393738313438343234303638372e6a7067)](https://www.amazon.com/Practical-Application-Development-AppRun-High-Performance/dp/1484240685/)

* [Order from Amazon](https://www.amazon.com/Practical-Application-Development-AppRun-High-Performance/dp/1484240685/)

This project contains the source code of the book _Practical Application Development with AppRun_.
> [AppRun](https://github.com/yysun/apprun) was at 1.15 when book was published. Since then there are new features added to . Please refer the [CHANGELOG](https://github.com/yysun/apprun/blob/master/CHANGELOG.md) and [WHAT'S NEW](https://apprun.js.org/#new) of the project.

## Use the Examples

Clone the project:

* git clone https://github.com/yysun/apprun-apress-book.git

And then run:

* npm install

Now, you can run the examples as following.

## Chapter 1 - Getting Started

Double click the .html files to run the examples.

* chapter 1/1-3.html - the counter application
* chapter 1/1-4.html - the counter application with state history

## Chapter 2 - Development Environment

* npm run hello-world

## Chapter 3 - Model the State

* npm run jsx-counter
* npm run jsx-counter-history
* npm run counters
* npm run to-do
* npm run to-do-local
* npm run to-do-cloud

## Chapter 4 - View Patterns

* npm run to-do-mvc
* npm run to-do-mvc-2
* npm counter-web-component

## Chapter 5 - Event Patterns

* npm run clock
* npm run hello
* npm run hello-form
* npm run echo
* npm run typeahead
* npm run fab
* npm run echo-hash
* npm run worker

## Chapter 6 - Asynchronous Events

* npm run weather
* npm run hn

## Chapter 7 - Single-Page Applications

* npm run spa
* npm run spa-no-hash
* npm run spa-dynamic-import
* npm run spa-es-module

## Chapter 8 - Administrative Dashboard

* npm run admin
* https://github.com/apprunjs/apprun-bootstrap

## Chapter 9 - Server-Side Rendering

* npm run ssr
* https://github.com/yysun/apprun-ssr
* https://github.com/yysun/apprun-ssr-aspnet
* https://github.com/yysun/apprun-ssr-aspnet-core
* https://github.com/yysun/apprun-ssr-express
* https://github.com/yysun/apprun-ssr-laravel

* Live App: https://apprun-hn-ssr.firebaseapp.com
* Source code: https://github.com/yysun/apprun-hn-ssr
* Web page performance test link: https://www.webpagetest.org/result/180708_RZ_67089f5b9e99ec9ad8e8a42c66938a5d/

## Chapter 10 - Real-World SPA

* Live App: https://gothinkster.github.io/apprun-realworld-example-app
* Source code: https://github.com/gothinkster/apprun-realworld-example-app

## Chapter 11 - Unit Testing

* Source code: https://github.com/gothinkster/apprun-realworld-example-app/tree/master/tests

## Chapter 12 - AppRun DevTools

* Live App: https://gothinkster.github.io/apprun-realworld-example-app
* Source code: https://github.com/yysun/apprun/blob/master/src/apprun-dev-tools.tsx
* Source code: https://github.com/yysun/apprun/blob/master/src/apprun-dev-tools-tests.tsx