Searching and looping lists

Some months back there was a discussion on the Omnis lists on how to navigate lists in Omnis Studio effectively. That discussion lead to some interesting discussion given by several people and I've been wanting to summize them on my blog for some time but never got around to it. Even today I don't have time to do a proper writeup but since I just wrote a routine I wanted to share I've decided to do a quick post about these.

I specifically thank Kelly Burgess who gave some great tips on this subject



Read more ...

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

Ranting about some object theory...

Every since the whole discussion about object variables and object references in Studio came up this has been linguring in my mind so before I continue with my discussion on a way to use object variables in Omnis I felt compelled to do some ranting :)

I can't be certain but I imagine this discussion lies at the heart of the decision making of how Omnis originally implemented their object model and what direction they took it in.



Read more ...

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

Retain/Release in Omnis

As I was bragging about this on the Omnis list let's start doing a writeup about this. This will be a multipart writeup on object memory management in Omnis Studio 4 using object references.

This part we'll look at a simple retain/release object base class that allows us to track a single instance of an object that is being used by different parts of the system. It is a widely used model though my primary inspiration has been the use of it in Cocoa.
For the second part we'll look at implementing a copying scheme for our objects.
For the third part we'll look at auto releasing objects, why we need to do this and how we can implement this in Omnis.
The final part we'll look into tracking retains and releases in order to find memory leaks (not just leaks happening but finding the source).



Read more ...

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

Omnis tutorials

I've placed my old Omnis tutorials back on this blog. They where originally posted on www.omniscentral.com. You can find them by clicking Omnis in the navigation on the right side of this site.

Note that these are already over a year old and I simply copy/pasted them over from my original transcripts. I will go through them at some point and clean them up a little so they show correct. I''ll also see if I can get the original demo libraries back online, not sure if I still have them somewhere.

The past year working actively with Omnis Studio 4 (at my previous work we were still doing most of our work in Studio 3) I have learned some new tricks and I''ve been writing actively on the omnis mailing list (http://www.omnis-dev.com/) about this. If I can find the time I may continue this series but I make no promises :)

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

Part 5: Adding multi lingual support

Part 5...



Read more ...

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

Part 4: Adding a broker

Part 4...



Read more ...

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

Part 3: Transactions

Part 3....



Read more ...

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

Part 2: Creating base classes to speed up development of your application

And part two...



Read more ...

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

Part 1 : Connecting to a database

Part 1 of the tutorial I posted on www.omniscentral.com over a year ago. I''m still piecing things together so bare with me...



Read more ...

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