Apache OFBiz

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(相关链接)
(图集)
 
(未显示1个用户的115个中间版本)
第1行: 第1行:
 
{{SeeWikipedia}}
 
{{SeeWikipedia}}
 +
 +
[[文件:apache-ofbiz-logo.png|right]]
 +
 
[[Image:Ofbiz-logo.jpg|right]]
 
[[Image:Ofbiz-logo.jpg|right]]
  
OFBiz 已经正式成为 Apache 的顶级项目: Apache OFBiz
 
 
[[Image:ofbiz-business-flow.png|right|thumb|OFBiz商业处理流程]]
 
[[Image:ofbiz-business-flow.png|right|thumb|OFBiz商业处理流程]]
  
Apache OFBiz 是一个开放的电子商务平台和ERP套件。
+
Apache OFBiz 是一个开源的电子商务平台和 [[ERP]] 套件。
==What==
+
 
 +
==简介==
 
[[Image:OFBiz-Architecture.gif|right|thumb|OFBiz Architecture]]
 
[[Image:OFBiz-Architecture.gif|right|thumb|OFBiz Architecture]]
 
* OFBiz is a general purpose framework for building software that controls common business processes
 
* OFBiz is a general purpose framework for building software that controls common business processes
第12行: 第15行:
 
* The OFBiz data schema is based on Len Silverston’s comprehensive survey of industry data modeling practices
 
* The OFBiz data schema is based on Len Silverston’s comprehensive survey of industry data modeling practices
 
* OFBiz provides more than 700 data classes representing common business structures
 
* OFBiz provides more than 700 data classes representing common business structures
==Features==
+
 
 +
[[Moqui]] Ecosystem,Apache OFBiz 的新一代产品和下一代框架。
 +
 
 +
==新闻==
 +
 
 +
==功能==
 
* Advanced e-commerce (integrated catalog, pricing, order and sales management)
 
* Advanced e-commerce (integrated catalog, pricing, order and sales management)
 
* Customer relationship management
 
* Customer relationship management
第19行: 第27行:
 
* Work efforts (manufacturing, events, tasks, etc.)
 
* Work efforts (manufacturing, events, tasks, etc.)
 
* Content management (product content, web sites, documents, blogging, forums, etc)
 
* Content management (product content, web sites, documents, blogging, forums, etc)
==Install==
+
 
 +
==版本==
 +
[https://downloads.apache.org/ofbiz/ OFBiz Release History]
 +
*18.12
 +
*17.12
 +
*16.11
 +
*14.12
 +
*13.07
 +
*12.04
 +
*11.04
 +
*10.04
 +
*09.04
 +
 
 +
==指南==
 +
下载 [https://mirrors.gigenet.com/apache/ofbiz/apache-ofbiz-17.12.04.zip 17.12] 系列,需要 JDK 8
 +
cd apache-ofbiz-17.12.04
 +
$ sh gradle/init-gradle-wrapper.sh
 +
$ gradle wrapper --gradle-version 6.7.1
 +
$ ./gradlew tasks
 +
$ ./gradlew projects
 +
$ ./gradlew cleanAll loadAll
 +
$ ./gradlew ofbiz
 +
http://localhost:8080/ecommerce
 +
https://localhost:8443/webtools
 +
admin/ofbiz
 +
or
 
  $ svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
 
  $ svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
  $ ant run-install
+
  $ ant load-demo or ant load-demo-multitenant or ant run-install  
 
  $ java -jar ofbiz.jar
 
  $ java -jar ofbiz.jar
 
or  
 
or  
 
  get current version from http://download.huihoo.com/apache/ofbiz/
 
  get current version from http://download.huihoo.com/apache/ofbiz/
 
This will give a base install running on an embedded Derby database and web services listening on port 8080 and 8443  
 
This will give a base install running on an embedded Derby database and web services listening on port 8080 and 8443  
  http://localhost:8080/ecommerce
+
  http://localhost:8080/ecommerce // 电子商务, 网店系统
  http://localhost:8080/manufacturing
+
  http://localhost:8080/manufacturing // 生产制造, ERP系统
 
  user:admin/flexadmin/demoadmin, password:ofbiz
 
  user:admin/flexadmin/demoadmin, password:ofbiz
==Technical==
+
 
 +
修改端口: trunk/framework/base/config/ofbiz-containers.xml  <property name="port" value="8080"/>
 +
 
 +
==项目==
 +
Products based on Apache OFBiz
 +
*[[BigFish]]
 +
*[[Opentaps]]
 +
*[[Neogia]]
 +
*[[E3 ofbiz]] [https://github.com/huihoo/ofbiz-smart OFbiz Smart]
 +
*[[Atlassian JIRA]] (Commercial)
 +
*[https://github.com/zhengxyit/ofbiz-mini-saas ofbiz-mini-saas] 基于Ofbiz15.02改造的支持SaaS
 +
*[https://github.com/GreenTeaEc/GreenTea1412 GreenTea1412]
 +
*[https://github.com/yeshm/mini-ofbiz mini-ofbiz]
 +
*[https://github.com/csy2013/freedgo-ofbiz freedgo] A Distributed Deployable Framework base on Ofbiz.
 +
 
 +
==源码==
 +
git clone https://github.com/apache/ofbiz.git
 +
trunk : $ svn co https://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
 +
release12.04 : $ svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04 ofbiz.12.04
 +
release11.04 : $ svn co https://svn.apache.org/repos/asf/ofbiz/branches/release11.04 ofbiz.11.04
 +
release10.04 : $ svn co https://svn.apache.org/repos/asf/ofbiz/branches/release10.04 ofbiz.10.04
 +
https://cwiki.apache.org/OFBADMIN/ofbiz-source-repository-and-access.html
 +
 
 +
==框架==
 +
[https://github.com/apache/ofbiz-framework OFBiz Framework]
 +
 
 +
OFBiz Framework 是涉及实体引擎、服务引擎、屏幕、规则引擎、工作流等核心部分。
 +
 
 +
OFBiz 新一代产品和下一代框架:[[moqui]]
 +
 
 
[[Image:apache-ofbiz.-architecture.jpg|right|thumb|OFBiz Technical Architecture]]
 
[[Image:apache-ofbiz.-architecture.jpg|right|thumb|OFBiz Technical Architecture]]
 
[[Image:ofbiz-framework.gif|right|thumb|OFBiz Framework]]
 
[[Image:ofbiz-framework.gif|right|thumb|OFBiz Framework]]
  
===Screens===
+
===实体引擎===  
* Generic Screens
+
* Generic Forms
+
* HTML, XSL:FO, XUL
+
* Controller
+
===Entity Engine===  
+
 
Entity: small unit of data model  
 
Entity: small unit of data model  
 
* Data Model definded in XML: Entitymodel.xml, entitygroup.xml
 
* Data Model definded in XML: Entitymodel.xml, entitygroup.xml
第49行: 第106行:
 
* Schemas and queries are database agnostic
 
* Schemas and queries are database agnostic
 
* A caching infrastructure is provided to accelerate common lookups. Cache sizes can be adjusted on an Entity by Entity basis
 
* A caching infrastructure is provided to accelerate common lookups. Cache sizes can be adjusted on an Entity by Entity basis
===Service Engine===
+
 
 +
===服务引擎===
 
Service: small unit of business logic
 
Service: small unit of business logic
 
* Generic Business Logic defined in XML, Defined in services.xml
 
* Generic Business Logic defined in XML, Defined in services.xml
第67行: 第125行:
 
  <attribute name="shipmentShipGroupFacilityList" type="List" mode="OUT" optional="false"/>
 
  <attribute name="shipmentShipGroupFacilityList" type="List" mode="OUT" optional="false"/>
 
  </service>
 
  </service>
===Workflow===
+
===工作流===
 
* SECA
 
* SECA
* XPDL  
+
* XPDL
==Products==
+
 
Products based on Apache OFBiz
+
===模版===
*[[Atlassian JIRA]] (Commercial)
+
[[Apache FreeMarker]] 是 Apache OFBiz 的模版引擎
*[[Opentaps]]
+
 
*[[Neogia]]
+
[[Webslinger]] 模版系统
*[[Open Business Platform]]
+
 
==Source Code==
+
==插件==
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Source+Repository+and+Access
+
[https://github.com/apache/ofbiz-plugins OFBiz Plugins]
 +
*[https://github.com/apache/ofbiz-plugins/tree/trunk/ecommerce Ecommerce component]
 +
*[https://github.com/apache/ofbiz-plugins/tree/trunk/ofbiz-rest-impl Apache OFBiz plugin for REST]
 +
*[https://github.com/apache/ofbiz-plugins/tree/trunk/solr Apache Solr component] [[Apache Solr]]
 +
*[https://github.com/apache/ofbiz-plugins/tree/trunk/lucene Apache Lucene component] [[Apache Lucene]]
 +
 
 +
==工具==
 +
[https://github.com/apache/ofbiz-tools OFBiz Tools]
 +
 
 +
==应用==
 +
OFBiz Applications 是可实施的企业应用套件, 包含以下应用: 网店/POS, 订单处理, 产品/目录管理, 会员管理, 销售管理, 市场管理, 场所管理, 生产管理, 财务管理, 应收帐, 应付帐, 人力资源管理, 资产管理, 项目管理, 工作计划, 系统管理。
 +
 
 +
*Accounting Manager
 +
Setup your chart of accounts, manage agreements, billing, invoices, payments, and more.
 +
*Catalog Manager
 +
Create catalogs and populate products by categories. Maintain product features, price rules, promotions, subscriptions, reviews, and more.
 +
*Content Manager
 +
Underlying CMS capability that can be customized to manage website content, blogs, surveys, and more.
 +
*Facility Manager
 +
Pick, pack, and ship while maintaining inventory information.
 +
*Manufacturing Manager
 +
MRP, job shop, routing and routing task screens, and BOM screens.
 +
*Marketing Manager
 +
Maintaining mailing lists, manage online marketing campaigns that are fully integrated with e-commerce.
 +
*Order Manager
 +
Manage purchase and sales orders, create orders, handle returns.
 +
*Party Manager
 +
Create individuals and groups, manage roles.
 +
*Webtools Application
 +
Track site traffic and related performance metrics.
 +
*WorkEffort Manager
 +
Events, calendar, project management, and more ready to be customized to meet your specific needs.
 +
 
 +
===OFBiz CMS===
 +
[https://github.com/huihoo/ofbiz-cms OFBiz CMS]是基于OFBiz框架的CMS系统,集合了邮件,电子商务,ERP,站点静态化,流程管理,站点关系等等功能。你得到的不仅仅是CMS,你同时还能得到一套业务规范的ERP,电子商务应用。
 +
 
 
==PostgreSQL==
 
==PostgreSQL==
 
[[Image:ofbiz-postgresql.png|right|thumb|OFBiz and PostgreSQL]]
 
[[Image:ofbiz-postgresql.png|right|thumb|OFBiz and PostgreSQL]]
postgresql-8.3-603.jdbc4.jar 放到 ofbiz-trunk\framework\entity\lib\jdbc
+
下载 [http://jdbc.postgresql.org/download.html PostgreSQL JDBC Driver] 将类似 postgresql-9.1-903.jdbc4.jar 的驱动程序放到 ofbiz-trunk\framework\entity\lib\jdbc
  createuser -S -D -R -P -E ofbiz  
+
  createuser -S -D -R -P -E ofbiz ofbiztenant ofbizolap
 
  createdb -O ofbiz ofbiz
 
  createdb -O ofbiz ofbiz
 
修改 ofbiz-trunk\framework\entity\config\entityengine.xml  
 
修改 ofbiz-trunk\framework\entity\config\entityengine.xml  
  
 
  <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">  
 
  <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">  
<group-map group-name="org.ofbiz" datasource-name="'''localpostgres'''"/>  
+
    <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
 +
    <group-map group-name="org.ofbiz.olap" datasource-name="localpostolap"/>
 +
    <group-map group-name="org.ofbiz.tenant" datasource-name="localposttenant"/>
 
  ...  
 
  ...  
 
  </delegator>  
 
  </delegator>  
第101行: 第196行:
 
  </datasource>  
 
  </datasource>  
 
cd $OFBIZDIR
 
cd $OFBIZDIR
 +
ant load-demo 或 java -jar ofbiz.jar install
 +
ant start
 +
or 老版本
 
  ant run-install // to populate the data in PostgreSQL
 
  ant run-install // to populate the data in PostgreSQL
 
  java -jar ofbiz.jar
 
  java -jar ofbiz.jar
  
==GlassFish==
+
==JBoss==
==ZK==
+
 
http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
+
==Nginx==
 +
[http://jiasudu.iteye.com/blog/1025785 Nginx+OFBiz]
 +
 
 +
==[[ZK]]==
 +
*[https://cwiki.apache.org/confluence/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial ZK Rich Client - integration tutorial]
 +
 
 +
==XUL==
 +
OFBiz 使用 [[XUL]] 定义POS终端用户界面。
 +
 
 
==OSGi==
 
==OSGi==
OFBiz OSGi Integration https://sourceforge.net/projects/ofbiz-osgi/
+
一个实体要“敏捷”,它的结构就需要有高度的模块化。因此,关于敏捷的问题应该从“如何构建敏捷的业务系统?”变成“如何构建高度模块化的业务系统?”
==配置==
+
*[http://docs.huihoo.com/osgi/agility-and-modularity-v2-2014.pdf 敏捷与模块化 Agility and Modularity]
修改端口: trunk/framework/base/config/ofbiz-containers.xml  <property name="port" value="8080"/>
+
*[https://sourceforge.net/projects/ofbiz-osgi/ OFBiz OSGi Integration]
+
*[http://www.opentaps.org/docs/index.php/Opentaps-osgi opentaps-osgi]
==应用==
+
 
*Accounting Manager
+
==Scala==
Setup your chart of accounts, manage agreements, billing, invoices, payments, and more.
+
将 [[Scala]] 引入 OFBIz
*Catalog Manager
+
*参考 [[Apache Camel]] [http://camel.apache.org/scala-dsl.html Scala DSL]
Create catalogs and populate products by categories. Maintain product features, price rules, promotions, subscriptions, reviews, and more.
+
 
*Content Manager
+
==界面==
Underlying CMS capability that can be customized to manage website content, blogs, surveys, and more.
+
* Generic Screens
*Facility Manager
+
* Generic Forms
Pick, pack, and ship while maintaining inventory information.
+
* HTML, XSL:FO, [[XUL]]
*Manufacturing Manager
+
* Controller
MRP, job shop, routing and routing task screens, and BOM screens.
+
*Marketing Manager
+
Maintaining mailing lists, manage online marketing campaigns that are fully integrated with e-commerce.
+
*Order Manager
+
Manage purchase and sales orders, create orders, handle returns.
+
*Party Manager
+
Create individuals and groups, manage roles.
+
*Webtools Application
+
Track site traffic and related performance metrics.
+
*WorkEffort Manager
+
Events, calendar, project management, and more ready to be customized to meet your specific needs.
+
  
 
==第三方集成==
 
==第三方集成==
 
===支付网关===
 
===支付网关===
 +
[[文件:apache-ofbiz-payment-gateways.gif]]
 +
===物流===
 +
[[文件:apache-ofbiz-shipping.jpg]]
 +
===多渠道===
 +
[[文件:apache-ofbiz-multi-channel.gif]]
 +
===第三方Checkout===
 +
[[文件:apache-ofbiz-3rd-party-checkout.gif]]
 +
===SSO和身份管理===
 +
[[文件:apache-ofbiz-identity-management.jpg]]
 +
===Magento===
 +
[[文件:apache-ofbiz-magento.jpg]]
 +
*[http://www.opentaps.org/docs/index.php/Opentaps_Magento_Integration Opentaps Magento Integration]
  
==相关链接==
+
==商城==
*http://ofbiz.apache.org/
+
[https://github.com/apache/ofbiz-plugins/tree/trunk/ecommerce Apache Ecommerce component]
*http://download.huihoo.com/apache/ofbiz/
+
*http://docs.huihoo.com/apache/ofbiz/
+
*[http://ci.apache.org/projects/ofbiz/snapshots/ OFBiz Nightly Trunk Snapshots]
+
*[http://docs.huihoo.com/open-source/ofbiz.html 开源项目Ofbiz的战略规划]
+
  
==Powered by==
+
此外,可整合 [[PHP]]、[[Python]]、[[Ruby]] 等语言开发的电子商城。
 +
*[[Magento]]
 +
 
 +
==POS系统==
 +
Apache OFBiz 提供了 Web POS 系统,但距离实际使用还有很多工作要做。
 +
 
 +
整合 [[OpenPOS]]
 +
 
 +
==多租户==
 +
https://cwiki.apache.org/OFBIZ/multitenancy-support.html
 +
 
 +
有专门的数据库:ofbiztenant 提供对多租户的支持。
 +
 
 +
==搜索==
 +
集成了 [[Apache Solr]]
 +
 
 +
==演示==
 +
*[https://demo-trunk.ofbiz.apache.org/ap/control/main Apache 提供] admin、ofbiz
 +
*[http://ofbizdemo.hotwaxmedia.com/control/main Hotwax Media 提供]
 +
 
 +
==指南==
 +
*[[Apache OFBiz/user|用户指南]]
 +
*[[Apache OFBiz/developer|开发者指南]]
 +
*[[Apache OFBiz/security|安全]]
 +
*[[Apache OFBiz/training|培训]]
 +
*[http://www.hotwaxmedia.com/ofbiz/tutorials OFBiz Tutorials]
 +
 
 +
==开放标准==
 +
*[http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=ubl OASIS Universal Business Language(UBL)]
 +
*[[XBRL]]
 +
*[[OAGIS]]
 +
以下消息在 specialpurpose/oagis 组件中实现:
 +
*Confirm BOD (send and receive)
 +
*Process Shipment (send)
 +
*Receive Delivery (Send)
 +
*Sync Inventory (receive)
 +
*Show Shipment (receive)
 +
*Acknowledge Delivery (receive), for PO, RMA, Status Change
 +
这些消息以服务的形式定义在 specialpurpose/oagis/servicedef/services.xml 文件中,实现的是老版本OAGIS 7.2.1,当前版本是OAGIS9.3。
 +
 
 +
==文档==
 +
*[http://docs.huihoo.com/apache/apachecon/us2015/Why-large-companies-use-Apache-OFBiz-open-source-ERP.pdf Why large companies use Apache OFBiz]
 +
*[http://docs.huihoo.com/apache/apachecon/us2015/Using-Docker-for-Development-of-Production-Systems-based-on-OFBiz.pdf OFBiz Development with Docker]
 +
*[http://docs.huihoo.com/apache/apachecon/us2015/State-of-Apache-OFBiz.pdf State of Apache OFBiz]
 +
*[http://docs.huihoo.com/apache/apachecon/us2015/How-To-Avoid-Common-Mistakes-In-OFBiz-Development.pdf How to Avoid Common Mistakes in OFBiz Development]
 +
*[http://docs.huihoo.com/apache/apachecon/us2015/Building-mobile-business-applications-with-Apache-OFBiz.pdf Mobile development with Apache OFBiz]
 +
*[http://docs.huihoo.com/apache/apachecon/us2014/Introduction-to-Developing-Application-for-Apache-OFBiz-framework.pdf Introduction to Developing Application for Apache OFBiz framework]
 +
*[http://docs.huihoo.com/apache/apachecon/eu2014/introduction-to-a-groovy-based-dsl-for-apache-ofbiz.pdf Introduction to a Groovy based DSL for Apache OFBiz]
 +
*[http://docs.huihoo.com/apache/apachecon/eu2014/introduction-to-a-recommender-system-for-apache-ofbiz.pdf Introduction to a Recommender System for Apache OFBiz]
 +
*[http://docs.huihoo.com/apache/apachecon/eu2014/gui-unit-tests-for-apache-ofbiz.pdf GUI unit tests for Apache OFBiz]
 +
*[http://docs.huihoo.com/apache/apachecon/eu2014/apache-ofbiz-infra-task-automation-for-deployment-and-hosting.pdf Apache OFBiz Infra Task Automation For Deployment And Hosting]
 +
*[http://docs.huihoo.com/apache/apachecon/eu2014/apache-ofbiz-what-do-business-users-see-and-want.pdf Apache OFBiz: What do Business Users See and Want?]
 +
*[http://docs.huihoo.com/apache/apachecon/eu2014/Brewing-with-Apache-OFBiz.pdf Brewing with Apache OFBiz]
 +
*[http://docs.huihoo.com/apache/ofbiz/ofbiz-framework-introduction.pdf OFBiz Framework Introduction]
 +
*[http://docs.huihoo.com/apache/ofbiz/example-entity-model-diagram.pdf Example Entity Model Diagram]
 +
*[http://docs.huihoo.com/apache/ofbiz/ofbiz-framework-quick-reference-book.pdf OFBiz Framework Quick Reference Book]
 +
*[http://docs.huihoo.com/apache/ofbiz/quick-reference-book-artifact-reference-diagram.pdf Quick Ref Book: Artifact Reference Diagram]
 +
 
 +
==用户==
 
[[Image:ofbiz-cart.png|right]]
 
[[Image:ofbiz-cart.png|right]]
 +
*[[BigFish]]
 +
*[http://www.1800athlete.com/ 1800Athlete.com] 定制的非常不错
 
*http://www.twpinc.com/
 
*http://www.twpinc.com/
 
*http://www.justjewelry.com/
 
*http://www.justjewelry.com/
第152行: 第315行:
 
*http://www.visioninfo.com/
 
*http://www.visioninfo.com/
 
*http://www.opensourceforamerica.org/ 网站由OFBiz的服务商Brainfood采用OFBiz+[[Varnish]]开发完成
 
*http://www.opensourceforamerica.org/ 网站由OFBiz的服务商Brainfood采用OFBiz+[[Varnish]]开发完成
 +
*[http://docs.huihoo.com/baihuogou/百货购OFBiz实践-20140522.pdf 百货购OFBiz实践]
 
More User: http://docs.ofbiz.org/display/OFBIZ/Apache+OFBiz+User+Stories
 
More User: http://docs.ofbiz.org/display/OFBIZ/Apache+OFBiz+User+Stories
 +
*[https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+User+List Apache OFBiz User List]
 +
 +
==图集==
 +
<gallery>
 +
image:apache-ofbiz-architecture.png|架构
 +
image:apache-ofbiz-product.png|产品
 +
image:apache-ofbiz-order-12.04.01.png|订单
 +
image:apache-ofbiz-pos-12.04.01.png|POS
 +
image:apache-ofbiz-help-system.png|帮助系统
 +
image:apache-ofbiz-component-dependencies.jpg|组件依赖
 +
image:apache-ofbiz-entity-references.png|实体引用
 +
image:apache-ofbiz-partymgr-visit-detail.png|用户点击跟踪
 +
</gallery>
 +
 +
==解决方案==
 +
[[Apache OFBiz/solution|Apache OFBiz 行业解决方案]]
 +
 
==服务公司==
 
==服务公司==
*http://www.hotwaxmedia.com/
+
*http://www.hotwaxmedia.com/ Apache OFBiz首席服务商
 +
*[[E3 ofbiz|灰狐]] [[We build open source erp]]
 
*http://antwebsystems.com
 
*http://antwebsystems.com
 +
*http://brainfood.com/ 有超过10年OFBiz开发和服务的发展历程
 
*http://www.unimatrix.net/ Hosting
 
*http://www.unimatrix.net/ Hosting
*http://www.langhua.cn (国内)
+
*[http://www.razorfishlongtuo.com/ 睿域龙拓]
*http://huigou.org (国内)
+
Razorfish longtuo is a E-Business expert for OFBiz applications. Providing E-Business platform construction and services of operation, consulting, marketing.
 +
*[http://huihoo.com/services/ofbiz-training.html Apache OFBiz 培训]
 +
更多:[https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Service+Providers Apache OFBiz Service Providers]
  
{{Comment}}
+
==链接==
 +
*[http://ofbiz.apache.org/ Apache OFBiz官网]
 +
*[https://github.com/apache/ofbiz-framework OFBiz Framework]
 +
*[https://github.com/apache/ofbiz-plugins OFBiz Plugins]
 +
*[http://docs.huihoo.com/apache/ofbiz/ Apache OFBiz开放文档]
 +
*[http://docs.huihoo.com/javadoc/apache/ofbiz Apache OFBiz Javadoc]
 +
*[http://ci.apache.org/projects/ofbiz/snapshots/ OFBiz Nightly Trunk Snapshots]
 +
*[http://docs.huihoo.com/open-source/ofbiz.html 开源项目Ofbiz的战略规划]
 +
*[http://jiasudu.iteye.com/blog/1170817 OFBiz CMS产品介绍]
 +
*[https://code.google.com/p/ofbizside/ ofbizside]
 +
*[https://github.com/billhongs/GreenTea GreenTea:扩展ofbiz满足大型电商的核心工程]
 +
*[https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo Cookbook, FAQ, Tips, Tricks, HowTo, etc.]
  
[[Category:B2B2C2C]]
+
[[category:Apache OFBiz]]
[[Category:ERP]]
+
[[category:B2B2C2C]]
[[Category:CRM]]
+
[[category:manufacturing]]
[[Category:Java]]
+
[[category:ERP]]
[[Category:Apache]]
+
[[category:CRM]]
 +
[[category:java]]
 +
[[category:apache]]
 +
[[category:huihoo]]
 +
[[category:e3]]

2021年7月22日 (四) 11:22的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Apache OFBiz Thanks, Wikipedia.
Apache-ofbiz-logo.png
Ofbiz-logo.jpg
OFBiz商业处理流程

Apache OFBiz 是一个开源的电子商务平台和 ERP 套件。

目录

[编辑] 简介

OFBiz Architecture
  • OFBiz is a general purpose framework for building software that controls common business processes
  • Unlike many systems which provide abstract software structures, OFBiz attempts to supply a set of data structures and software libraries for managing more concrete business elements such as orders, employees, contracts, and manufacturing processes
  • The OFBiz data schema is based on Len Silverston’s comprehensive survey of industry data modeling practices
  • OFBiz provides more than 700 data classes representing common business structures

Moqui Ecosystem,Apache OFBiz 的新一代产品和下一代框架。

[编辑] 新闻

[编辑] 功能

  • Advanced e-commerce (integrated catalog, pricing, order and sales management)
  • Customer relationship management
  • Warehouse management and fulfillment (auto stock moves, batched pick, pack and ship)
  • Accounting (invoice, payment and billing accounts, fixed assets)
  • Work efforts (manufacturing, events, tasks, etc.)
  • Content management (product content, web sites, documents, blogging, forums, etc)

[编辑] 版本

OFBiz Release History

  • 18.12
  • 17.12
  • 16.11
  • 14.12
  • 13.07
  • 12.04
  • 11.04
  • 10.04
  • 09.04

[编辑] 指南

下载 17.12 系列,需要 JDK 8

cd apache-ofbiz-17.12.04
$ sh gradle/init-gradle-wrapper.sh
$ gradle wrapper --gradle-version 6.7.1
$ ./gradlew tasks
$ ./gradlew projects
$ ./gradlew cleanAll loadAll
$ ./gradlew ofbiz
http://localhost:8080/ecommerce
https://localhost:8443/webtools
admin/ofbiz

or

$ svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
$ ant load-demo or ant load-demo-multitenant or ant run-install 
$ java -jar ofbiz.jar

or

get current version from http://download.huihoo.com/apache/ofbiz/

This will give a base install running on an embedded Derby database and web services listening on port 8080 and 8443

http://localhost:8080/ecommerce // 电子商务, 网店系统
http://localhost:8080/manufacturing // 生产制造, ERP系统
user:admin/flexadmin/demoadmin, password:ofbiz

修改端口: trunk/framework/base/config/ofbiz-containers.xml <property name="port" value="8080"/>

[编辑] 项目

Products based on Apache OFBiz

[编辑] 源码

git clone https://github.com/apache/ofbiz.git
trunk : $ svn co https://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
release12.04 : $ svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04 ofbiz.12.04
release11.04 : $ svn co https://svn.apache.org/repos/asf/ofbiz/branches/release11.04 ofbiz.11.04
release10.04 : $ svn co https://svn.apache.org/repos/asf/ofbiz/branches/release10.04 ofbiz.10.04

https://cwiki.apache.org/OFBADMIN/ofbiz-source-repository-and-access.html

[编辑] 框架

OFBiz Framework

OFBiz Framework 是涉及实体引擎、服务引擎、屏幕、规则引擎、工作流等核心部分。

OFBiz 新一代产品和下一代框架:moqui

OFBiz Technical Architecture
OFBiz Framework

[编辑] 实体引擎

Entity: small unit of data model

  • Data Model definded in XML: Entitymodel.xml, entitygroup.xml
  • GenericDelegator API
  • GenericValue API
  • Database Independent
  • OFBiz apps work with relational stores directly
  • Entity Engine provides a “ResultSet on steroids”interface to relational data called a GenericEntity

Entityengine.xml, fieldtype.xml, cache properties

  • Schemas and queries are database agnostic
  • A caching infrastructure is provided to accelerate common lookups. Cache sizes can be adjusted on an Entity by Entity basis

[编辑] 服务引擎

Service: small unit of business logic

  • Generic Business Logic defined in XML, Defined in services.xml
  • Dispatcher API
  • Services are exposed as stateless units of functionality with named parameters and can be called synchronous, asynchronous or scheduled
  • Services can be implemented in a variety of languages; The calling interface shields any calling code from the implementation details
  • Services can be delegated to remote machines via SOAP, XML-RPC and other messaging services; OFBiz services can also be externally exposed via the same protocols

Example Service

<service name="quickShipEntireOrder" engine="simple" auth="true" location="org/ofbiz/shipment/shipment/ShipmentServices.xml"
invoke="quickShipEntireOrder">
<description>Quick Ships An Entire Order Creating One Shipment Per Facility and Ship Group. All approved order items are automatically
issued in full and put into one package. The shipment is created in the INPUT status and then updated to PACKED and SHIPPED.
</description>
<attribute name="orderId" type="String" mode="IN" optional="false"/>
<attribute name="originFacilityId" type="String" mode="IN" optional="true"/>
<attribute name="setPackedOnly" type="String" mode="IN" optional="true"/>
<attribute name="shipmentShipGroupFacilityList" type="List" mode="OUT" optional="false"/>
</service>

[编辑] 工作流

  • SECA
  • XPDL

[编辑] 模版

Apache FreeMarker 是 Apache OFBiz 的模版引擎

Webslinger 模版系统

[编辑] 插件

OFBiz Plugins

[编辑] 工具

OFBiz Tools

[编辑] 应用

OFBiz Applications 是可实施的企业应用套件, 包含以下应用: 网店/POS, 订单处理, 产品/目录管理, 会员管理, 销售管理, 市场管理, 场所管理, 生产管理, 财务管理, 应收帐, 应付帐, 人力资源管理, 资产管理, 项目管理, 工作计划, 系统管理。

  • Accounting Manager

Setup your chart of accounts, manage agreements, billing, invoices, payments, and more.

  • Catalog Manager

Create catalogs and populate products by categories. Maintain product features, price rules, promotions, subscriptions, reviews, and more.

  • Content Manager

Underlying CMS capability that can be customized to manage website content, blogs, surveys, and more.

  • Facility Manager

Pick, pack, and ship while maintaining inventory information.

  • Manufacturing Manager

MRP, job shop, routing and routing task screens, and BOM screens.

  • Marketing Manager

Maintaining mailing lists, manage online marketing campaigns that are fully integrated with e-commerce.

  • Order Manager

Manage purchase and sales orders, create orders, handle returns.

  • Party Manager

Create individuals and groups, manage roles.

  • Webtools Application

Track site traffic and related performance metrics.

  • WorkEffort Manager

Events, calendar, project management, and more ready to be customized to meet your specific needs.

[编辑] OFBiz CMS

OFBiz CMS是基于OFBiz框架的CMS系统,集合了邮件,电子商务,ERP,站点静态化,流程管理,站点关系等等功能。你得到的不仅仅是CMS,你同时还能得到一套业务规范的ERP,电子商务应用。

[编辑] PostgreSQL

OFBiz and PostgreSQL

下载 PostgreSQL JDBC Driver 将类似 postgresql-9.1-903.jdbc4.jar 的驱动程序放到 ofbiz-trunk\framework\entity\lib\jdbc

createuser -S -D -R -P -E ofbiz ofbiztenant ofbizolap
createdb -O ofbiz ofbiz

修改 ofbiz-trunk\framework\entity\config\entityengine.xml

<delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false"> 
    <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
    <group-map group-name="org.ofbiz.olap" datasource-name="localpostolap"/>
    <group-map group-name="org.ofbiz.tenant" datasource-name="localposttenant"/>
... 
</delegator> 
<datasource name="localpostgres" 
... 
<inline-jdbc 
jdbc-driver="org.postgresql.Driver" 
 jdbc-uri="jdbc:postgresql://127.0.0.1:5432/ofbiz" 
jdbc-username="ofbiz" 
jdbc-password="ofbiz" 
isolation-level="ReadCommitted" 
pool-minsize="2" 
pool-maxsize="250"/> 
</datasource> 

cd $OFBIZDIR

ant load-demo 或 java -jar ofbiz.jar install
ant start 
or 老版本
ant run-install // to populate the data in PostgreSQL
java -jar ofbiz.jar

[编辑] JBoss

[编辑] Nginx

Nginx+OFBiz

[编辑] ZK

[编辑] XUL

OFBiz 使用 XUL 定义POS终端用户界面。

[编辑] OSGi

一个实体要“敏捷”,它的结构就需要有高度的模块化。因此,关于敏捷的问题应该从“如何构建敏捷的业务系统?”变成“如何构建高度模块化的业务系统?”

[编辑] Scala

Scala 引入 OFBIz

[编辑] 界面

  • Generic Screens
  • Generic Forms
  • HTML, XSL:FO, XUL
  • Controller

[编辑] 第三方集成

[编辑] 支付网关

Apache-ofbiz-payment-gateways.gif

[编辑] 物流

Apache-ofbiz-shipping.jpg

[编辑] 多渠道

Apache-ofbiz-multi-channel.gif

[编辑] 第三方Checkout

Apache-ofbiz-3rd-party-checkout.gif

[编辑] SSO和身份管理

Apache-ofbiz-identity-management.jpg

[编辑] Magento

Apache-ofbiz-magento.jpg

[编辑] 商城

Apache Ecommerce component

此外,可整合 PHPPythonRuby 等语言开发的电子商城。

[编辑] POS系统

Apache OFBiz 提供了 Web POS 系统,但距离实际使用还有很多工作要做。

整合 OpenPOS

[编辑] 多租户

https://cwiki.apache.org/OFBIZ/multitenancy-support.html

有专门的数据库:ofbiztenant 提供对多租户的支持。

[编辑] 搜索

集成了 Apache Solr

[编辑] 演示

[编辑] 指南

[编辑] 开放标准

以下消息在 specialpurpose/oagis 组件中实现:

  • Confirm BOD (send and receive)
  • Process Shipment (send)
  • Receive Delivery (Send)
  • Sync Inventory (receive)
  • Show Shipment (receive)
  • Acknowledge Delivery (receive), for PO, RMA, Status Change

这些消息以服务的形式定义在 specialpurpose/oagis/servicedef/services.xml 文件中,实现的是老版本OAGIS 7.2.1,当前版本是OAGIS9.3。

[编辑] 文档

[编辑] 用户

Ofbiz-cart.png

More User: http://docs.ofbiz.org/display/OFBIZ/Apache+OFBiz+User+Stories

[编辑] 图集

[编辑] 解决方案

Apache OFBiz 行业解决方案

[编辑] 服务公司

Razorfish longtuo is a E-Business expert for OFBiz applications. Providing E-Business platform construction and services of operation, consulting, marketing.

更多:Apache OFBiz Service Providers

[编辑] 链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱