~xrg/openobject-doc/trunk-xrg

« back to all changes in this revision

Viewing changes to source/bi/CubeXML/CubeXMLIntro.rst

  • Committer: TruongSinh Tran
  • Date: 2009-07-17 18:59:45 UTC
  • Revision ID: truongsinh@vipescoserver-20090717185945-ajjp3zso6xh5jddm
[FIX]private issue

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
XML in open object
 
2
==================
 
3
 
 
4
Introduction to the OpenObject Module
 
5
-------------------------------------
 
6
 
 
7
The :ref:`OLAP <olap-link>`  module is used in validating , running  and formatting the output of *MDXExamples/MDX Queries*
 
8
 
 
9
The general flow is of :ref:`OLAP <olap-link>` module is shown in following diagram:
 
10
 
 
11
.. image::  images/Cube_olap_schema.png
 
12
 
 
13
Explanation of the components
 
14
-----------------------------
 
15
 
 
16
:Web-Services:
 
17
 
 
18
This is the layer provided by the base of Open  ERP, protocols: NET-RPC (fast binary), XML-RPC, over HTTP or HTTPS
 
19
 
 
20
:Services:
 
21
 
 
22
Layer provided by Open  ERP that provides: authentification (normal/ldap), users management, access rights, workflows, module management, ...
 
23
 
 
24
:MDX Parser:
 
25
 
 
26
It parses the MDX query and convert it in the form of python objects. It uses pyparsing module of python to do this . It split the query in form of objects of axis, level, sub level, slicer (if any) and measures. 
 
27
 
 
28
 
 
29
:MDX Validator:
 
30
 
 
31
It parse all the objects created and map it to the browse object ofOpen  ERP resource. For example, the axis object will receive a link to the Open  ERP browse record on the related olap.axis object.
 
32
 
 
33
:MDX Runner:
 
34
 
 
35
It will run the query on the basis of objects using SQLAlchemy and return different subsets.
 
36
On the basis of it the cube is virtually made in the form of matrix.
 
37
And it fills the cube by values using axis mapping
 
38
 
 
39
:RDBMS connectors:
 
40
 
 
41
The layer provided by SQL Alchemy, it supports: mysql, postgresql, oracle, ...
 
42
 
 
43
The schema definition is in the Open  ERP database.
 
44