Book Image

Apache OFBiz Development: The Beginner's Tutorial

By : Jonathon Wong, Rupert Howell
Book Image

Apache OFBiz Development: The Beginner's Tutorial

By: Jonathon Wong, Rupert Howell

Overview of this book

<p>Apache OFBiz (Open For Business) is versatile open-source enterprise automation software that powers many small and medium sized businesses around the world. It incorporates a number of mature applications such as ERP, e-Commerce, MRP and CRM.<br /><br />Built around an MVC framework with common logic, data model and process components, Ofbiz allows existing and bespoke applications to be added through a component-based architecture. Ofbiz includes a mature suite of enterprise applications that integrate and automate a company's many business needs.<br />&nbsp;<br />This easy-to-read book will quickly enable newcomers to get hands-on with OFBiz. It provides an overview of the main modules and employs illustrated examples that show readers how to build exemplary business applications rapidly. Covering the main aspects of the Model-View-Controller framework, the reader will gain a working knowledge of Widgets, Entities, and The Service Engine. The authors also describe how to tweak OFBiz, and offer valuable performance and development tips. By navigating through the flow of OFBiz and providing insight into the thousands of examples that already exist in the core code they have made this book a must-have for anyone looking to get started with OFBiz.</p>
Table of Contents (20 chapters)
Apache OFBiz Development
Credits
About the Authors
About the Reviewers
Preface
Simple Method User's Guide

Adding Our First Field


In Chapter 1, we entered some fictitious personal details as an anonymous shopper. OFBiz keeps track of every shopper, even anonymous ones. Let's revisit the "order" webapp to have a look at the anonymous shopper entity that OFBiz created when we bought something via the ecommerce site. Fire an https request, control/orderview?orderId=WS10000, to webapp ordermgr.

We're looking at the details of the order we created and processed in Chapter 1. In the Contact Information screenlet, we see the familiar details of the anonymous shopper who created the order.

Looking at the name of the anonymous shopper (OFBiz Researcher), we see a system ID (identification number, 10000 in this case) assigned to the shopper. This ID uniquely identifies the shopper in the OFBiz database. Click on the ID to view the detailed profile screen for the shopper. This will bring us to the webapp partymgr. We'll be asked to log in again because we just clicked on an external link (external to webapp...