当前位置:网站首页>为什么会选择框架?选择什么样的框架
为什么会选择框架?选择什么样的框架
2022-07-03 02:26:00 【蓝绿色~菠菜】
我想最重要的一点就是高效开发,框架本身提供了相对完善的工具集和项目运行必要模块。其次框架本身已经帮你隐藏大部分的底层实现细节,高度抽象化,提供对人友好的接口调用,能让人更专注在业务层面开发。
其次,就是为了高效协作,高效协作的前提就是要标准化、规范化,有统一的编码风格,统一的工具集,收敛技术栈。试想一个多人项目里用了两个db库,三种log库会是什么样的灾难。即便大家都很牛逼,代码写出花又怎样,别人还不是得花时间去理解你的设计思想?理解有偏差甚至可能被人当垃圾,这是大概率事件。技术选型本来就没有绝对的好或不好,我觉得够用就好,能解决问题的技术就是好技术,没必要太钻牛角尖。
至于选择什么样的框架,我想无论是轻量级还是重量级框架,只要能称得上是框架,多多少少都能达成高效开发的目的。所以高效协作是框架选择的重点。我认为像flask、gin这种轻量级框架更适合小微项目、单人或2、3人的小团队。而对于规模相对大点的团队,想要高效协作,避免人为因素产生技术债务或壁垒,还是选择像django、beego、Iris这样大而全的框架。
如果对性能有极致要求,那就是另外一回事了。
边栏推荐
- easyPOI
- Simple understanding of SVG
- Gbase 8C system table PG_ attribute
- 【 tutoriel】 Chrome ferme les cors et les messages de la politique inter - domaines et apporte des cookies à travers les domaines
- Javescript 0.1 + 0.2 = = 0.3 problem
- What are MySQL locks and classifications
- GBase 8c 创建用户/角色 示例二
- Detailed analysis of micro service component sentinel (hystrix)
- Gbase 8C function / stored procedure parameters (II)
- Gbase 8C trigger (I)
猜你喜欢

Memory pool (understand the process of new developing space from the perspective of kernel)

What are the key points often asked in the redis interview

y54.第三章 Kubernetes从入门到精通 -- ingress(二七)

SPI mechanism

Tongda OA V12 process center

Distributed transaction solution

线程安全的单例模式

内存池(内核角度理解new开辟空间的过程)

stm32F407-------DMA

Use go language to realize try{}catch{}finally
随机推荐
Explore the conversion between PX pixels and Pt pounds, mm and MM
stm32F407-------ADC
GBase 8c 函数/存储过程定义
iptables 4层转发
PyTorch 卷积网络正则化 DropBlock
Gbase 8C system table PG_ amop
基于线程池的生产者消费者模型(含阻塞队列)
Return a tree structure data
awk从入门到入土(2)认识awk内置变量和变量的使用
Compréhension simple de SVG
4. 类和对象
Gbase 8C system table PG_ cast
The use of Flink CDC mongodb and the implementation of Flink SQL parsing complex nested JSON data in monggo
创建+注册 子应用_定义路由,全局路由与子路由
Gbase 8C system table PG_ authid
【教程】chrome關閉跨域策略cors、samesite,跨域帶上cookie
Socket programming
Detailed introduction to the deployment and usage of the Nacos registry
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
Recommendation letter of "listing situation" -- courage is the most valuable