Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
前几天我看到了这个笑话。互联网上有人问我们为什么需要后端,只需将前端连接到数据库即可。
起初看起来很有趣,但真的有可能创建一个同时处理前端和后端的框架吗?
路由和列表视图或网格都发生在同一个函数中。
从技术上讲,我想不出为什么不这样做的原因!
从技术上讲你可以,但实际上它对于任何严肃的应用程序都是无用的,我脑海中的一些原因 -
还有很多。