Just show me what you have done

Thursday, April 23, 2009 14:25
Posted in category Programming, Scrum
Mount Erciyes
Image via Wikipedia

Software development is one of the mysterious processes for the people who know little or  nothing about the process.

But when talking about the quality, it is not the colors or the make up of the screens you should be talking. (I am not under estimating how important it is, but I am talking about machine not the color of the box).

there are lots of people there talking about their AMAZING success stories.

I proudly present the ultimate tool that would change your life

I am sure they have done amazing performance numbers with help some hardware and some good practices. They are really happy to create the little mountains (Turkish idiom).  Let’s ask them: Read the rest of this entry »

it (doesn’t) worth it

Thursday, April 23, 2009 10:01
Posted in category Programming, Scrum
The Golden Age by Lucas Cranach the Elder.
Image via Wikipedia

When I graduated from college I was really dreaming software companies as the utopia companies. They should be different then any other sector or firm. They are full of highly graduated people with lots of ideas and future projects. It took not much time too see the truth.

Software Companies are full of upset people !!!! Read the rest of this entry »

Grails Productivity Tip: Depend on Your Plugin

Wednesday, April 15, 2009 8:00
Posted in category HowTo & Tutorial, Programming
Grails
Image via Wikipedia

Grails has amazing plugin infrastructure. In short it enables almost everything the core application can do and has really good  list of plugins: http://grails.org/Plugins

Here what I want to say is something a little bit different:

Do all your business in your application plugin

Reminder: Plugins are enabled in Grails

You can reuse all implementation in your plugins:

  • Model Object
  • Services
  • Controllers
  • Gsp pages

Plugins can define their plugin dependency, just like maven dependency.

Goal: Extreme Modularity

Model all your business in a single plugin.

You can consider grails an application container in this case which manages transactions and persistence, and ui and enable each plugin with all customization.  What you need to do is using config. groovy and ConfigurationHolder for configuration issues.

What grails will do is just starting up plugins and and the applications one by one and expose all services, domain class and controllers which will work fine.

It will increase your modularity and ease your integration issues. You can also run your plugins while your are developing them. This is the most amazing part of all the scenario. You do not need to enter pack-install cycle to test anything.

Tough Part: IDE

If you have already established something like this before with Java you would have setup your IDE for this kind of integration. But for grails there is not support as far as far as I know :( So be ready run some console commands:

cd mycore

grails package-plugin

cd ../myapp

grails install-plugin ../mycore/grails-mycore-plugin-0.1.zip

Reference Guide:

http://www.grails.org/The+Plug-in+Developers+Guide

Reblog this post [with Zemanta]

hibernate tip: smart id generator

Tuesday, March 3, 2009 8:00
Posted in category HowTo & Tutorial

A small tip to generate more meaningful Id. Instead of 32 for OrderID use O000000032.

Use smart and meaningful ids

Use smart and meaningful ids

Simple implementations:

  • SmartIdTableGenerator
  • SmartIdSequenceGenerator

Read the rest of this entry »

Tags: , ,

Clean database schema with inheritance

Tuesday, February 10, 2009 8:00
Posted in category Notes

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 the rest of this entry »

Reverse Engineering is not easy

Sunday, February 8, 2009 18:42
Posted in category Notes
: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 the rest of this entry »

Re:WordPress Plugin Developer Day

Thursday, January 29, 2009 10:06
Posted in category News
Category:Wikipedians who use WordPress
Image via Wikipedia

Thanks to Lester Chan and wp-wassup team for their greatest plugins

Thank a Plugin Developer Day

Reblog this post [with Zemanta]
Tags:

Grails 101:GroovyBlogs.org

Monday, January 19, 2009 10:00
Posted in category HowTo & Tutorial

favicon

If you are trying to learn groovy and grails like me you should visit http://groovyblogs.org . Really nice aggregator for grails and groovy blogs and posts.

But the most important part this site is, it is open-source !!! Read the rest of this entry »

Web Beans (JSR 299): Yet Another EJB Dependency

Monday, January 19, 2009 9:00
Posted in category News
Java Beans I
Image by perldude via Flickr

In the last weeks first draft of another JSR has been released: JSR-299.

Will java and our projects go one more step further???

There is an interview about Web Beans with Gavin King link He is talking about some new features on JEE like Read the rest of this entry »

Tags: , , ,

tweetback plugin bug patch

Friday, January 16, 2009 17:05
Posted in category HowTo & Tutorial

I have been suffering from a known bug of tweetback plugin of wordpress for a week.

Tweetback Counter does not update its count if a tweetback is deleted in the admininterface or database

update wp_postmeta set meta_value='0' where meta_key='tweetcount';
update wp_postmeta set meta_value='a:0:{}' where meta_key='twittercomments';

I executed the above sql and fixed the post page errors at least
but left sidebar still shows wrong number of comments :(