A blog program written in bottle + mongodb

Source: Internet
Author: User
I personally think that the best way to learn and master something better and faster is to use it, use it more, and then quickly grasp and understand it again and again in solving problems. What do you think? Some time ago I came into contact with bottle, a lightweight web framework, and mongodb, A nosql database. In order to master and understand them, I made a blog program by myself, referring to

I personally think that the best way to learn and master something better and faster is to use it, use it more, and then quickly grasp and understand it again and again in solving problems. What do you think? Some time ago I came into contact with bottle, a lightweight web framework, and mongodb, A nosql database. In order to master and understand them, I made a blog program by myself, referring to

I personally think that the best way to learn and master something better and faster is to use it, use it more, and then quickly grasp and understand it again and again in solving problems. What do you think? Some time ago I came into contact with bottle, a lightweight web framework, and mongodb, A nosql database. to master and understand them, I made a blog program and referred to the physical design in vimer.cn. it uses bottle as the web development framework and mongodb as the background database. main functions:

Front-end display articles: Display by category display by TAG display by month archive display latest articles comment background management: Manage articles manage categories manage comments post articles user verification

Directory structure

Water

+-App program directory

| ---- Admin. py background management

| ---- Blog. py front-end display

| ---- Dbconn. py database connection

| ---- Encrypt. py contains the encryption function

+-Static file directory: including js css image

+-Views template directory

+-Index. py is used to start the entire program.

+-Initiate. py initialization script, used to create a management user

+-Setting. py setting file, various settings

+-Static. py is used by the program to process static files.

The project code is put on google code and you can visit the following link: http://code.google.com/p/sharepythoncode/source/browse/water/

Original article address: A blog program written in bottle + mongodb. Thank you for sharing it with the original author.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.