Re: [OFBiz] Users - New App Best Practice

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - New App Best Practice

David E. Jones

For anyone who was following this thread and is interested, check out  
revision 5426 and the comments on it to see how it has now been  
implemented in OFBiz.

-David


On Jun 2, 2005, at 8:07 PM, Chris Howe wrote:

> Where can I define the variable "webapp" so that it is
> available to the screens?  I'm not seeing any
> examples.  Web.xml doesn't seem to do the trick.
>
> ==========Original Message ===========
>
> id put it in the faq !
> http://ofbizwiki.go-integral.com/Wiki.jsp?page=FAQ21
>
> mit freundlichen GrĂ¼ssen/ Kind regards / muchos
> saludos
> --
> Dipl. Wirt.-Ing. Michael Pfurtscheller
> zentric  GmbH & Co. KG
> mobil: +49-172-5457143
> fon: +49-6101-556060
> fax: +49-6101-556065
> icq# 8724822
> mailto:michael.pfurtscheller at zentric.com
> http://www.zentric.com
>
> users-bounces at lists.ofbiz.org wrote on 31.05.2005
> 09:49:31:
>
>
>> Very interesting, thanks Chris, and David for the
>>
> confirmation.
>
>
>> Jacques
>>
>
>
>> ----- Original Message -----
>> From: "Chris Howe" <cjhowe76013 at yahoo.com>
>> To: <users at lists.ofbiz.org>
>> Sent: Tuesday, May 31, 2005 6:46 AM
>> Subject: [OFBiz] Users - New App Best Practice
>>
>
>
>>
>>
>>> 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?
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.ofbiz.org
>>> http://lists.ofbiz.org/mailman/listinfo/users
>>>
>>>
>
>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.ofbiz.org
>> http://lists.ofbiz.org/mailman/listinfo/users
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.ofbiz.org/pipermail/users/attachments/20050601/ 
> e33672a5/attachment.htm
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users