哪个框架最适合基于Web的应用程序

时间:2021-05-02 20:18:13

I have a program written in python. I wan to create a site, which provides the results from the site in a web page. The web-page takes input from user process data by the python [program and gives output in the web[age. I have heard that there are web frameworks like web2py, flask, django etc. The site has only minimal data to work on. Which one should I use?

我有一个用python编写的程序。我想创建一个站点,该站点在网页中提供站点的结果。 Web页面通过python [program]从用户进程数据中获取输入,并在web [age]中提供输出。我听说有web2py,flask,django等web框架。该网站只有最少的数据可供使用。我应该使用哪一个?

1 个解决方案

#1


0  

I can only tell my opinion, because there is no right or wrong answer. If you have a small project, use a microframework like bottle.py, cherrypy..., if you have a HUGE project it might pay off to get familiar with a full-blown framework with database-integration like django.

我只能说出我的意见,因为没有正确或错误的答案。如果您有一个小项目,请使用像bottle.py,cherrypy ......这样的微框架,如果您有一个巨大的项目,那么熟悉一个像django这样的数据库集成的完整框架可能会有所回报。

#1


0  

I can only tell my opinion, because there is no right or wrong answer. If you have a small project, use a microframework like bottle.py, cherrypy..., if you have a HUGE project it might pay off to get familiar with a full-blown framework with database-integration like django.

我只能说出我的意见,因为没有正确或错误的答案。如果您有一个小项目,请使用像bottle.py,cherrypy ......这样的微框架,如果您有一个巨大的项目,那么熟悉一个像django这样的数据库集成的完整框架可能会有所回报。