top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Small Overview about Flask in Python?

0 votes
347 views

What is Flask Python?

Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions. 

Flask supports extensions that can add application features as if they were implemented in Flask itself. Extensions exist for object-relational mappers, form validation, upload handling, various open authentication technologies and several common framework related tools. Extensions are updated far more regularly than the core Flask program.

Flask is a web framework. This means flask provides you with tools, libraries, and technologies that allow you to build a web application. This web application can be some web pages, a blog, a wiki or go as big as a web-based calendar application or a commercial website.

Flask is part of the categories of the micro-framework. Micro-framework is normally framework with little to no dependencies to external libraries. This has pros and cons. Pros would be that the framework is light, there is little dependency to update and watch for security bugs, cons is that sometime you will have to do more work by yourself or increase yourself the list of dependencies by adding plugins. In the case of Flask, its dependencies are:

  • Werkzeug a WSGI utility library
  • jinja2 which is its template engine
Video for Flask Python
posted Jul 27, 2018 by anonymous

  Promote This Article
Facebook Share Button Twitter Share Button LinkedIn Share Button


Related Articles

What is Dash?

Dash is a Python framework for building analytical web applications. No JavaScript required.

Written on top of Flask, Plotly.js, and React.js, Dash is ideal for building data visualization apps with highly custom user interfaces in pure Python. It's particularly suited for anyone who works with data in Python.

Through a couple of simple patterns, Dash abstracts away all of the technologies and protocols that are required to build an interactive web-based application. Dash is simple enough that you can bind a user interface around your Python code in an afternoon.

Dash apps are rendered in the web browser. You can deploy your apps to servers and then share them through URLs. Since Dash apps are viewed in the web browser, Dash is inherently cross-platform and mobile-ready.

Benefits

1) Lightweight 
   - Dash apps require very little boilerplate to get started: An app like this weighs in at just 40 lines of pure Python. Dash provides direct control
2) Direct Control
   - Dash provides a simple interface for tying UI controls, like sliders, dropdowns, and graphs, with your Python data analysis code. Dash is Composable and Modular
3) Completely Customizable
   - Every aesthetic element of a Dash app is customizable. Dash apps are built and published in the Web, so the full power of CSS is available.

The video for Dash in Python

https://www.youtube.com/watch?v=e4ti2fCpXMI​

READ MORE

What is Macchina?

Macchina is an open source software toolkit for quickly building embedded applications for the Internet of Things that run on Linux-based IoT gateways and devices like the Raspberry Pi, Beaglebone, RED Brick or Galileo/Edison. 

Macchina implements a web-enabled, modular and extensible JavaScript and C++ runtime environment and provides easy to use building blocks that enable applications to talk to various sensors and devices, as well as cloud services.

Rapidly build IoT device applications in JavaScript and/or C++. Reliable and rock-solid, based on industry proven components like the POCO C++ Libraries and the V8 JavaScript engine. Implemented in C++ for maximum efficiency. 

Runs on Embedded Linux devices with as little as 32 MB of RAM, as well as desktop Linux and OS X. Develop and test on desktop machine, then easily deploy to embedded device.

It runs on Linux-based devices, including IoT gateways, industrial computing devices, and prototyping platforms like the Raspberry Pi, Beaglebone and MangOH.

It is based on the POCO C++ Libraries and uses the V8 JavaScript engine.

Video for Macchina 

https://www.youtube.com/watch?v=vhfu38AyMPU​

READ MORE

What is Expo CLI?

Expo CLI is a command line interface for developing Expo apps. It also includes a web-based interface (Expo Dev Tools) for using some of the most often used features also from a quick to use graphical interface.

Expo apps are React Native apps which contain the Expo SDK. The SDK is a native-and-JS library which provides access to the device's system functionality (things like the camera, contacts, local storage, and other hardware). That means you don't need to use Xcode or Android Studio or write any native code, and it also makes your pure-JS project very portable because it can run in any native environment containing the Expo SDK.

Expo also provides UI components to handle a variety of use-cases that almost all apps will cover but are not baked into React Native core, e.g. icons, blur views, and more.

Finally, the Expo SDK provides access to services which typically are a pain to manage but are required by almost every app. Most popular among these: Expo can manage your Assets for you, it can take care of Push Notifications for you, and it can build native binaries which are ready to deploy to the app store.

Video for Expo CLI

https://www.youtube.com/watch?v=cWZHjuKTg7g

READ MORE

What is Vue Native?     

Vue Native is a framework to build cross-platform native mobile apps using JavaScript. Vue Native is a mobile framework to build a truly native mobile app using Vue.js. It is designed to connect React Native and Vue.js.

Vue Native is a wrapper around React Native APIs, which allows you to use Vue.js and compose rich mobile User Interface.

Vue is a progressive framework for building user interfaces. Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable. The core library is focused on the view layer only and is easy to pick up and integrate with other libraries or existing projects.​

Features

  • Declarative rendering
  • Two-way binding
  • The goodness of Vue ecosystem
  • Compiles to React Native
  • Completeness of React Native ecosystem

A video for Vue Native 

https://www.youtube.com/watch?v=8e0XHPylhj0

READ MORE
...