Advanced PHP and OpenERP / Odoo 7 Interfacing: Using PHP XML-RPC Library

4.1
10 reviews
Ebook
182
Pages

About this ebook

Versi PDF atau Pembayaran Lewat Paypal/BCA/Mandiri disini: 

http://shop.vitraining.co

OpenERP / Odoo provides an application programming interface using it's XML-RPC webservices. The service is ready to be accessed by any programming language that is capable on communication through XML-RPC interface. This book explain in details on how to setup, configure, and do the integration of external system into OpenERP/ Odoo. 

Started with the OpenERP installation steps both for Linux and Windows, then PHP XAMPP installation for both operating systems, and the required preparation steps to take in order that the systems are ready to be integrated together.

Taking PHP as the interfacing scripting languange using it's XML-RPC library, this book explains how to create a PHP class that contains methods for login, search, read, create, delete, and update data stored on OpenERP. Then how to use that class for real life example on accessing a legacy MySQL database and importing the data into OpenERP, and managing the status of already imported data.

PHP provides a wide variety of object oriented frameworks, so this book also explain on how to use the class from inside a PHP framework, taking Yii Framework as an example.

At the end of the topics, it's explained on how to automate the integration process periodically. In Linux we utilize the cron job, and in Windows we use the Task Scheduler. 

The book is live, downloadable, and purchasable from Google Play store, but you can also purchase it directly from http://vitraining.com/shop where payment can be made in local Indonesian bank.

About the writer => http://vitraining.com/akhmad-daniel-sembiring/

Table of Contents

Case Study and Objectives

Backgrounds

Objectives

Architecture and Design

The Database Structure

The Scripting Languange

OpenERP Installation on Ubuntu Linux

PostgreSQL Installation

Install the Python Modules

Download the Source Code

Extract the Source Code

Configure and Run the Server

Configure OpenERP to Run as a Service

Apache, MySQL, and PHP Installation on Linux

Installing Apache

Installing MySQL

Installing PHP

PHP Modules

See PHP on the Server

OpenERP Installation on Windows

Download the Latest Installer

Run the Installer

XAMPP Installation for Windows

Download XAMPP

Installation

Testing and Securing XAMPP

Preparations

Create a Development Database

Activate PHP Curl Module

Testing the Curl Module

Installation of XML-RPC Library

Download the XML-RPC Library

Extract the xmlrpc-2.2.tar.gz File

Project Folder Setup

The MyOpenERPLib Class

Login 

Search

Read

Create

Delete

Write

Create and Add New Records of one2many Fields

Write and Add More Records of one2many Fields

Write and Change Data on the one2many Fields

Summary

Processing Sales Order Data

Create a MySQL Development Database

Common Database Connection

Importing Partners

Importing Products

Importing Sale Order and Order Lines

Executing Actions on the Server

The exec() Method

The searchAny() Method

Create the Order Confirm Script

Integrating With Yii Framework

Automating the Process

The Wrapper Script

Setup on Linux

Installing wget

Cron Job Setup

Setup on Windows

Installing wget

Task Scheduler Setup

Conclusion

References


Ratings and reviews

4.1
10 reviews
Christian Brown
December 2, 2014
highly recommended. in depth explanation of XML-RPC communication from PHP to OpenERP/ Odoo. thanks to the writer .. Christian - USA
3 people found this review helpful
Did you find this helpful?
Akhmad Daniel Sembiring
December 1, 2014
contact me directly if you need the PDF version for offline reading or payment directly to my Paypal or local Bank account
4 people found this review helpful
Did you find this helpful?
David Gonzales
February 23, 2021
Google review true a waste
Did you find this helpful?

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.