bebetterthinker / AirBnB_clone_v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Resources ##Read or watch: What is a Web Framework? A Minimal Application Routing (except “HTTP Methods”) Rendering Templates Synopsis Variables Comments Whitespace Control List of Control Structures (read up to “Call”) Flask Jinja

##Learning Objectives At the end of this project, you are expected to be able to explain to anyone, without the help of Google:

###General What is a Web Framework How to build a web framework with Flask How to define routes in Flask What is a route How to handle variables in a route What is a template How to create a HTML response in Flask by using a template How to create a dynamic template (loops, conditions…) How to display in HTML data from a MySQL database ###Requirements ####Python Scripts Allowed editors: vi, vim, emacs All your files will be interpreted/compiled on Ubuntu 14.04 LTS using python3 (version 3.4.3) All your files should end with a new line The first line of all your files should be exactly #!/usr/bin/python3 A README.md file, at the root of the folder of the project, is mandatory Your code should use the PEP 8 style (version 1.7) All your files must be executable The length of your files will be tested using wc All your modules should have documentation (python3 -c 'print(import("my_module").doc)') All your classes should have documentation (python3 -c 'print(import("my_module").MyClass.doc)') All your functions (inside and outside a class) should have documentation (python3 -c 'print(import("my_module").my_function.doc)' and python3 -c 'print(import("my_module").MyClass.my_function.doc)') A documentation is not a simple word, it’s a real sentence explaining what’s the purpose of the module, class or method (the length of it will be verified) HTML/CSS Files Allowed editors: vi, vim, emacs All your files should end with a new line A README.md file at the root of the folder of the project is mandatory Your code should be W3C compliant and validate with W3C-Validator (except for jinja template) All your CSS files should be in the styles folder All your images should be in the images folder You are not allowed to use !important or id (#... in the CSS file) All tags must be in uppercase Current screenshots have been done on Chrome 56.0.2924.87. No cross browsers

About


Languages

Language:Python 80.9%Language:HTML 12.1%Language:CSS 7.0%