Saturday, October 11, 2008

Rich User Interface, a real need

Just saw an iphone, the design is quite cool, but if I have one, after a week, it will look the same for me. But the user interface... I've to say it blows me, to be specific, the ideas amaze me. The accelerometer, I heard that Samsung has a motion sensor in one of its phone, but this accelerometer and most importantly the implementation on iphone reminds me that user interface is indeed very important (I really don't know how to say how I feel the first time I saw it).

In the case of application that the users use in PC, as a developer, it have to be designed such as that it will make the user feels like to use it not being forced to use it. Does this mean RIA is the answer? ... I guess I have to say most probably yes. My tendency was to build a simple but effective UI, but the experience I had today changed my mind, the user has to feel like using the application from the first time he/she looks at it and it will ease user acceptance of the application.

Friday, August 22, 2008

Small thing matters!

Small thing matters, for the last few days I've been thinking about it. Read here.

Tuesday, August 5, 2008

Adding new project in subversion

To add a new project in subversion is very simple
  1. Go to the repository directory
  2. Execute : svnadmin create project_name
  3. Check the permission of the new directory (and all files/directories inside), change it if needed (so that svn user can access it)
  4. Checkout the project
  5. In the directory where the project is checked out, add directories as follow : branches, tags and trunk
  6. Add and commit it to svn
Your subversion project is ready to be used.

Wednesday, July 30, 2008

To schedule or not to schedule

This one I learned it the hard way and it indeed turns me from a not must have schedule to a must have schedule for every project! This really means every project! Even if it is an ad-hoc project (no time for requirement gathering, not enough time for analysis, not enough time for every aspect required for a normal project) No matter ehow important that project is.

The last project I've been working in has a very short "deadline" based on when it is represented to the user (not by me) along with a set of features to be implemented. Instead of creating a detailed schedule to measure the effort, what I did was motivating my developers that they can finish it....

Indeed that was a BIG BIG mistake that I made, now knowing that creating a schedule for it might help lessen the expectation. maybe the name of the game is managing expectation... a hard lesson and it must be one of many important lessons that I learned.

Many arguments passed my mind, but failure is a failure, no excuse.
Fyi, the current situation doesn't allow me to have more developers, enough time for testing, analysis, user feedback, etc... Reminds me of a suicide project once a friend told me about, either died along with the project or avoid it, which the later option isn't possible for me, but I'm going to survive with a lesson learnt.

Tuesday, February 26, 2008

JSF strange behaviors (Lesson - 2008/02/26)

The story :
Invoking action method in a JSF page does nothing, no exception, no clue... nothing.

Lesson :
If you create a getter method and it is referred in the page, you better create a setter method too. I still don't find the explanation yet.
See link here for more details.

Thursday, November 1, 2007

Idiom (Lesson #4 : 2007/11/01)

Background :
reading news (esp. football :) and I saw this sentence :
"It's water off a duck's back to me, I've had worse things thrown at me in my career, but I feel sorry for the fans, it must be so frustrating for them."

Lesson :
Googling around to find the meaning, and here is an interesting site I met along the way.

and the meaning is
"If criticism or something similar is like water off a duck's back to somebody, they aren't affected by it in the slightest." (see here)

Coffee Machine
Background :
The coffee machine in the office is being fixed.

Lesson :
Even a company can make a living from a coffee machine :) the maintenance fee, spare parts, etc. The point is a man can find a job if he only wants to. There's always something to do, it might be just around the corner, it's just not perceived yet (even a man can make a living from recycled paper, bottle).

Monday, October 15, 2007

Seam Mail, Seam file upload, Seam graphic image control (Lesson #3 : 2007/10/13)

Seam Mail
Background :
Resetting user password requires the application to send the new password through email to the user.

Lesson :
I use seam in my current project, and lucky for me seam has mail support. See my blog here for details.

Seam file upload
Background :
Need to store the uploaded image from user.

Lesson :
Interesting and an easy way to receive image/file uploaded and put it in some storage. See my blog here for details.

Seam graphic image control
Background :
Need to render the image stored in some storage.

Lesson :
Failed, I'm using seam 1.2.1.GA, giving the control the byte data, the image is somehow not found by the browser. I've to create a servlet to retrieve the image and return it to the browser manually.