<jupyter_start><jupyter_text>Frameworks help developer to create web applications more efficientlyhttp://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks  Keynote:- Flask framework for Python- Templates: for writing html code separately from Python code- Function url_for: which is used to built the URL to navigate to Flask application.- forms: capture data from users.- message flashing: notify the user each time they successfully change information in the database.  Using Flask<jupyter_code>from flask import Flask
app = Flask(__name__)

@app.route('/')
@app.route('/hello')
def HelloWorld():
    return "Hello World"
    
if __name__ == '__main__':
  app.debug = True
  app.run(host = '0.0.0.0', port = 5000)<jupyter_output><empty_output><jupyter_text>Running this version on localhost:5000  Routing<jupyter_code>The route decorator is used to bind the function to a URL.
- URLs with Variables:
"path/<type:variable-name>/path"<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09211873080859775, 'fraction_numerical': 0.012282497441146366, 'mean_word_length': 5.52, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '175672', 'license': 'MIT', 'n_tokens_mistral': 299, 'n_tokens_neox': 284, 'n_words': 99, 'path': 'full_stack_foundations/notebooks/lesson_3/ipynb_checkpoints/Developing with Frameworks-checkpoint.ipynb', 'repo_name': 'robinl3680/udacity-course', 'size': '977'}