介绍我们先得知道什么是Jamstack,其实很多博友已经在使用这种方案了,如昱行、木木等,引用Jamstack的介绍如下:Jamstack is an architectural approach that decouples the web experience layer from data and business logic, improving flexibility, scalability, performance, and maintainability.Jamstack removes the need for business logic to dictate the web experience.It enables a composable architecture for the web where custom logic and 3rd party services are consumed through APIs.以我的认知来看其实就是我以前学编程开发时的MVC架构,也就View:展示数据、Control:业务逻辑、Model:数据模型,其实核心思路就是让各个部分只负责自己该做的,前端就单纯负责展示数据,后端则单纯只提供数据,实现一种解耦状态,提高灵活性、性能、拓展性等等。平时博客圈子里的hugo、jekyll、hexo等工具都是一种Jamstac
...
继续阅读
(81)