项目作者: kdeldycke

项目描述 :
:necktie: Cherrpy + Mako + Formish + OOOP boilerplate.
高级语言: Python
项目地址: git://github.com/kdeldycke/cherrypy_mako_formish_ooop_boilerplate.git
创建时间: 2011-07-13T10:03:59Z
项目社区:https://github.com/kdeldycke/cherrypy_mako_formish_ooop_boilerplate

开源协议:GNU General Public License v2.0

下载


CherryPy + Mako + Formish + OOOP boilerplate

This project is my boilerplate codebase I created to integrate some Python
components with the goal of publishing OpenERP
content on the web.

This stack is composed of:

  • CherryPy to serve web content,
  • it use Mako for HTML templating,
  • Formish for HTML form generation and validation,
  • OOOP to talk to OpenERP server via web
    services.

This project contains the experiments I did while working at
Smile, when I explored the possibility of integrating
these components. This code was a proof-of-concept that we leveraged later for
a highly specific OpenERP project.

Because of the highly experimental nature of this project, it contains lots of
stupid and failed attempts. The whole code base should be thoroughly cleaned up
before it can be considered reusable.

How-to install this app

  1. Install system dependencies using your favorite package manager. Here is the
    example for an Ubuntu machine:

    1. $ apt-get install python-dev
  2. Initialize the buildout environment:

    1. $ python ./bootstrap.py --distribute
  3. Run buildout itself:

    1. $ ./bin/buildout
  4. Run the following command to run the server:

    1. $ ./bin/web_publisher
  5. Go to the following URL in your browser:

    1. http://localhost:8081

Documentation

Here is a list of useful external documentation and references to help you work
in this environment:

TODO

Author

License

This code is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, version 2.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

For full details, please see the file named COPYING in the top directory of the
source tree. You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses.

Embedded external projects

This tool uses external softwares, scripts, libraries and artworks:

  1. OOOP
  2. Copyright (c) 2010-211, Pedro Gracia <pedro.gracia@impulzia.com>, http://www.impulzia.com
  3. Released under the GNU GPL v3 license.
  4. Source: http://github.com/lasarux/ooop
  5. Crystal Project Icons
  6. Copyright (c) 2006-2007, Everaldo Coelho <everaldo@everaldo.com>, http://www.everaldo.com
  7. Released under the LGPL license.
  8. Source: http://www.kde-look.org/content/show.php/Crystal+Project?content=60475
  9. Buildout's bootstrap.py
  10. Copyright (c) 2006 Zope Corporation and Contributors
  11. Distributed under the Zope Public License, version 2.1 (ZPL).
  12. Source: http://svn.zope.org/repos/main/zc.buildout/trunk/bootstrap/bootstrap.py