I want to understand what is the difference between openerp module and openerp web module? or both are complementary?
Some documents talk of openerp server side and other talk of client side.
My objective is to create a new module in openerp, I follow many documents that explains how create a module but they are too basic. Now, I want to understand the link between the web module and the basic module?
thanks.
It all depends on what you want you module to do. If you only want to change the javascript client side behaviour of OpenErp. Then you should be a web module.
If you want to access the ORM models and write python code that will execute on the server, then you create a openerp module.
I don't you can simply call all modules in OpenERP simply modules. They share simular structure, way to install. But as the client side in OpenERP is javascript, you write it in javascript, and why the call it web module.
Related
My hired service does not allow JAVA application to run at the service provider. Therefore, IAP server module must be implemented in php.
I wrote php code. I think I can implement it. But if someone has already done it, I would save some development time.
Please inform me is there public IAP server-side module PHP implementation?
IAP servers have a huge range of complexity depending on the needs of your business. The simplest implementation would be just a receipt validator, and there are a handful open-source examples of this on Github (https://github.com/aporat/store-receipt-validator)
Since you mentioned saving development time, there are services such as RevenueCat that manage a complete IAP server for you.
I am creating an apache2(httpd) custom module ,My custom module collect params on page load I need to make a post data request to third party server and based on response I got .
Is their any utility or which I can use to connect with third party server.
There are no built-in ways. But you have a few options:
Implement a basic HTTP client via APR's socket APIs.
Implement a basic
HTTP client via a mix of httpd and APR APIs. An example of this is in mod_proxy_hcheck.c in 2.4.x and trunk.
Embed something like libcurl in your module
I need to integrate MediaWiki in my Yii project.
Is MediaWiki-API URL-based only?
Yii and MW on same server. I want to manipulate with php-commands, not cUrl.
It is possible to call the API internally, though it requires some understanding of MediaWiki's inner workings. I suggest you start reading at API:Calling internally
We have been tasked to build a public web front-end on top of an OpenERP 6.1 backend. I have determined with a proof of concept that this will be possible using the XMLRPC gateway (after some CORS configuration). What we don't know is whether this is a good idea.
Is OpenERP intended to be used in this way?
Will the OpenERP & its XMLRPC gateway scale well enough as a web backend?
What is an alternative?
Being a modern, open and full featured ERP solution OpenERP installations tend to contain considerable amount of valuable data not only for internal use but also for sharing trough other portals as the company web site, parters web sites etc.
To answer your questions:
Is OpenERP intended to be used in this way?
It's more than normal to integrate OpenERP with external applications trough some integration interface. OpenERP is a rich application and the use of it's functionality and data outside the OpenERP client could be only of great value.
Will the OpenERP & its XMLRPC gateway scale well enough as a web
backend?
The right way for cross-platform integration with OpenERP is using XMLRPC. This approach will scale as well as the OpenERP's web client scales (if configured to communication trough XMLRPC). I mean that you should take care about the performance but if you are not using complex functionality as closing accounting year you should be OK.
What is an alternative?
If you are integrating from Python code the alternative is NetRPC. It's faster but seems to be Python specific as the protocol is mostly based on serialization of Python objects.
Is OpenERP intended to be used in this way?
OpenERP is an ERP software. so it would be preferable to use OpenERP as software, instead of framework. OpenERP is providing customisation of its web client, So you can customise it as per your requirements instead of developing new one.
Will the OpenERP & its XMLRPC gateway scale well enough as a web backend?
Yes. You can create XMLRPC connector, to access OpenERP server side methods.
e.g : example OPENERP: XML-RPC WEB SERVICES
Hope, this will be helpful.
I have got three modules in my zend application.
--module1
--module2
--module3
Here module3 is an api module. It doesn't have any views.
module1 and module2 should interact with module3(api module) to get the needed data.
module1 and module2 will have custom controller logic and views.
Is there any way to enable this kind of communication. I am new to zend framework.
Any help in this regard will be well appreciated. Thanks in advance.
Well the API you should create a Service layer for. Then if you need to expose this API externally you can use Module 1 to act as an intermediary between "remote" clients, but the other two modules can use the Service layer directly.