[OFBiz]开发 四

    xiaoxiao2025-07-20  7

    1.在几个已安装的应用模块中,资产管理模块,是最简单的,可以从这个开始入手。 E:\eclipse-SDK-3.7.1-win32\ofbiz\apache-ofbiz-10.04\specialpurpose\assetmaint 2.它的国际化资源文件在: specialpurpose/assetmaint/config/IsMgrUiLabels.xml     

    <property key="IsMgrNewComputerSoftware"> <value xml:lang="en">New Software</value> <value xml:lang="fr">Nouveau logiciel</value> <value xml:lang="it">Nuovo software</value> <value xml:lang="zh">新软件</value> </property>

     

     

    3.specialpurpose/assetmaint/ofbiz-component.xml中配置了两个webapp:     

    <webapp name="assetmaint" title="AssetMaint" server="default-server" location="webapp/assetmaint" base-permission="ASSETMAINT" mount-point="/assetmaint" app-bar-display="true"/> <webapp name="ismgr" title="IS Mgr" server="default-server" app-bar-display="false" location="webapp/ismgr" base-permission="ASSETMAINT" mount-point="/ismgr"/>

     

     

    4.只有一个java文件: specialpurpose/assetmaint/src/org/ofbiz/assetmaint/FixedAssetMaintServices.java 它在:specialpurpose/assetmaint/build/lib/ofbiz-assetmaint.jar 它在这里被调用: specialpurpose/assetmaint/servicedef/services.xml

    <service name="addPartFixedAssetMaint" engine="java" location="org.ofbiz.assetmaint.FixedAssetMaintServices" invoke="addPartFixedAssetMaint" auth="true">

     

    services.xml又是被定义在ofbiz-component.xml:

    <service-resource type="model" loader="main" location="servicedef/services.xml"/>

     

    在services.xml中共定义了5个services, 其它4个是: location= " component://assetmaint/script/org/ofbiz/assetmaint/FixedAssetMaintServices.xml " 这个script脚本中的4个方法: assetMaintPermissionChec k createFixedAssetMaintUpd ateWorkEffort updateFixedAssetMaintAnd WorkEffort createWorkEffortAndAssoc WithParent 5. The most basic components in OFBiz are Entities and Services. 6.官网文档: Apache OFBiz Getting Started  ------>有一些链接和视频: https://cwiki.apache.org/OFBADMIN/apache-ofbiz-getting-started.html OFBiz Documentation Index ------->帮助文件的聚合: https://cwiki.apache.org/OFBADMIN/ofbiz-documentation-index.html 7.客户列表: https://cwiki.apache.org/OFBIZ/apache-ofbiz-user-list.html 其中以下客户: 1) opentaps Open Source ERP + CRM  ----->一个基于ofbiz的软件公司 2)   http://www.xuandoo.com   ------> 炫动网 ,一个基于opentaps的电子商务网站(中国) http://www.wizitsoft.com/    ----->北京威思艾特信息技术有限公司, 实施. 3)   http://www.antwebsystems.com/control/main      ----->一个基于ofbiz做实施的公司(泰国),在ofbiz中用户表中它是出现次数最多的公司。
    转载请注明原文地址: https://ju.6miu.com/read-1300880.html
    最新回复(0)