Keywords: use various kind of programming language for

Topic: BusinessComparative Analysis
Sample donated:
Last updated: March 12, 2019

 Keywords: Python, Flask, Werkzeug,Jinja2, SQLAlchemy, sqlite3, Flask_WTF   1                  Introduction  Web Technologies, particularlythe Internet, have become an importantPart of thebusiness world over the past few years. People have becomeAccustomed tosearching the internet for data, sending e-mail, or making simple purchaseselectronically. So making a good and secure web application is always the firstpriority of any organization.

    Today organization’s use various kind ofprogramming language for creating web applications, some of them are like PHP,Java, .net etc. butThere is a newlanguage in the market which is being introduced by Python called Flask.

Don't use plagiarized sources.
Get Your Custom Essay on "Keywords: use various kind of programming language for..."
For You For Only $13.90/page!

Get custom paper

What specific notation is stated in this research paper?Here a functioningmodel is developed by the author, working on the analysis with the LIVE flaskbased web application.  2                  Python Python is ahigh-level programming language for general purpose programming, Python has a design philosophy thatemphasizes code readability, and a syntax that allows programmers to expressconcepts in fewer lines of code.Python features a dynamic type system and automatic memory management. Itsupports multiple programming paradigms, including object-oriented, functionaland procedural, and has a large and comprehensive standard library. Itsinterpreter are available in for many operating systems, and this programminglanguage is completely open source.  3                  Flask            Flask is  a python web framework built with asmall  core and easy-to-extendphilosophy.

Flask is based onwerkzeug toolkit and jinja2 template engine. It is BSD licensed. Applicationsthat use FLASK framework includespinterest, LinkedIn, and community web page for Flask itself.Flaskcalled micro framework because it does not required particular tools orlibraries. It has no database abstractionlayer, form validation, or any other components where pre-existing third-partylibraries provide common functions.

Forexample, here’s a valid “hello world” web application with Flask/** fromflask import Flask app= Flask(__name__) @app.route(‘/’)defhell():            return ‘hello world’ if__name__ == ‘__main__’:                                             **/  4                  Werkzeug Werkzeugis a WSGI utility library for python. It’s widely ised and BSD licensed.

Werkzeug is simple and powerful.Werkzeug started asa simple collection of various utilities for WSGI applications and has becomeone of the most advanced WSGI utility modules. It includes a powerful debugger,fully featured request and response objects, HTTP utilities to handle entitytags, cache control headers, HTTP dates, cookie handling, file uploads, a powerfulURL routing system and a bunch of community contributed add-on modules.It does Unicode anddoesn’t enforce a specific template engine, database adapter or anything else.It doesn’t even enforce a specific way of handling requests and leaves all thatup to the developer.Forexample: /**             from werkzeug.

wrapper importRequest, [email protected](request):            Return Response(‘hello world’) If__name__ == ‘__main__’:             from werkzeug.serving importrun_simple            run_simple(‘localhost’, 4000,application)                                                                                   **/ 5                Jinja Itis a template engine for python programming language.The Jinja template engineallows customization of tags, filters,tests, and globals.

Also, unlike the Django template engine, Jinja allows thetemplate designer to call functions with arguments on objects. Jinja is Flask’s default template engine. Here isa small example of a template file ‘example.html.jinja’5      {{ variable|escape}}      {%- for item in item_list %}    {{ item }}{% if not loop.last %},{% endif%}  {%- endfor %}  andtemplating code:from jinja2 import Templatewithopen(‘example.html.jinja’) as f:    tmpl = Template( tmpl.render(    variable = ‘Value with data’,    item_list = 1, 2, 3, 4, 5, 6)Thisproduces the HTML string:      Value with<unsafe> data        1,    2,    3,    4,    5,    6      References:             1                        2             3            

Choose your subject


I'm Jessica!

Don't know how to start your paper? Worry no more! Get professional writing assistance from me.

Click here