Friday, August 27, 2010

OpenXava

OpenXava (www.openxava.org) is a model driven application framework.The idea is to build your application using JPA and enrich entities by extra-tags so openXava can generates screens.

The core idea is excellent because it throws away the MCV things and centers development around core business objects.

My first exposure is through their book on lulu - see http://www.lulu.com/browse/search.php?fListingClass=0&fSearch=openxava.

This book is clearly worth the requested 9$. My only regret, internationalization is not covered - but OpenXava does support at least label translation.

OpenXava itself looks promising however it relies on Java portal (e.g: Liferay) to provide an interface shell and security. Obviously the portal aspect can be seen  as a benefit, but it means also that you need a strong hardware platform to go ahead.

Security management through the portal is may be also a bit short, just granting access to screens will probably not enough for serious enterprise application.

The look and feel is also very rough although they support Ajax making a really appealing product from it will be a challenge.

Summary compare to OpenObject:

+ JAVA
+ JPA / HIbernate
+ J2EE application without a hammer in your head
+ High potential in productivity
+ What you cannot do with it, you can do it using JSP...
= I18n features basic but present
= Portal (nice but imho heavy tech and a bit old-fashioned because portals were designed before Ajax)
- Rustic look & feel
- Elementary security through portal
- Internationalization does not take care of domain / fields translation (e.g: multiple names for a product)
- No reporting (need to use something else, no hint about integration put feasible)
- No deployment concepts as in OO

So if you forced to use Java, if you like using a strong ORM... it is worth looking at. But don't forget that the net result will be the deployment of the full Java stack which for small business remains a pain.

Thursday, August 19, 2010

A small but nice article about some MDA Java Framework

 http://www.tikalk.com/java/domain-driven-java-frameworks-review

Well may be when I get tired of Open ERP...

How to reset a user's Joomla password

 Using the following sql script will reset the password of admin to '1234'

UPDATE `jos_users` SET `password` = MD5( '1234' ) WHERE `jos_users`.`username` = "admin"

Wednesday, August 11, 2010

Open ERP Training module - how to install

Thanks to Alain van de Werve to point me to the following stuff to install the Open ERP training module:

Client:
lp:~openobject-training/+junk/client-training

Server:
lp:~openobject-training/+junk/server-training

Addons Extra:
lp:~openobject-training/+junk/addons-training

Addons Standard:
==> stable from OpenERP.



Dependencies - addons

board_training
board_training_intra
portal_training
profile_training
training
training_degree
training_diagnostic
training_evaluation
training_exam
training_exam_processing
training_intra
training_process
training_report
training_room
warning_training

base_contact
base_contact_team
base_contact_crm

document_scan
smtpclient

account_analytic_plans
account_analytic_default
document

External
Zbar: http://zbar.sourceforge.net/
==> Il faut le compiler avec le module python normallement comme suis: (attention le 'make install' le fonctionne pas correctement pour python 2.6, il faut copier le .so manuellement) ==> ./configure --without-gtk --without-qt --without-imagemagick --with-python

Elaphe (http://pypi.python.org/pypi/elaphe/):
==> easy_install elaphe