Giter Site home page Giter Site logo

imfoggy / start-web-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devsapp/start-web-framework

0.0 0.0 0.0 164.01 MB

传统框架迁移方案,常见Web框架部署案例

Shell 0.01% JavaScript 17.66% Python 0.05% Perl 0.01% PHP 59.99% Java 0.01% ColdFusion 0.02% TypeScript 0.02% TypeScript 0.04% CSS 0.30% CSS 11.05% Hack 4.66% HTML 6.09% Smarty 0.04% PLpgSQL 0.01% Batchfile 0.01% Vue 0.03% Blade 0.01% Dockerfile 0.01% Pug 0.01%

start-web-framework's Introduction

Web Framework应用案例

图片alt

中文 | English

将一个传统框架部署到阿里云Serverless平台的方法有很多,可以选择Custom、Custom Container以及原生编程语言的运行时。这其中Custom和原生语言运行时方案,除了启动命令/入口函数不同之外,区别并不是很大,可以根据自己需求进行实现,Custom Container方案相对来说更简单,但是镜像的冷启动速度相对Custom和原生语言运行时比较慢。

目前本案例仓库收录以下常见框架的部署案例:

No. 🔥Nodejs Python PHP Go Java Others
1 🔥Express [custom] 🔥🔥Flask [python3] Think PHP [custom] BeeGo Tomcat/Jetty Gatsby
2 Egg [custom] Tornado [custom] laravel [custom] Gin [custom] SpringBoot [custom] Hugo [custom]
3 Nextjs [custom] Bottle [python3] Discuz [custom] Iris [custom] Quarkus
4 Nuxtjs [custom] Web.py [python3] 🔥🔥🔥 WordPress [custom]
5 🔥🔥🔥 Hapi [custom] Django [python3] 🔥🔥🔥 Zblog [custom]
6 Koa [custom] FastAPI [custom] Ecshop [custom]
7 Nest [nodejs12] Web2py Metinfo [custom]
8 🔥 Midway-koa [custom] Pyramid [python3] Whatsns [custom]
9 Think.js [nodejs12] Typecho [custom]
9 Vue.js [custom]

除了上面的案例之外,还提供了两个简单的实践应用:

SSR 框架:

Nginx 框架:

  • nginx: s init start-nginx

为了对比Custom运行时和编程语言原生运行时的框架迁移区别,可以参考以下案例进行自行对比:

框架名 Custom运行时 Node.js 12运行时
Egg.js egg egg-app
Express.js express express-app
Koa.js koa koa-app
Hapi.js hapi hapi-app

start-web-framework's People

Contributors

anycodes avatar heimanba avatar liufangchen avatar lowkeyrd avatar rsonghuster avatar wss-git avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.