1 / 9

Web2Py Framework: A Brief Overview

Unlike conventional server-side programming languages, Python enables web developers to build web applications with concise, clean, and readable code. But Python is a general-purpose programming language.

Download Presentation

Web2Py Framework: A Brief Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web2Py Framework: A Brief Overview

  2.  Unlike conventional server-side programming languages, Python enables web dev It lacks built-in web development capabilities like other web programming languages.  elopers to build web applications with concise, clean, and readable code. But Python is a general-purpose programming language.  But the web frameworks for Python help developers to build custom web applications quickly and efficiently based on varied business requirements.  At present, Web2Py is one of the most popular web frameworks for Python.  In addition to being written in Python, Web2Py also comes with a Python interpreter.  The full-stack web framework further runs smoothly on major operating systems and web servers without requiring pre-installation.  At the same time, it supports model-view-controller (MVC) architecture, along with commonly used web development practices like server-side sessions, self-submission of web forms and safe handling of uploaded files.  The open source web framework further simplifies complex web application development by providing a wide range of batteries.

  3. Brief Overview of Important Features Provided by Web2Py Inspired by Django  The core design of Web2Py is hugely influenced by another full-stack web framework for Python — Django. Like Django, Web2Py also supports convention over configuration and facilitates rapid web development.  Also, it generated web forms dynamically from database tables, in addition to providing a set of validators. But Web2Py, unlike Django, comes with a compact and easy-to-learn core.  It even allows developers to start developing web applications without handling project- level configuration files.  Hence, many Python programmers opt for Django as a compact alternative to Django to reduce memory footprint.

  4. Supports MVC Architecture  Like Django, Web2Py also supports MVC architectural pattern.  The pattern enables developers to simplify development of complex web applications by dividing them into models, views, and controllers.  The developers can further take advantage of MVC architecture to keep the application’s user interface and business logic layers separated.  But Web2Py, unlike conventional MVC web frameworks, customizes the models and controllers in context of individual HTTP requests.  Hence, the developers are not required to import APIs additionally to identify the nature and context of each HTTP request.

  5. Provides a Web-Based IDE  Web2Py provides an admin app that developers can use as a web-based integrated development environment (IDE) for the web application.  The admin app lacks some of the advanced features provided by other IDEs. But the developers can still take advantage of the features provided by the IDE to simplify web application designing, creation, packaging, maintenance and compilation.  The one-click deployment option provided by the admin app further makes it easier for developers to deploy the Web2Py app in varied environments.  Also, the features provided by the admin interface helps developers to accelerate common web development tasks like editing application files, cleaning temp files, interact with databases, running tests, and browsing past tickets.

  6. Provides a Web-Based IDE  Web2Py provides an admin app that developers can use as a web-based integrated development environment (IDE) for the web application.  The admin app lacks some of the advanced features provided by other IDEs. But the developers can still take advantage of the features provided by the IDE to simplify web application designing, creation, packaging, maintenance and compilation.  The one-click deployment option provided by the admin app further makes it easier for developers to deploy the Web2Py app in varied environments.  Also, the features provided by the admin interface helps developers to accelerate common web development tasks like editing application files, cleaning temp files, interact with databases, running tests, and browsing past tickets.

  7. Comes with Useful Batteries Like Django, Web2Py is also designed based on the batteries-included approach.  It comes with a package that includes a web-based admin interface, web-based management interface, SQL database, database abstraction layer, error logging and ticketing system, and multi-threaded web server.  The package enables developers to build a variety of web applications efficiently without using external tools and services.  Also, it supports role-based access control, internationalization, multiple authentication methods, and multiple caching methods.  The batteries-included approach helps developers to design and build custom web applications rapidly. However, the developers still have option to work with several third- party tools and services.

  8. Simplifies Web Application Maintenance The web-based IDE and batteries provided by Web2Py helps developers to build custom web applications efficiently based on varied business requirements.  At the same time, the developers can take advantage of the web framework to maintain and manage the web applications smoothly over a period of time.  Unlike other web frameworks, Web2Py emphasizes on maintaining backward compatibility. Hence, it becomes easier for programmers to use the existing code base seamlessly despite upgrading to the latest version of Web2Py.  At the same time, Web2Py help new Python developers to make changes to the existing code by enabling programmers to write maintainable code.  On the whole, Web2Py, as a full-stack Python web framework, simplifies development of large and complex web applications by providing a wide range of batteries. Web2Py, like other web frameworks for Python, has its own shortcomings.  For instance, the admin app provided by the framework acts as a web-based IDE for the applications. But the admin app lacks some of the robust features provided by other popular IDEs.  Also, it currently supports only Python 2.x. Each new version of Web2Py still comes with new components to simplify development of modern web applications.

  9. Content Designed By: Mindfire Solutions

More Related