Architecture and technology implementation of WEB2PY framework based on Sahana project

Source: Internet
Author: User
Keywords SAHANA WEB2PY technology implementation
Tags aliyun application application framework based framework html key project

Figure 1. Sahttp://www.aliyun.com/zixun/aggregation/13659.html ">hana and web2py timeline

Fig. 1 Big picture

As you can see from the timeline, there are a few key words: IBM, Sahana, earthquake, web2py, Python ...

IBM must be familiar with the large multinational IT companies, in the face of social responsibility, has always been a strong sense of existence. Sahana Disaster relief Management system is its response to natural disasters, a contingency solution. One of the authors was fortunate enough to participate in the development of the 2013 Yaan earthquake Sahana Eden Disaster relief System in the IBM organization, which provides an in-depth introduction to the WEB2PY application framework used in the project.

Main functions of Sahana disaster relief management System

To register, deploy and track aid requests and implementation, coordinate and balance the division of work between aid organizations and volunteers, assist in the effective search and management of missing persons, and provide geo-information decision support for disaster situation.

WEB2PY Architecture and its introduction

It is well known that web2py, a fully functional Web application framework offered as a Python language, was published in 2007, inspired by Ruby on Rails, designed to quickly and rapidly develop WEB applications. Officially known as web2py can span multiple platforms, but the specific application in the Sahana project, the clear support of the platform is Windows and Linux, we in the Sahana project development and deployment process, we have only the support of both platforms.

Of course, when it comes to the Python application framework, it's definitely not going to be a comparison with Django, there are even posts devoted to discussing web2py 10 sins, the existence is reasonable, the concrete framework of who loses who wins, this article does not compare, let us look at the web2py architecture, workflow and its characteristics:

Figure 2. WEB2PY Architecture


Figure 3. Web2py Workflow

Through the above Web2py architecture and workflow, we can clearly see the Sahana project itself in the entire web2py framework in place, is actually equivalent to web2py a child module, and divided into front-end systems and background management two modules. Technology implementation is based on MVC architecture, the technical framework throughout the implementation of each module, the module has a clear boundary between the principle is mutually exclusive, such a system architecture and technology to achieve what benefits? You can see the answer from the following web2py features.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.