In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you about how to start the export source operation through the command line tool in Python Web. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
Uliweb is a new Python Web Framework,Python Web because the existing framework is somewhat unsatisfactory, and in many cases these unsatisfactory places more or less have an impact on Web development, so after learning about many frameworks, I decided to develop a new framework, hoping to integrate as many advantages as I think of other frameworks. At the same time, make the new framework as simple as possible, easy to use and easy to use.
However, at present, this framework is mainly done by one person and an amateur, so the progress is relatively slow.
Practical Operation Scheme of python for document Retrieval
A detailed introduction to the functions of IDLE in Python environment
Detailed explanation of the simplicity of the Application of Python pylint
A detailed introduction to the daemon implementation of the Python process
A brief introduction to the function that the running efficiency of Python is better than C language
Uliweb is open source in accordance with the GPL v2 protocol. Uliweb is not a framework from scratch, it uses some mature libraries, such as: Werkzeug; used for command line, URL mapping, Debug and other core processing to generate and process requests, webob; powerful ORM library SqlAlchemy for response objects, and so on. Uliweb also draws lessons from some design ideas and achievements of Template template module such as web2py and Django in the development.
With regard to the functional features of the Python Web framework, Limodou introduces:
Uliweb is a Django-like MVT model, the whole project will be composed of a number of relatively independent app, each app will have its own configuration file, templates directory, static directory and so on. URL can be mapped automatically or manually. You can embed Python code directly in the template, but you don't need to care about code shortening, just pay attention to adding pass statements before the end of the block.
ORM is used to deal with the database, and you can also use the underlying SQLAlchemy module directly. Support the processing of i18n in code and templates. Uliweb also migrates the Plugin mechanism from Ulipad to make it easy to add user-specific processing to the framework. Through the command line tools provided, you can perform operations such as starting the development server and exporting the source code.
Uliweb can now be deployed in a variety of environments such as GAE,mod_wsgi,fastcgi,scgi,cgi. In addition, the Uliweb framework contains many innovations of its own, such as Form processing that can be used to generate HTML code and verify uploaded data, including i18n processing of templates and pages, framework processing code, plug-in mechanisms that have been ported and modified from Ulipad.
It is worth mentioning that the Uliweb framework will develop its own ORM mechanism Uliorm,Uliorm encapsulated on the basis of SqlAlchemy, while referring to the code of datastore in GAE. When asked why he designed his own ORM framework, Limodou replied:
After comparing several Python Web modules, none of them is satisfactory. I prefer Django's ORM, but it's not easy to use independently and is too tightly tied to its Admin functionality. SQLAlchemy has several ways of mapping ORM, but it does not quite meet the automation needs of Uliweb. Others like SQLObject I don't like.
Web2py is not easy to transplant, and its function is relatively weak. Storm is LGPL, once it is modified, it is not convenient to apply. There are others, to name a few. So I am developing a new Uliorm based on SQLAlchemy, trying on the one hand and studying how to bind to the framework on the other hand, so that I can serve Uliweb more easily.
This is how to start the export source operation through the command line tool in the Python Web shared by the editor. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.