Cargando…

Practical application development with AppRun : building reliable, high-performance web apps using Elm-inspired architecture, event pub-sub, and components /

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 pa...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Sun, Yiyi (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: New York : Apress, [2019]
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Getting Started; Background; Introducing AppRun; AppRun Architecture; Event Pub-Sub; Component; A Counter App; Event Lifecycle; Watch the State; Virtual DOM; State History; Typed Architecture; State; View; Update; Summary; Chapter 2: AppRun Development Environment; The AppRun CLI; Project Boilerplate; Compiler; JSX; Class; async and await; Module Bundler; Development Server; Visual Studio Code; IntelliSense; Gradually Adding Types; Type Checking; Code Snippets
  • Integrated TerminalDebugging; Summary; Chapter 3: Model the State; State Concept; Initial State; State History; Immutable State; Immutable Array; Immutable Object; Persistent State; Local State; Cloud State; Source Code of Examples; Summary; Chapter 4: View Patterns; View Concept; The View Function; HTML vs. JSX; Custom JSX Tag; Virtual DOM; JSX Patterns; Custom JSX Tags; JSX Fragments; Create a List; Create a List Item; Filter a List; Apply a Class; Set the Element Property; Set Active Classes; Show and Hide Elements; Components; Component Class; Create Components in Code
  • Create Components in JSXTwo To-Do Lists; Web Components; Source Code of Examples; Summary; Chapter 5: Event Patterns; Event Concept; DOM Events; AppRun Events; Connect the Events; Global and Local Events; User Input; Click Events; Input Event; Keyboard Events; Mouse Events; Brower History Event; Web Workers; Source Code and Examples; Summary; Chapter 6: Asynchronous Events; Asynchronous Operations; Callbacks; Promise; async/await; AppRun async Event Handlers; Server Requests; XMLHttpRequest; The Fetch API; Pulling Data; Weather Application; The Data API; Data Access Architecture; Pushing Data
  • Hacker News ReaderThe Hacker News API; The Story List; The Story Detail; The Application; Source Code and Examples; Summary; Chapter 7: Single-Page Applications; SPA Architecture; HTML; Main Program; Components; Routing Events; Location Hash Change Event; Generic Routing Events; History API; SPA Modules; Static Import; Dynamic Import; Native Modules; Source Code and Examples; Summary; Chapter 8: Third-Party Library Integration; Example: An Admin Dashboard; Responsive UI; Dashboard Widgets; Third-Party Libraries; Extended Architecture; Layout and Styles; Sidebar Menu; Rows and Columns
  • Notifications and AlertsCards; Components and Widgets; Chart; D3 Map; Data Tables; Calendar; Source Code and Examples; Summary; Chapter 9: Server-Side Rendering; AppRun SSR; SPA Architecture; AppRun SSR Architecture; An SSR/SPA Example; The SSR for SPA; Server Application; View Engine; Site Layout; Routing; Components; Client-Side Script; The SPA for SSR; ASP.NET MVC; Virtual DOM Filter; The Controller; The Layout; Source Code and Examples; Summary; Chapter 10: A Real-World SPA; Single-Page Application; Page Header; Main Section; Components; Home Page; Sign In Page; Sign Up Page