...
- Monitoring and Maintaining the database
- Cleaning the database from unimportant data
- Users with disabled accounts are still able to login
- How to make redirection inside an application server without using mod_rewrite
- Handling of External data
- OAGIS
- How to hide products in eCommerce ?
- Performance : Server Hardware for Ofbiz hosting
- Physical Architecture patterns for OFBiz
- Custom Components in OFBiz
- Take advantages of a custom component
Quick Start Guides
- Getting and Running OFBiz in 5 steps (look, there are more Quick Start Guides under Jacopo's Wiki space)
...
Code Block |
---|
ProxyRequests Off <Proxy *> AddDefaultCharset off Order deny,allow Allow from all </Proxy> # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off \| On \| Full \| Block ProxyVia On NameVirtualHost *:80 <VirtualHost *:80> # General setup for the virtual host. ServerName www.example.com:443 ServerAdmin you@example.com ProxyRequests Off ProxyPreserveHost On proxyPass / ajp://localhost:8009/ RewriteEngine On RewriteRule ^/(images/.+);jsessionid=\w+$ /$1 </VirtualHost> include conf/httpd-ssl.conf (or include ../apache2/httpd-ssl.conf if using a file in sites-available on Debian/Ubuntu using a2ensite) |
...
I you need to use an svn repository on the same server the tip is to add
Code Block |
---|
proxyPass /svn ! |
just before
Code Block |
---|
proxyPass / ajp://localhost:8009/ |
...
Code Block |
---|
<!-- Begin of standard login procedure --> <tr> <td>open</td> <td>/manufacturing/control/logout</td> <td></td> </tr> <tr> <td>type</td> <td>USERNAME</td> <td>admin</td> </tr> <tr> <td>type</td> <td>PASSWORD</td> <td>ofbiz</td> </tr> <tr> <td>select</td> <td>locale</td> <td>value=fr</td> </tr> <tr> <td>clickAndWait</td> <td>submitButton</td> <td></td> </tr> <tr> <td>assertElementNotPresent</td> <td>//div[@class='errorMessage']</td> <td></td> </tr> <!-- End of standard login procedure --> |
Advices from Peter Goron
Anchor | ||||
---|---|---|---|---|
|
...
From a thread by Chris Howe and David Jones
Chris Howe: 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.
...
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"
...
What is considered the best practice in creating a custom web application with OFBIZ?
A David Jones's tip
One approach is to simply copy an entire component into a new directory and start hacking away at it until it fit your needs. This is a fine practice if you never have plans of bringing it up to date with a current revision or version. OFBIZ is currently making about 40 commits a week. By the time you complete your customizations, you are out of date.
...