Get a Quote

Your source for insights and trends in software development

Date in GWT

Once more about date and its usage… In client-server application client send date to server using own TimeZone. So server receives client date and it will manipulate this client date. Sometimes it is not suitable. For example in applications, which is based on server date. So client should be also based on server date. GWT application is very similar on client desktop applications, because JavaScript code is executed on client side. So by default GWT application uses client date. Solution…

Date & Time

OK, you are thinking about date & time handling in your application. You’ve already known some obvious things such as: there are 86400 seconds in a day there are 365 days in an ordinary year there are 366 days in a leap year there are 719528 days between Jan 1, 0 and Jan 1, 1970. But do you remember about the following?: your application must somehow handle the century changes 🙂 by the Gregorian rule, a year YYYY is a…

SVN Blame/mercurial annotate

Very important feature when you are trying to figure out who is responsible for certain discrepancy within the code and bring their mistake to light, is svn blame (hg annotate, git blame). Usage is quite simple – just type “svn blame source_file” and you’ll have per line changes of the current source file with the version of the line and who changed it last. But to make it work properly, you need to agree within a project to have the same…

Contributions to erlang-web.

We’ve started to contribute to the erlang-web project from this fork The main source branch of erlang-web can be found here. Content of contribution Extended functionality for some parts of wparts (erlang-web representation of html tags): added correct work for common html attribute “value”, added possibility get “value”=<> from the new tag “valueVar” which is supposed to be a name of some available variable.These changes are available in 1.4 release of erlang-web (1.4 was released in Oct 28 2009) How…

Wikitopdf and Graphviz in Trac

First of all I’d admin that I like Graphviz in Trac quite much. It allows you to create good diagrams and collaboration pictures inside wiki page of the Trac. Wikitopdf plugin, with all it limitations, allows you to export your wiki pages in PDF form (internally it is using the htmldoc library and here appears limitations). The problem I faced with: wikitopdf is not working correctly by default with the generated images. And graphviz_dir parameter doesn’t really helps. Additionally, wikitopdf…

Erlang web-frameworks

It is always difficult to find out what web framework will suite your needs in a project. As for the Erlang, there is several rapid-deveoping frameworks at the moment: Erlangweb – the one we really liked, as it beign developed by very professioinal team of Erlang consulting. You can learn a lot of things supported by erlang from their sources. ErlyWeb Nitrogen BeepBeep Some others that were out of my attention Today I’ll start with features of ErlangWeb This Framework…

Leap seconds

Well, everybody knows about leap years :-). What about leap seconds?Those who are interested, can find more information on http://en.wikipedia.org/wiki/Leap_second , but how it can influence your program? First of all, you should not suppose that seconds are from 0 to 59. It could be 60 second, as well as 59 skipping and going from 58 to 00. So your system should at least be able to convert 60 second into something predictable. Another thing that could be important for…

Window’s control button (minimize/maximize/close)

During development of custom desktop application sometimes you need to define own event handlers on these buttons. In SWING it is easy and well-documented task – in JavaFX it is also easy task, but it is not well-documented. Thus in this post I want to provide some information about it. Minimize button Let’s start from minimize button. In JavaFX for specifying own action on this button you need to define variable and “bind” it with iconified-property of state:

So…

System Tray in JavaFx

Java SDK (since version 1.5) provides default support of system tray, which works fine in Windows, Linux and MacOS. But, unfortunately, this feature is disable for JavaFX. Let’s see how to enable this possibility using reflection. TrayManager Let’s create simple JavaFx class, which will work with java.awt.SystemTray and java.awt.TrayIcon via reflection. Note it will not wrap all methods of these classes – it will just provide main possibilities. public class TrayManager { var trayIcon : Object;var trayIconClass : Class;public-init var…

GWT & YUI integration

Google Web Toolkit (GWT) provides a lot of useful widgets, which covers a lot of needs. But, unfortunately, it does not provide widgets for charts. Thus in this post I’d describe integration GWT application with Yahoo UI (YUI) Charts. Note I’ll build my sample around Yahoo UI sample (http://developer.yahoo.com/yui/charts/). Getting started To use YUI Controls we need to include Yahoo JavaScript libraries into application’s html page:

It will be better to place them into the end of main html…

Ready To Take The Next Step?

quote Get a Quote

Sumbit your project request by special form.
We'll get to you promtly with our costing of your project.