Chapter 2: Working with OFBiz
来源:互联网 发布:excel透视数据图的字段 编辑:程序博客网 时间:2024/06/06 08:15
特别注意:OFBiz版本是Release 4.0,其他版本的可能会导致显示不正确的问题!!
Create Our First Webapp
<webapp name="practice"title="Practice"server="default-server"base-permission="OFBTOOLS"location="webapp/practice"mount-point="/practice"app-bar-display="true"/>
需要注意的是,这里的title,影响的是menu bar上的显示:
MVC of OFBiz
M - Model, static, refers to the data structure of the software. A "model" is a collection of data entities in a network of relationships with one another.
The Model in OFBiz is defined in ${component:party}\entitydef\entitymodel.xml. Each OFBiz component can have one (or zero) of such folders.
V - View, static, that is, the user-interface.static.
When using the OFBiz widget technology, user-interface definitions reside in folders named widget.
When using HTML or FTL technologies, user-interface definitions should reside in folders named webapp.
C - Controller, dynamic, refers to the wiring between the Model and the View, defines business logic and work flow of software.
When using pure Java, business logic definitions should reside in folders named src .
When using Minilang or BeanShell, business logic definitions usually reside in folders named script, and also in the folder WEB-INF\actions inside webapp.
When using Event-Condition-Action (ECA), business logic is defined in the folder servicedef, in file seca.xml or eeca.xml.
When using OFBiz Services, business logic definitions span over the folders servicedef and script. In the folder servicedef, files with names starting "services" (for example services.xml, service_view.xml) declare the usage pattern of services. Complementing that, in the folder script or src , we have the actual implementation or definition of those services. script和src中才是具体实现!
The files controller.xml and web.xml in the folder WEB-INF are also considered controller components in the MVC architecture.
- Chapter 2: Working with OFBiz
- Chapter 7.Working with Bitmaps
- Chapter 1: Working with strings
- Chapter 03 Working with batches of data
- Chapter 7. Working with ASP.NET and VB .NET
- Chapter 5——Working with Transcat-SQL
- Working with Events, part 2
- Working with Struts 2 actions
- Working with form fields---2
- Graph Databases—Chapter 4 Working with Graph Data阅读笔记
- 与android database 交互(chapter 14-Working with the SQLite Database)
- Working With The File System & Streams (2)
- unit 2 Working with virtual consoles
- Working with Struts 2 actions 读书笔记
- Run OFBiz with MySQL
- <<python computer vision with opencv>> chapter 2
- Working with XML nodes
- Working With System Events
- 使用 Eclipse 调试 Java 程序的 10 个技巧(转载)
- grails run-app 的时候内存不够怎么办?
- 有用的小代码
- ASP.NET 页面传值总结
- C# Socket 异步 聊天室
- Chapter 2: Working with OFBiz
- 安装MATLAB 2010b出现的问题及解决方法
- AutoCompleteTextView使用探索
- 高通拼抢国内芯片市场 联发科海外拓展难安心
- codeIgniter MVC中的V层用.php文件而不是.html
- C++学习笔记之操作符重载
- 2012-2013中国IT技术应用趋势调查报告
- Cognos 10.1 饼图百分比小数点显示的问题
- 多种方式生成WebServices客户端