美文网首页我爱编程
JHipster一知半解- 1.1 技术栈官方文档翻译

JHipster一知半解- 1.1 技术栈官方文档翻译

作者: 沉寂之舟 | 来源:发表于2018-06-13 15:30 被阅读199次

回文集目录:JHipster一知半解

Technology stack

技术栈

Technology stack on the client side

客户端技术栈

Single Web page application:

单页网页应用:

Angular 4 or AngularJS v1.x

  • AngualrJS 1.x 版本或者 Angular4以上版本

Responsive Web Design with Twitter Bootstrap

  • 使用Twitter Bootstrap响应式网页设计

HTML5 Boilerplate

  • HTML5样式

Compatible with IE11 and modern browsers

  • 兼容IE11和其他现代浏览器(IE要单独列)

Full internationalization support

  • 全面支持国际化

Optional Sass support for CSS design

  • 可选用Sass作为CSS样式设计

Optional WebSocket support with Spring Websocket

  • 可选用Spring Websocket作为websocket支持

With the great development workflow:

大型开发工作流:

Easy installation of new JavaScript libraries with Yarn or Bower

  • 配合Yarn和Bower,可以很容易安装新的JS类库

Build, optimization and live reload with Webpack or Gulp.js

  • 使用Webpack或Gulp.js构建,优化,并能够实时热加载。

Testing with Karma, Headless Chrome and Protractor

  • 使用karmar,Chrome无界面形态和Protrator进行测试

And what if a single Web page application isn’t enough for your needs?

如果单页网页应用不能满足你的需求?

Support for the Thymeleaf template engine, to generate Web pages on the server side

  • 可以使用spring提供的Thymeleaf模板引擎,在服务器生成动态页面(例如激活邮件)

Technology stack on the server side

服务端技术栈

A complete Spring application:

完整的spring应用架构

Spring Boot for easy application configuration

  • spring Boot,简化应用配置

Maven or Gradle configuration for building, testing and running the application

  • Maven或Gradle,对应用的构建,测试,运行进行配置

“development” and “production” profiles (both for Maven and Gradle)

  • “开发”和“生产”的运行配置进行区分(对maven和Gradle同样有效)

Spring Security

  • Spring 安全框架

Spring MVC REST + Jackson

  • Spring MVC REST + Jackson(基于json的Restful服务)

Optional WebSocket support with Spring Websocket

  • 可以选用spring websokcet的websocket支持

Spring Data JPA + Bean Validation

  • spring Data JPA + Bean 验证(基于HIbernate)

Database updates with Liquibase

  • 使用Liquibase数据库升级

Elasticsearch support if you want to have search capabilities on top of your database

  • 如果想扩展你数据的查询能力,可以选用Elasticsearch

MongoDB and Couchbase support if you’d rather use a document-oriented NoSQL database instead of JPA
如果不使用JPA,而倾向于一个基于文档的NoSql数据库,可以选用MongoDB或者Couchbase
Cassandra support if you’d rather use a column-oriented NoSQL database instead of JPA

  • 如果不使用JPA,而倾向于基于列的NoSql数据库,可以选择 Cassandra

Kafka support if you want to use a publish-subscribe messaging system

  • 如果需要使用订阅-广播的消息系统,可以选用Kafka

Technology stack for microservices

微服务技术栈

Microservices are optional, and fully supported:
微服务是可选的,并且全面支持。

HTTP routing using Netflix Zuul or Traefik

  • 可以使用Netflix Zuul或者Traefik进行HTTP路由

Service discovery using Netflix Eureka or HashiCorp Consul

  • 可以使用Netflix Eureka或者HashiCorp Consul进行服务发现

Ready to go into production:

走向生产环境准备事项

Monitoring with Metrics and the ELK Stack

  • 支持Metrics和ELK的日志测量,日志监控。

Caching with ehcache (local cache), hazelcast or Infinispan

  • 支持ehcache (本地内存缓存), hazelcast 或者 Infinispan 作为应用缓存。

Optional HTTP session clustering with hazelcast

  • 可以额外选用hazelcast作为Http会话集群缓存(Redis也能做到)

Optimized static resources (gzip filter, HTTP cache headers)

  • 优化静态资源(gzip过滤,Http头部缓存)

Log management with Logback, configurable at runtime

  • 使用Logback管理日志,并且可以实时线上配置。

Connection pooling with HikariCP for optimum performance

  • 使用HikariCP作为数据库连接池,其性能优化颇高。

Builds a standard WAR file or an executable JAR file

  • 可以直接构建为War文件或者可执行的Jar文件

Full Docker and Docker Compose support

  • 支持Docker和Docker编排

Support for all major cloud providers: AWS, Cloud Foundry, Heroku, Kubernetes, OpenShift, Docker…

  • 支持所有主流的云服务:AWS,Cloud Foundry, Heroku, Kubernetes, OpenShift, Docker…

总结: 全都是主流的技术栈,用他们来搭的框架一定朝着高大上的方向去的

相关文章

网友评论

    本文标题:JHipster一知半解- 1.1 技术栈官方文档翻译

    本文链接:https://www.haomeiwen.com/subject/khijeftx.html