Flask and Cookies

HTTP cookies (also called web cookies, Internet cookies, browser cookies, or simply cookies) are small blocks of data created by a web server while a user is browsing a website and placed on the user’s computer or other device by the user’s web browser. Cookies are placed on the device used to access a website, and more than one cookie may be placed on a user’s device during a session.

Here we will learn to use cookies with flask.

Flask with Jinja

A simple headline website that uses RSS feeds to display the news from 7 news outlets. ‘feedparser’ library is used to parse the RSS feeds. ‘jinja’ is used to form html templates dynamically.

Flask Intro..

Flask is a web application framework written in Python. Armin Ronacher, who leads an international group of Python enthusiasts named Pocco, develops it. Flask is based on Werkzeug WSGI toolkit and Jinja2 template engine. Both are Pocco projects.
This tutorial is a first in series of tutorials about building a web application using Flask.

Regular Expressions in JavaScript

Regular expressions, also known as regex, are simply ways to describe text patterns.  Regex can be very useful in many situations, for example when you need to look for  errors in a large file or retrieve the browser agent a user is using. They can also be  used for form validation, as with regex you can specify valid patterns for field entries such as email addresses or phone numbers.
This article covers use of Regex in JavaScript

DOM JavaScript

With the HTML DOM, JavaScript can access and change all the elements of an HTML document.
When a web page is loaded, the browser creates a Document Object Model of the page. Here we look at basic ways JavaScript access, changes and adds elements to an HTML document.

JavaScript break and continue

Table of Contents break continue break and labeled blocks break will stop the loop and move on to the code below the loop. continue will stop the current iteration and move back to the top of the loop, checking the condition (or in the case of a for loop, performing the statement and then checking the condition). break In the following code, we […]