Web development blog

When BDD user stories is productive

Jun.29, 2009

When you are skilled Unit tests writer it is not very easy to estimate the potential of BDD. Moreover in most cases BDD is used as a human-readable wrapper for unit tests. Do you really think that programmers need such abstract layer? Of course not… Users needs them.
More…
1 Comment :, , , , , ,

Pragmatic review of Google Wave technology

Jun.08, 2009

Have a good time watching the Google Wave presentation video. Looks like an excellent open technology that will make our life easier. I like the overall idea. It is really awesome. But I personally admit some things that seems useless to me…
More…
Leave a Comment :, , ,

Double select from a single table in complex SQL query.

Jun.02, 2009

When I start learning SQL I have to write a lot of nested queries when working on complex select statements from a single table. Now, I feel more comfortable with it and show how to avoid nesting. There are cases when you have to compare one row of the table with all others to get the result:
  • Select next element to current by the value of some field
  • Select records that are unique by some complex expression
  • Select all records that have the same parameter as given record.
You can get rid of nesting in all above cases. Let’s review the example. More…
Leave a Comment :, , ,

How to choose a sexy title for your article

May.13, 2009

Most of the people will not spend a minute reading your article if they wouldn’t get interested from the very beginning. What resides at the beginning of any article? It is the title of course. That is why choose a good title is very important for every content posted in the net. More…
Leave a Comment :, , , , ,

What do you expect from the interface?

May.05, 2009

Read a great article today - Liskov Substitution Principle (LSP). It let me understand that Interface is not just a list of methods.
More…
6 Comments :, , , ,

JBoss Seam usage makes the application code crazy!

May.04, 2009

Seam Application has a number of good innovations but let’s find out if we lose some advantages that we had before. I started application development with JBoss Seam one year ago. With the code base growth I have had more and more problems in workflow development . More…
12 Comments :, , , ,

Update and create timestamps with MySQL

Apr.30, 2009

A lot of relational tables need created and update timestamps columns. I prefer having them for all tables with no exception. However, most of applications I am working on are running MySQL. MySQL has minor limitation on timestamps. Unfortunately you can create only one time stamp column that has DEFAULT NOW() value. Read more to see how to avoid this limitation. More…
12 Comments :, , ,

Aphorisms about programming

Apr.29, 2009

I am not clever. I am just yet another way to use google.
Good programmer should be lazy.
The hole in your pocket is not critical unless you have a hole in your other pocket.
More…
1 Comment :, ,

Ant task to install tomcat service

Apr.28, 2009

If you are familiar to run Apache Tomcat as Windows service, you can install it with the ant task. build.xml file sample under the cut line. More…
2 Comments :, , , , ,

Clear upload file input field

Apr.23, 2009

Many web developers came to the problem that they are not able to change value of file input field from Java Script in the web application. There is no access to value field of file input tag because of security restriction. However there is a trick how to erase this field if you need it in your application.
More…
41 Comments :, , , ,

The Content of this blog can be published anywhere with the link to original source.