[OFBiz] Users - New App Best Practice
Chris Howe
cjhowe76013 at yahoo.com
Tue May 31 00:46:13 EDT 2005
Could someone please confirm if the following is the
best practice of creating a new application and if
not, what the fallout of doing this would be?
Lets say that I want to create an application that
most closely matches the ecommerce app. I should
start with copied versions the following files only.
ofbizhome/specialized/myapp/build.xml
ofbizhome/specialized/myapp/ofbiz-component.xml
ofbizhome/specialized/myapp/webapp/myapp/WEB-INF/controller.xml
ofbizhome/specialized/myapp/webapp/myapp/WEB-INF/web.xml
ofbizhome/specialized/myapp/webapp/myapp/index.jsp
from this I should edit the following
build.xml:
find "ecommerce"
replace with "myapp"
ofbiz-component.xml:
find "ecommerce"
replace with "myapp"
web.xml:
change display name and description from "ecommerce"
to "myapp"
Then change specialized/component-load.xml to load
"myapp"
This should give you an exact duplication of
functionality of the copied ecommerce application
without the hundreds of thousands of lines of code.
Then by simply copying/creating the files that need to
be changed and changing the requests and views in
controller.xml you will have your new application, but
still benefit from svn updates.
What is the potential downside of this?
More information about the Users
mailing list