- Serverless Design Patterns and Best Practices
- Brian Zambrano
- 143字
- 2021-08-27 19:12:04
Organization of the application code
Organization of our application code is entirely different than our prior discussion, although there is a bit of overlap.
Laying out application code in a serverless project is slightly different than in a traditional web application. While the differences aren't that drastic, I find serverless projects a bit more susceptible and intolerant of designs or layouts that are not thought through in detail. Because it's so easy to get started, it's also easy to start moving in the wrong direction before thinking through and answering essential design decisions.
Over the years, these are a few of the big lessons I've learned when writing serverless application code:
- Configuration should be done with environment variables, rather than different configuration files
- Application code should be well structured, highly modular, and namespaced
- Think through how many functions you need before coding begins
推薦閱讀
- 課課通計算機(jī)原理
- 電氣自動化專業(yè)英語(第3版)
- AutoCAD繪圖實用速查通典
- ABB工業(yè)機(jī)器人編程全集
- 計算機(jī)圖形學(xué)
- 極簡AI入門:一本書讀懂人工智能思維與應(yīng)用
- Julia 1.0 Programming
- 計算機(jī)控制技術(shù)
- VMware Performance and Capacity Management(Second Edition)
- Python Data Science Essentials
- 網(wǎng)絡(luò)組建與互聯(lián)
- Learning C for Arduino
- 數(shù)據(jù)庫系統(tǒng)原理及應(yīng)用教程(第5版)
- DevOps Bootcamp
- Linux嵌入式系統(tǒng)開發(fā)