https://github.com/yysun/apprun-apress-book
https://github.com/yysun/apprun-apress-book
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yysun/apprun-apress-book
- Owner: yysun
- License: mit
- Created: 2018-02-12T02:50:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-29T12:40:41.000Z (over 2 years ago)
- Last Synced: 2024-04-14T18:48:37.108Z (about 1 year ago)
- Language: CSS
- Size: 3.62 MB
- Stars: 7
- Watchers: 5
- Forks: 5
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# apprun-apress-book
## AppRun Book from Apress
[](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