Omnis and subwindows

I've been way to busy lately to do any personal posts however today there was a topic on the Omnis discussion list about subwindows and communication between them and their parent windows that made me want to write a little something about it. The topic has come up many times in the past and since it is something I've done a lot with it seemed like a good idea to do a little sample library and add some explanation.

Subwindows are basically windows that are contained within another window. They are Omnis Studio's answer to be able to reuse visual components in multiple places in your application. This can be anything from a subwindow containing a single component/field to a subwindow that allows you to enter an entire record consisting of a dozen entry fields.

The problem herein is how to properly communicate between the subwindow and its parent window.
Object Orientation states that any object should not assume or directly influence another object that contains/uses it. That is the only way to guarantee an object can be reused in multiple places without any restrictions in the behavior of the object that uses it. A subwindow and it's parent however always have a symbiotic relationship in one form or another and some measure of communication between them is required. The parent window communicating with the subwindow is easy as this is simply done through public methods, but the subwindow (as it interacts directly with the user) communicating back to the parent, now their lies the problem.



Read more ...

Add to: Digg | Technorati | del.icio.us | Stumbleupon | reddit | Furl

Hacked...

Yet again it's proved what a weird and wonderful place the internet is. We're not sure yet what happened but it seemed that someone installed some malicous tunneling software on our server, god only knows what sortah trouble these guys where up to.

We had to shut some parts of the server down in order to clean up the mess and change some things hopefully to prevent a repeat. Unfortunately that meant my site and some others where down for a while.

Looks like we're back up :)



Read more ...

Add to: Digg | Technorati | del.icio.us | Stumbleupon | reddit | Furl

Happy newyear everyone!

Couple of days late but I still want to wish everyone a Happy Newyear! We've had a busy couple of days and I have many more busy days ahead of me... Hope to have time for my little blog again soon...



Read more ...

Add to: Digg | Technorati | del.icio.us | Stumbleupon | reddit | Furl

Family photoshoot

Last weekend we were walking around the Lane Cove Plaza and there was a little fair going on. One of the expositions was Chris Tudor's Christmas photoshoot stand. We had him take a few pictures of Blake and talked to him that we've wanted to do a small family photoshoot for a little while. From one thing came another and on Monday we were at his home taking pictures which turned out to be a very pleasant experience.



Read more ...

Add to: Digg | Technorati | del.icio.us | Stumbleupon | reddit | Furl

Tax troubles part #3

Whow, this was a hefty week on the subject of Dutch Tax. My heart sank to an absolute low in the middle of the week but the end result seems to be a positive conclusion after all.



Read more ...

Add to: Digg | Technorati | del.icio.us | Stumbleupon | reddit | Furl