Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How to develop an OpenERP-like website, without OpenERP?

By
Martin
on 3/9/13, 2:19 PM 2,256 views

Is there some sort of tutorial or getting started guide for developing a PostgreSQL backed web site with the OpenERP V7 technological platform, that uses nothing of OpenERP itself?

For example, I consider the database schema to be part of OpenERP, so . . . none of it. I want to have a complete kit of database_thru_to_browser tools that depend on all the same third-party components as OpenERP (or very similar ones) but takes no code from the OpenERP code base.

I've been scoping what's required by Googling around. So far I've found:

  • Multicorn : is the HTTP server that routes connections to request handlers
  • Werkzeug : is a toolset that simplifies all the dirty work of running an app inside an HTTP server, such as mapping request URLs to functionality.
  • jQuery : is a toolset that simplifies all the dirty work of running an app inside an HTTP browser, such as (just about everything).
  • ORM : allows Python programmers to treat the database in an object-oriented fashion
  • QWeb : is the template engine, for formatting responses returned to the caller.
  • Others ???

Concerning the ORM, it seems integral to OpenERP, but can it be used on its own? If not, for my purposes, SqlAlchemy seems like the front runner as an alternative. Is there something closer? PeeWee? Storm?

Concerning QWeb, am I right that, like the ORM, it is homegrown for OpenERP, and not available elsewhere? Since, apparently, it runs entirely in the browser, with no part of it executed on the sever-side, I'd like to know if there is a way to abstract it out for use without OpenERP? If not, would Genshi be a close substitute?

Are Multicorn, Werkzeug & jQuery the only third-party products used? If not, what else is there?

The reason I ask, is I want a platform for my own work that is as similar as possible to OpenERP, but is fully independent from it. It would enable me to maintain a toolset for myself, kept small and coherent with what I do with OpenERP. It would also be a learning exercise to understand how OpenERP's third-party elements can be used separately from OpenERP.

probably this is the best starting point: http://doc.openerp.com/trunk/developers/web/. but consider that openerp is needed anyway. at least the server and the base module.

Davide Corio
on 3/9/13, 3:49 PM

Currently, in v7.0 you have Multicorn which is recommended over Gunicorn

Camptocamp SA
on 3/11/13, 7:40 AM

I've edited my question to reflect your correction.

Martin
on 3/11/13, 7:47 AM
0

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
On 6/27/13, 11:10 AM

Have you considered Django? Also python-based, and you can use postgreSQL or MySQL as backend.

https://www.djangoproject.com/ is their site.

0
agb80
On 3/11/13, 1:16 PM

Is there some sort of tutorial or getting started guide for developing a PostgreSQL backed web site with the OpenERP V7 technological platform, that uses nothing of OpenERP itself?

Do you mean that you want to create a new frontend and use Openerp server? Or you are thinking on use only the database provided by Openerp and create a totally new app?

Since yours is not actually an answer, I'd suggest you delete it before someone takes a byte out of Karma points. I've answered you by clarifying my question.

Martin
on 3/11/13, 1:41 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/9/13, 2:19 PM
Seen: 2256 times
Last updated: 5/3/15, 12:48 PM