31 Dezember 2006

DTV Münschemier online!

My latest webdesign projects is now online:
DTV Müntschemier is a female gymnastics club.
Have a look...

30 Dezember 2006

New Project: PO File Editor for Eclipse

Since a few days I'm using gettext for L10N in rTPlan. Because I'm using Eclipse for development I'm missing a plugin for editing the po files like JInto for Resource Bundles.

Therefore I decided to create such a plugin. I registered a new project at SourceForge and I'm waiting for the approval an will then start with the programming.

28 Dezember 2006

Ruby on Rails and ä,ö,ü etc

If you need "Umlaute" in Ruby on Rails you can use the following filter
in the ApplicationController:


class
ApplicationController < ActionController::Base
before_filter :charset
def charset
if request.xhr?
@response.headers["Content-Type"] ||=
"
text/javascript; charset=iso-8859-1"

else
@response.headers["Content-Type"] ||=
"text/html; charset=iso-8859-1"
end
end
end

rTPlan and L10N

Currently I'm working on the L10N (Localization) of rTPlan using GetText. GetText is easy to use and the tutorials on the website are very helpfull.

In the next release rTPlan will also be available in German!
If you like to have rTPlan in your language don't hesitate to write an email to: simon@martinelli.ch

23 Dezember 2006

New Release of rTPlan

I had to add the missing referential integrity to rTPlan to avoid users to delete dependent entities.
Next release will be 0.4.0 with another set of reports.

My experiencd with Ruby on Rails so far:
  • It's fun!
  • Because of the MVC Pattern you get a very well structured application
  • With mongrel server it's fast and very easy to deploy
  • The concepts of the migrations is usefull. And you never have a problem with incompatible database schema.
I haven't found any disadvantage in comparison with PHP or Java Web Application.

21 Dezember 2006

Some Words about Maintainability

During a project there are often discussions about maintainability. Often between people that never maintained any application in their hole life!
They speak about loosly coupled systems with high cohesion. They do wired things such as converting an object at every interface boundry. (How should one find the usage of this object?)
The only thing to get an maintainable application is to keep it simple an DRY!

If you can use Ruby on Rails it's easy. But if you have to use Java don't overdesign your application with abstract classes or interfaces. Don't use transfer objects or other usless stuff!
All you normaly want to do is to present the data from the database to the user. So why should you create an integration, a business, a service and a client layer?

Try to come back to nicely designed object oriented applications with as few code as possible!

New Release of rTPlan

New version of rTPlan available.
Major improvement: added a WorkCategory to get more details about the reported work.

18 Dezember 2006

New Release of jBatchEngine

There is a new version 0.2.0 of jBatchEngine available.

New RubyOnRails Hoster

Unfortunatly Blackcurrant is ceasing trading next february :-(

So I took Hosting Rails.com as my new Ruby on Rails hoster.
They also support Mongrel and the server seams to be fast and the support is awesome!
Hope this will be the same in the future...

15 Dezember 2006

Open-jACOB RAD

Open-jACOB is a RAD Tool that generates web applications.
Anybody how's familiar with Access will be able to use it immediately.
It's very simple to use and generates a war-file to deploy to tomcat (or others).
Once deployed one can update the application.

I think for RAD it's a great tool and it's also very agile because one can create the forms directly with the customer.

Check it out!

08 Dezember 2006

OutOfMemory with Eclipse 3.2

I had OutOfMemoryErrors very often with Eclipse 3.2.
Now I use the following vmargs and have a real performance boost:
-vmargs
-Xms512m
-Xmx1024m
-Xss2m
-XX:MaxPermSize=256m

04 Dezember 2006

Reporter

There is a similar Tool to my rTPlan called Reporter!
Have a look.

27 November 2006

Code Coverage for Ruby on Rails

rcov is a Code Coverage Tool for Ruby on Rails similar to Emma for Java.
Read the article on Agile Web Development for a short tutorial.

Have a look at the current code coverage report for rTPlan.

17 November 2006

ActiveRecord :dependent => :protect plugin

I found a very usefull Plugin for Ruby on Rails:
http://ruido-blanco.net/blog/rails-dependent-protect-plugin-english

It prevents destroying a record if it still has some associated records!
Thanks to Ruido!

12 November 2006

New Ruby on Rails Hoster

Since yesterday I have a new Ruby on Rails Hoster: Blackcurrant Hosting
It supports Mongrel and is really fast and the support is good.

10 November 2006

Ruby on Rails and Relationships

I found a great article for alle beginners about relationships:
http://www.railsforum.com/viewtopic.php?id=265

rPlan -> rTPlan

To avoid any trademark conflicts rPlan was renamed to rTPlan.
Thanks to Reiner for the tip!

07 November 2006

Over 100 Downloads of rPlan

Since October 26th rPlan was downloaded over 100 times!

06 November 2006

Gmail goes Mobile

Since a few months I'm using Gmail and I think this is the most powerfull mailprovider out there.
Now there is a mobile application for cell phones available:
Check it out!

Btw: if someone needs an invitation for Gmail please let me know

rPlan 0.1.5 Bugfix Release

Thanks to Robert Gogolok for reporting the bugs #6486 and #6488.
They are both fixed in release 0.1.5

03 November 2006

jBatchEngine New Release

A new release of jBatchEngine is available at SourceForge.

It contains some bugfixes

01 November 2006

rPlan Reporting

I made the first steps whit Gruff.
Gruff is a graphing library and is very easy to use. There are a few missing functions and I allready posted a feature request and hope it will be accepted.

I released 0.1.3 of rPlan with a preview report and will no develop some reports and hope that the community will come up with some requests for new graphs.

28 Oktober 2006

rPlan 0.1.1 released

The first release of rPlan can be downloaded from RubyForge!

I will be pleased about your comments!

25 Oktober 2006

New Project rPlan started

Yesterday I started a new Ruby on Rails project at RubyForge called rPlan.

rPlan is a project task planning tool that can be used for every project. It is independent of the project model (RUP, XP, Scrum etc). Tasks can be assigned to developers and they can report their work.

rPlan will provide several reports for project controlling.

19 Oktober 2006

First Beta Version of jBatchEngine

Since yesterday evening the first version of jBatchEngine can be downloaded at SourceForge:
jtbatchengine.sf.net

16 Oktober 2006

New OpenSource Project started

On weekend I started a new opensorce project:
jBatchEngine

jBatchEngine is a kind of Batch Spooler. But it is event driven. It triggers entries in a database tabelle and later of a message queue.

It can start any batch program written in any langugage.

12 Oktober 2006

jTrackAndField on Rails

Currently I'm porting the server part of jTrackAndField from Java, Servlet, Hibernate to Ruby on Rails and Webservices.

Thus I can use the same code for master data administration AND remoting of jTrackAndField! jTrackAndField will be more DRY!

I will document my experience with Ruby on Rails and Webservices here.

09 Oktober 2006

Trend: Businesslogic in Model

When you take a closer look at the new Application-Frameworks such as Ruby on Rails or JBoss Seam you will notice a change to previous architectures:

The domainmodel is no longer a pure datacontainer, but it contains the businesslogic as in the early years of OO.

For many datadriven applications there will be an advantage that you can ommit an unnecessairy layering. Thus the logic for one entity will be in this entity and you can avoid codeduplication. Your will be more DRY (don't repeat yourself).

I'm wondering how you think about this trend and if anybody has allready implemented any bigger project in this meaning.

02 Oktober 2006

Eclipse Plugin for Emma

I found a very usefull Eclipse Plugin: EclEmma

This is an integration of Emma (Code Coverage Tool) in Eclipse. Emma can be integrated in the continous build of CruiseControl as well.

30 September 2006

Resource Driven Architecture (RDA)

Viele Projekte scheitern an der Tatsache, dass die internen Projektmitarbeiter nicht über genügend Erfahrung in der Technologie verfügen, die vom Unternehmen vorgegeben wurde.

Probleme wegen mangelnden technischen Kenntnissen ergeben sich in praktisch jedem Projekt.

Diese entstehen weil die meisten Vorhaben projektgetrieben sind. Mit anderen Worten: Innovation entsteht nebenläufig während der Laufzeit eines Projektes.

Es gibt nur wenige Unternehmen welche Geld in ein Innovationsmanagement stecken. Die meisten Firmen können nur noch reagieren statt agieren. Zudem werden in grösseren Firmen die Projektteams in der Regel mit den gerade zur Verfügung stehenden Mitarbeiter gebildet. Erschwerend kommt hinzu, dass diese Mitarbeiter in der Regel keine Spezialisten in den Technologien sind, die vom Projekt gefordert werden. Daraus ergibt sich dann einen erhöhte Lernkurve und entsprechender Ausbildungsbedarf in der ersten Phase des Projektes.

Auch das Risiko, dass das Projekt an Problemen wegen Unkenntnis der Technologie scheitert nimmt zu.

Wie kann dem entgegen gewirkt werden?

1. Versuch: Sobald bekannt wird wie das kommende Projekt aussehen wird, werden die zur Verfügung stehenden Mitarbeiter so gut und so schnell als möglich ausgebildet.

Folge: es fallen Kosten vor Projektbeginn an, welche von der Unternehmung bezahlt werden müssen. Zum zweiten sind die potentiellen Projektmitarbeiter zum Zeitpunkt des Bekanntwerdens des Projektes noch gar nicht verfügbar und daher ist es auch nicht möglich diese zu schulen.

2. Versuch: Es kommen an allen strategisch wichtigen Posten externe Mitarbeiter zum Einsatz welche bereits über genügend Know-how verfügen. Dies hat aber zur Folge, dass nach Projektabschluss die Externen weg sind und mit Ihnen das gesamt Know-how verloren geht. Dieser Umstand gefährdet die Wartung.

Lösungsansatz: Die Technologie wird aufgrund der Kenntnisse der Projektmitarbeiter bestimmt - zu neudeutsch „Resource Driven“. Dadurch ist sichergestellt, dass im Projekt genügend Spezialisten mitarbeiten und somit sind die grössten technologischen Projektrisiken eliminiert und der Projekterfolg ist garantiert.