Showing posts with label IT-related. Show all posts
Showing posts with label IT-related. Show all posts

Computer science ain't as good as it should be

When I start studying computer science in the University class I truly believe that it is all I need to get started writing good programs. Algorithms > Functional programming > OOP > Databases > MVC is a step-by-step path of all people that learn programming of the web application. But...

When BDD user stories is productive

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.

What do you expect from the interface?

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

JBoss Seam usage makes the application code crazy!

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 .

Update and create timestamps with MySQL

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.

Ant task to install tomcat service

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.

Clear upload file input field

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.

Technical documentation

There is no one technical book I read more than a half. Is everybody doing this way?
I recommend book authors to explain themselves in more short form.

Upload files with Selenium IDE

I started using selenium about 2 weeks ago. Find it as a very good QA tool.
But after a few successfully written tests I met the problem: Selenium is not able to use file input field. JavaScript permission restriction doesn't allow it.


Here is my solution written with JInvoke library: Jinvoke provides the classes to simulate the input to file chooser form.

Copyright © Spesial Unik. All rights reserved. Template by CB. Theme Framework: Responsive Design