#WatchTips
This project is a tips mangager, used to manage tips: watch, add, edit, view. It is similar to a blog system, just replace the posts with tips.
The target of this project is to demo usage of framwork of both server and client, especially:
In a view of programming language, this project is also a demo of
python javascript
- web.py: a web framework for Python that is as simple as it is powerful
- pycrypto: a collection of both secure hash functions
- validate_email: a package for Python that check if an email is valid, properly formatted and really exists
- Bootstrap: Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- jQuery: a fast, small, and feature-rich JavaScript library.
- holder.js: Holder renders image placeholders entirely on the client side.
- Buttons: A CSS button library built using Sass and Compass
- Rename config_sample.py to config.py
- mysql: fill info in config.py, run scripts in sql/
- crtkey: generate crtkey to support https, read README.md in crtkey
python index.py
The techniques using in this project are listed in the following.
Your Programs should comply with a Progrmas Style Guide, in this Project, we use:
-
python: all the python programs should comply with PEP8, using a tool called pep8
-
html/css: all the html/css file should pass W3C HTML Validator and W3C CSS Validator
Progrmas should pass Unit Test, using unittest
module in python
- URL handling
- Deal with request: GET, POST
- Redirect request
- Subapplications
- Custome not found message
- Usage of Contextual and Environment variables: web.ctx
- Application processors, loadhooks and unloadhooks
- SSL support
- Session and Cookie
- Template
- Operating database: mysql
- How to encrypt and validate information
- How to check a email address is legal
- Create database
- Add User
- Create Table
- Grid System
- Form
- Buttons
- Images
- Glyphicons
- Dropdowns
- Navbar
- Alerts
- Progress Bar
- Modals
- Carousel
- process
__getattr__
- process
parameter type
- implementing logging middleware
- add i18n support