Archive for the ‘ Notes ’ Category

Ruby on Rails experience of a java developer

Ruby on Rails logo

Image via Wikipedia

Although it has not been a long time since I started to develop a small rails application, I would like to share notes.

the first point ,for me and for all the Java developers like me, should be: “what kind of language is this  ???” :) yes it is not  structured and well defined like Java , there are lots of tricks going around.  Even the simple for loops seems complex.

and for such a tricky language you cannot expect to find a full-functional CTRL-SPACE support. and for me it is still a pain.

To save yourself from any more pain I would suggest you to setup your environment with instantRails and aptana radrails.

however after you get used to this alien language, you would start to enjoy it. that is what started to do.  I really understood the real meaning of light-weight and agile. Although I do feel myself as secure and powerful as in Java, I still enjoyed it.

what was missing grails?

almost a year ago I tried grails also, I have seen some sparkles in it but that wasn’t the tool I have been looking for. it was not agile, the development cycle is painful. it was a pre-configured spring-hibernate setup with groovy.

the pain of grails does come from its power actually, spring-hibernate. it is really HEAVY.

The Sparkles

I don’t have too much experience, but I can easily say, development with it is way faster than Java or grails and way powerful than PHP.if you are looking for easy way to develop a web site that is the language you should look first.  It has  good and simple web-life cycle and built in support for web standard like json,xml and ajax.

The Volcano: Java

Although rails has good point it is not as powerful as java, and it is not complete alternative to java either.(don’t hesitate  to post your comments). So for the moment I am searching for integration strategies.

Enhanced by Zemanta

Clean database schema with inheritance

ORM Diagram

It is very common way of usage that  when ever you need some new attribute for your model objects/table you add a new column to the related database table.  After several requirements you will notice: Read more

Reverse Engineering is not easy

:en:User:Dreftymac/Docs/ImageDisclaimer
Image via Wikipedia

In most cases we are developing something that has been done before. We are either enhancing some software or simply rewriting the whole system for some inadequate points. Analysts gather user requests, organize them, make multiple discussions with customers/users and write user requirement documents. That is the standard procedure for most cases. However in some cases especially in re-implementing some systems, customers will request the exact same features of the  old system.

we were really satisfied with this screen/report/graphic we want the same things from the new system

Read more

alternative year 2009

this is the first 5 days of the new year,
Although 2008 has brought lots of changes to me, 2009 seems more promising. Read more

too much annotation is also bad

A graphical depiction of a very simple xml doc...
Image via Wikipedia

Annotations have changed every thing and lots of version updates/upgrades are made just to support them. Yes they have developers to get rid of lots of xml schemas and files at the same time,”Annotations have been more successful than XML

But are those XML files really bad ? Read more

Spring is totally losing its invisibility

Many of you might remember at the spring 1.2.X series there is a strong voice like:

easy,quick configurations and implementations with spring

Yes in fact that was totally true. It really used POJOs as bean containers. And it works really fine. While using these spring versions you did not usually need to make any import statements for any spring package/class/interface
sample classes below were shown as best practices: Read more

Grails, First Impressions

Grails
Image via Wikipedia

Since SpringSource acquires the Grails I was willing to test this framework and make a dummy project but first I should read some books:) Read more