当前位置: 首页 > 软件库 > Web应用开发 > Web框架 >

full-reactive-stack

授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发、 Web框架
软件类型 开源软件
地区 不详
投 递 者 刘英彦
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Full Reactive Stack

This repository contains backend and frontend projects that make use of Reactive Web patterns,as explained in the mini book Full Reactive Stack with Spring Boot 2, WebFlux, MongoDB and Angular and also in the Full Reactive Stack series of posts.

Get the mini-book

You can get a copy of the guide on LeanPub: Full Reactive Stack with Spring Boot 2, WebFlux, MongoDB and Angular.

Components

Spring Boot Reactive Web

A Spring Boot 2.3 application that retrieves data using Spring Reactive Web (WebFlux), instead of using the standard Web MVC framework. It connects to a MongoDB database in a reactive way too.

Check this blog post for a short version of the guide's full chapter.

Angular Reactive

A simple Angular application consumes the controller on the backend side using a reactive approach, Server-Sent Events and RxJS, so data is loaded on screen as soon as it's available.

This blog post contains a summary of the frontend's implementation.

Docker

The docker folder contains a docker-compose file that runs the Mongo database, the backend application and the Angular application. It also contains a simplified version, docker-compose-mongo-only.yml, which runs only the MongoDB instance. This is useful in case you want to run the applications without docker (e.g. from your IDE).

Running the applications with Docker

Make sure to build the applications first, from the docker folder:

docker-compose build

Then, you can run the set of containers with:

docker-compose up

After the services are executed, you can navigate to localhost:4200 to see the applications running. If you're running Docker in a different machine (like when using a VM in Windows), replace localhost for the Docker machine IP.

  • 全栈:一揽子解决方案,包括开发框架、运行环境,相当于有了它,你无需再下载别的软件,它全包括做一个网站所需的所有环境,除了开发工具之外。 常见的框架有ruby on rails,groovy on grails ,struts spring hibernate等

  • full-stack 的设计,意味着各层能够无缝的集成在一起,遵循的DRY原则(don't repeat yourself),将各层共用的东西,抽取出来,并通过自顶向下的设计,无缝的集成在一起,粘合在一起,达到更高层次、更粗粒度的重用,同时为了保证灵活的可扩展性,在更高、更粗的粒度上遵守开放-封闭的原则,在各层的各个关键点,要提供诸多的钩子,回调的接口,供使用者扩展。full-stack的设计,在

  • 今天写了一个webapp 基本功能实现后运行了一下,一切正常,没有发现问题 于是自己就暂时先把代码放在那里没有动 转身去查找一些资料 等我再次编辑的时候,写完代码,保存,这时候hbuilder给我抛出一个错误   Maximum call stack size exceeded 有的说是 存在递归调用 导致的 如 http://www.cnblogs.com/jiechn/p/4434095.ht

  • 3.5 stack 容器 3.5.1 stack 基本概念 **概念:**stack 是一种先进后出(First In Last Out,FILO)的数据结构,他只有一个出口 栈中只有顶端的元素可以被外界使用,因此栈不允许有遍历行为 栈中进入数据称为 — 入栈(push) 栈中弹出数据称为 — 出栈(pop) 3.5.2 stack 常用接口 功能描述: 栈容器常用的对外接口 构造函数: stac

  • Java中的Stack结构表示对象的后进先出(LIFO)堆栈。 它通过五个操作扩展了Vector类,例如 推 流行音乐 堆栈顶部的窥视项 检查堆栈为空并且 在堆栈中搜索项目 当Stack类如下 public class Stack extends Vector { } 创建堆栈时,它不包含任何项目。 即将到来的堆栈容量和大小 Size -当前堆栈包含的元素数 Capacity -它能够容纳的元素数

  • 数据库+Java package com.csu.marden; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.uti

 相关资料
  • 原文档 组件源码 中英文对照表 publisher(n.):发布者 subscriber(n.):订阅者 read stream(n.):可读流 write stream(n.):可写流 subscribe(v.):注册 back pressure:背压机制 为了支持在 JVM 上进行非阻塞的带背压机制的异步流处理, Reactive Streams 做了一些初创性的工作来提供这样一份标准。 这个

  • Full Stack Flask and PostgreSQL - Base Project Generator Generate a backend and frontend stack using Python, including interactive API documentation. Notice: Flask or FastAPI If you are using this pro

  • Vert.x 提供了数个组件,可以使你的应用更具有响应性(reactive)。

  • Reactive 是简单灵活的模板和绑定视图的引擎,支持自定义绑定,支持在模块修改的时候实时更新。 快速开始: var view = reactive('<p>Hello {name}!</p>', {  name: 'Adam'});// you can add the view "element" to the html whenever you want// view.el contains

  • 我在Github中发现了许多关于反应流的回购协议,似乎也有类似的。 但是,许多回购几个月都没有更新。 我想知道他们之间的关系,我可以专注于最新的回购协议。 无功ipc:https://github.com/reactive-ipc/reactive-ipc-jvm 反应流网络:https://github.com/reactive-streams/reactive-streams-net-jvm

  • Full-Stack-Notes 一个处于萌芽阶段的知识库,用于持续分享自己的所见、所学、所思! 点击切换详细目录 ☕ JAVA Java 反射与注解 Java 并发编程 Java NIO 核心组件详解 Java 函数式编程 Java 设计模式 Java 虚拟机 JVM 性能监控之命令行工具 JVM 性能监控之可视化工具 Tomcat 架构解析 Java 集合类源码解析 �� 网络基础 计算机网络