GithubHelp home page GithubHelp logo

joicemjoseph / web.py-skeleton Goto Github PK

View Code? Open in Web Editor NEW

This project forked from faruken/web.py-skeleton

0.0 2.0 1.0 125 KB

A sample web.py skeleton

Makefile 3.19% Shell 5.42% Python 79.54% HTML 11.84%

web.py-skeleton's Introduction

#web.py skeleton

This is a sample skeleton for a web.py application.

The structure is:

 |-doc
 |-licenses
 |-requirements
 |-www
 |---app
 |-----controllers
 |-----models
 |-----tools
 |-----bridge
 |-----views
 |---lib
 |---log
 |---public
 |-----css
 |-----img
 |-----js
 |---static
 |-----css
 |-----cs
 |-----img
 |-----js
 |---test
 |---tmp
  • doc: Documentation of the project.
  • licenses: Project license or any other licenses used by 3rd party libraries go here.
  • requirements: Mandatory Python libraries to install with pip.
  • sh: Bash script files of the project.
  • www: Project's www folder.
    • app: The application itself.
      • controllers: Handlers of the application. Each {name}_handler is a module.
      • models: Models of the application.
      • bridge: Here goes the services that connects with another services (such as a socket server running on Java).
      • tools: These are libraries which are dependent to application.
      • views: Contains the HTML files (using Mako template engine). UI of the application.
    • lib: 3rd party libraries which cannot be installed with pip or easy_install. These are application independent.
    • log: Logging.
    • public: Static files of the application, which contains javascript, images and css files.
    • static: Static files of the application, which contains javascript, coffeescript, images and css files.
    • test: Unit testing.
    • tmp: Contains the mako_modules and other unnecessary garbage files.
    • main.py: The only file executed directly.
    • settings.py: Default settings (constant variables etc.) of the application.
    • urls.py: URL definitions which are mapped to their handler classes.

High Level Diagrams

Package Diagrams

Sub-modules

High-level modules

web.py-skeleton's People

Watchers

 avatar  avatar

Forkers

pfpd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.