RE: Any Mac IDS users out there?
Posted in 2010
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues, Java & JDBC Development
Oh and this just in... http://www.theregister.co.uk/2010/10/22/jobs_on_java_for_mac/ So if you're an app developer for the Mac, iPad and iPhone... what language are you going to use? ;-) And if you looked at the SDK... lots of nice goodies are already written in Objective-C. Date: Sat, 23 Oct 2010 17:31:42 +0100 Subject: Re: Any Mac IDS users out there? From: domusonline@gmail.com To: informix-list@iiug.org On Sat, Oct 23, 2010 at 2:43 AM, Ian Michael Gumby <im_gumby@hotmail.com> wrote: Junior... Mac OS/X is based on NeXTStep. (Maybe before your time) :-) So if you write an app on the Apple, you're writing in Objective C. So if you're going to put Informix on a Mac Server, the odds are your client is going to be written in Objective-C. Got an iPhone? That's iOS which again when you write an app, you're writing in Objective-C. So... you have to have an adapter to Informix. This is why I asked if there were any Mac Informix users because they would understand what I was asking. Or maybe you could punt this around the Informix brain trust back at IBM... oh wait. Guy left the building... ;-P Oldman, NeXTStep is not before my time. I believe it's not even before my early working days. But I assume that's your friendly way of patronizing others and showing your great knowledge. I'm glad to know that you cannot use any other languages in MacOSX. Please Google. People all over the world are using Google to learn "what is Informix". I think you can find a bit more about Informix on MacOSX. No objective-c direct support. Sorry. Regards. On Fri, Oct 22, 2010 at 11:30 PM, Ian Michael Gumby <im_gumby@hotmail.com> wrote: Yes. You need an adapter or whatever its being called to make an objective-c call from a Mac OS app. Since IDS runs native on a Mac, one would expect that such an adapter exists and is supported by IBM. So the question is... is the mac os/x adapter to native IDS, or DRDA since 11.x embeds the DRDA server. Does that help? No. It's too late here and I've just created a test case for a problem that's been bugging me for several weeks. I'm tired. What do you mean "make an objective-c call from a Mac OS app"? Are you making an application in objective-c and do you want it to talk to IDS? I think we don't have interfaces in Objective-C. But Objective-C should allow you to embed functions in C or ESQL/C so you could use either protocol... I just don't think that IBM has any objective-c libraries or whatever the name.... So, I don't think this is specific to MacOS or that MacOS is an issue here. Objective-C is. Again, at this hour I may be missing something.... Regards. Date: Fri, 22 Oct 2010 22:45:48 +0100 Subject: Re: Any Mac IDS users out there? From: domusonline@gmail.com To: informix-list@iiug.org On Fri, Oct 22, 2010 at 7:02 PM, Ian Michael Gumby <im_gumby@hotmail.com> wrote: I'm curious if IBM supports IDS connectivity via Informix's connectivity or DRDA? _______________________________________________ Informix-list mailing list Informix-list@iiug.org http://www.iiug.org/mailman/listinfo/informix-list Not sure if I got your question correctly. IDS 11.x (including 11.50 and 11.70) all support both communication protocols on the engine. It should not be platform specific (used it in Windows, Linux, AIX, HP-UX)... In case of doubts one just have to check the machine notes available online: http://publib.boulder.ibm.com/infocenter/idshelp/v117/topic/com.ibm.relnotes.doc/notes/ifx_1170xc1/mach/ids_machine_notes_11.70.macosx64.html But, coming from you I'd expect something more on your mind.... care to share? Regards. -- Fernando Nunes Portugal http://informix-technology.blogspot.com My email works... but I don't check it frequently... _______________________________________________ Informix-list mailing list Informix-list@iiug.org http://www.iiug.org/mailman/listinfo/informix-list -- Fernando Nunes Portugal http://informix-technology.blogspot.com My email works... but I don't check it frequently... _______________________________________________ Informix-list mailing list Informix-list@iiug.org http://www.iiug.org/mailman/listinfo/informix-list -- Fernando Nunes Portugal http://informix-technology.blogspot.com My email works... but I don't check it frequently... _______________________________________________ Informix-list mailing list Informix-list@iiug.org http://www.iiug.org/mailman/listinfo/informix-list
On Oct 23, 10:20 pm, Ian Michael Gumby <im_gu...@hotmail.com> wrote: > Oh and this just in...http://www.theregister.co.uk/2010/10/22/jobs_on_java_for_mac/ > > So if you're an app developer for the Mac, iPad and iPhone... what language are you going to use? ;-) > And if you looked at the SDK... lots of nice goodies are already written in Objective-C. > > Date: Sat, 23 Oct 2010 17:31:42 +0100 > Subject: Re: Any Mac IDS users out there? > From: domusonl...@gmail.com > To: informix-l...@iiug.org > > On Sat, Oct 23, 2010 at 2:43 AM, Ian Michael Gumby <im_gu...@hotmail.com> wrote: > > Junior... Mac OS/X is based on NeXTStep. (Maybe before your time) :-) > > So if you write an app on the Apple, you're writing in Objective C. > > So if you're going to put Informix on a Mac Server, the odds are your client is going to be written in Objective-C. > > Got an iPhone? That's iOS which again when you write an app, you're writing in Objective-C. > > So... you have to have an adapter to Informix. > > This is why I asked if there were any Mac Informix users because they would understand what I was asking. > > Or maybe you could punt this around the Informix brain trust back at IBM... oh wait. Guy left the building... ;-P > > Oldman, NeXTStep is not before my time. I believe it's not even before my early working days. But I assume that's your friendly way of patronizing others and showing your great knowledge. > > I'm glad to know that you cannot use any other languages in MacOSX. > > Please Google. People all over the world are using Google to learn "what is Informix". I think you can find a bit more about Informix on MacOSX. > > No objective-c direct support. Sorry. > > Regards. > > On Fri, Oct 22, 2010 at 11:30 PM, Ian Michael Gumby <im_gu...@hotmail.com> wrote: > > Yes. > > You need an adapter or whatever its being called to make an objective-c call from a Mac OS app. > Since IDS runs native on a Mac, one would expect that such an adapter exists and is supported by IBM. > > So the question is... is the mac os/x adapter to native IDS, or DRDA since 11.x embeds the DRDA server. > > Does that help? > > No. It's too late here and I've just created a test case for a problem that's been bugging me for several weeks. I'm tired. > > What do you mean "make an objective-c call from a Mac OS app"? > Are you making an application in objective-c and do you want it to talk to IDS? I think we don't have interfaces in Objective-C. > But Objective-C should allow you to embed functions in C or ESQL/C so you could use either protocol... I just don't think that IBM has any objective-c libraries or whatever the name.... > > So, I don't think this is specific to MacOS or that MacOS is an issue here. Objective-C is. > > Again, at this hour I may be missing something.... > > Regards. > Hi Gumby, I guess we haven't been in touch for quite a while so far... ;-) Maybe I should chime in here... Being one of those old men, actually the one who made a) the initial Informix products available on NeXTSTEP and b) who came up with the first Informix EOF adapter for NeXTSTEP, I do have at least some history to share in that topic... ;-) You are right, Objective-C and its associated developement frameworks like Cocoa is the core development environment on Mac OS X and iOS. But in addition, very much like on other platforms like Linux or even Windows, developers have a choice and might be using e.g. Java, PHP, Python, Ruby / Ruby on Rails etc. for their application development requirements on Mac OS X. But let's have a brief look at Objective-C / Informix development on Mac OS X.... We do support the Client-SDK on Mac OS X which e.g. includes ESQL/C and an Informix ODBC driver. Both could be used for Informix/Objective- C database development. Ok, I have to admit that one has to write an Objective-C wrapper around an ESQL/C based .ec/.c module, but that would be very similar to the approach which we choose in the good ol days of NeXTSTEP. Another approach would be to leverage the Informix ODBC driver within an Obj-C application. You can easily use the Informix ODBC driver with the Driver Manager from Apple's iODBC SDK. There is actually a blog entry on the topic Informix ODBC / Obj-C: https://www.ibm.com/developerworks/mydeveloperworks/blogs/gbowerman/entry/mac_os_integrating_odbc_with?lang=en A much more interesting option could be to download and compile the Ruby/Informix provider for Mac OS X ( by using ESQL/C) and then utilize the RubyCocoa (now called MacRuby) bridge to come up with very sophisticated Mac OS X apps. You can then develop your database access layer with Ruby and you create GUI with the Cocoa framework. ;-) The beauty of that approach is the fact that the Ruby layer can be changed w/o the need for re-compilation since Ruby is an interpretive language. http://en.wikipedia.org/wiki/RubyCocoa I personally never understood why Apple doesn't provide an enterprise class database access layer for Cocoa programming, very much like the EOF in NeXTSTEP (http://en.wikipedia.org/wiki/ Enterprise_Objects_Framework). For some reason that framework wasn't carried over into the current Obj-C/Cocoa based framework collection on Mac OS X. I believe they did support it for their WebObjects framework for quite a while, but that support seems to be gone too... By just googling around you will notice that there are quite a few home grown Obj-C based database access layers, but no Apple defined standard so far, except for the OBDC integration part. :-( iOS (iPhone, iPad, iPod touch platform) is a slightly different story... As far as I know there is currently no native Informix access layer available on iOS, but typically one would likely code some SOA based access layers with an intermediate app server handling the database requests. Maybe it would be worthwhile to have something like e.g. a light weight ESQL/C or Informix ODBC driver ported over to iOS for certail always connected apps? Just my few Euro cents... ;-) - Alexander
> From: pismobeachfan@googlemail.com > Subject: Re: Any Mac IDS users out there? > Date: Mon, 25 Oct 2010 09:02:32 -0700 > To: informix-list@iiug.org > > > Hi Gumby, I guess we haven't been in touch for quite a while so > far... ;-) > > Maybe I should chime in here... > > Being one of those old men, actually the one who made a) the initial > Informix products available on NeXTSTEP and b) who came up with the > first Informix EOF adapter for NeXTSTEP, I do have at least some > history to share in that topic... ;-) > I know. :-) I'm surprised you're still w IBM... :-) I remember using it for a PoC in a pre-sales opportunity w a certain grocery chain in Michigan.... > You are right, Objective-C and its associated developement frameworks > like Cocoa is the core development environment on Mac OS X and iOS. > But in addition, very much like on other platforms like Linux or even > Windows, developers have a choice and might be using e.g. Java, PHP, > Python, Ruby / Ruby on Rails etc. for their application development > requirements on Mac OS X. > > But let's have a brief look at Objective-C / Informix development on > Mac OS X.... > > We do support the Client-SDK on Mac OS X which e.g. includes ESQL/C > and an Informix ODBC driver. Both could be used for Informix/Objective- > C database development. Ok, I have to admit that one has to write an > Objective-C wrapper around an ESQL/C based .ec/.c module, but that > would be very similar to the approach which we choose in the good ol > days of NeXTSTEP. > > Another approach would be to leverage the Informix ODBC driver within > an Obj-C application. You can easily use the Informix ODBC driver with > the Driver Manager from Apple's iODBC SDK. There is actually a blog > entry on the topic Informix ODBC / Obj-C: > > https://www.ibm.com/developerworks/mydeveloperworks/blogs/gbowerman/entry/mac_os_integrating_odbc_with?lang=en > > A much more interesting option could be to download and compile the > Ruby/Informix provider for Mac OS X ( by using ESQL/C) and then > utilize the RubyCocoa (now called MacRuby) bridge to come up with very > sophisticated Mac OS X apps. You can then develop your database access > layer with Ruby and you create GUI with the Cocoa framework. ;-) > The beauty of that approach is the fact that the Ruby layer can be > changed w/o the need for re-compilation since Ruby is an interpretive > language. > > http://en.wikipedia.org/wiki/RubyCocoa > > I personally never understood why Apple doesn't provide an enterprise > class database access layer for Cocoa programming, very much like the > EOF in NeXTSTEP (http://en.wikipedia.org/wiki/ > Enterprise_Objects_Framework). For some reason that framework wasn't > carried over into the current Obj-C/Cocoa based framework collection > on Mac OS X. I believe they did support it for their WebObjects > framework for quite a while, but that support seems to be gone too... > > By just googling around you will notice that there are quite a few > home grown Obj-C based database access layers, but no Apple defined > standard so far, except for the OBDC integration part. :-( > > iOS (iPhone, iPad, iPod touch platform) is a slightly different > story... As far as I know there is currently no native Informix access > layer available on iOS, but typically one would likely code some SOA > based access layers with an intermediate app server handling the > database requests. Maybe it would be worthwhile to have something like > e.g. a light weight ESQL/C or Informix ODBC driver ported over to iOS > for certail always connected apps? > > Just my few Euro cents... ;-) > > - Alexander Well I talked with an Apple developer and he seemed to think that the interface of choice was Rest. Its interesting and the argument would be that your network connectivity is going to be your bottleneck... And yes, you are correct that you could write an ESQL/C adapter and then link it in as an object library. The question was whether or not IBM was already doing this, so its one less piece that one would have to write. Not really a fan of ODBC, however that too could work. The basic question was for those who are running IDS on a Mac, the client would most likely be a Mac, so what were they using as an interface. I could see jdbc and java, however Jobs seems to be steering away from Java, for whatever reason .... so if you're developing net new... it doesn't make sense to do something that may not be supported down the road. As to the iOS, its still objective C and if Jobs allows for a lower level connection than a Restful interface, then you could write your own adapter for mac, and port it to iOS. But I don't know enough about Apple and I don't have a specific need right now. Just was talking with a friend about an interesting idea for an iPad app... ;-) HTH -G
On Oct 26, 12:43 am, Ian Michael Gumby <im_gu...@hotmail.com> wrote: > > From: pismobeach...@googlemail.com > > Subject: Re: Any Mac IDS users out there? > > Date: Mon, 25 Oct 2010 09:02:32 -0700 > > To: informix-l...@iiug.org > > > Hi Gumby, I guess we haven't been in touch for quite a while so > > far... ;-) > > > Maybe I should chime in here... > > > Being one of those old men, actually the one who made a) the initial > > Informix products available on NeXTSTEP and b) who came up with the > > first Informix EOF adapter for NeXTSTEP, I do have at least some > > history to share in that topic... ;-) > > I know. :-) > I'm surprised you're still w IBM... :-) > > I remember using it for a PoC in a pre-sales opportunity w a certain grocery chain in Michigan.... > > > > > You are right, Objective-C and its associated developement frameworks > > like Cocoa is the core development environment on Mac OS X and iOS. > > But in addition, very much like on other platforms like Linux or even > > Windows, developers have a choice and might be using e.g. Java, PHP, > > Python, Ruby / Ruby on Rails etc. for their application development > > requirements on Mac OS X. > > > But let's have a brief look at Objective-C / Informix development on > > Mac OS X.... > > > We do support the Client-SDK on Mac OS X which e.g. includes ESQL/C > > and an Informix ODBC driver. Both could be used for Informix/Objective- > > C database development. Ok, I have to admit that one has to write an > > Objective-C wrapper around an ESQL/C based .ec/.c module, but that > > would be very similar to the approach which we choose in the good ol > > days of NeXTSTEP. > > > Another approach would be to leverage the Informix ODBC driver within > > an Obj-C application. You can easily use the Informix ODBC driver with > > the Driver Manager from Apple's iODBC SDK. There is actually a blog > > entry on the topic Informix ODBC / Obj-C: > > >https://www.ibm.com/developerworks/mydeveloperworks/blogs/gbowerman/e... > > > A much more interesting option could be to download and compile the > > Ruby/Informix provider for Mac OS X ( by using ESQL/C) and then > > utilize the RubyCocoa (now called MacRuby) bridge to come up with very > > sophisticated Mac OS X apps. You can then develop your database access > > layer with Ruby and you create GUI with the Cocoa framework. ;-) > > The beauty of that approach is the fact that the Ruby layer can be > > changed w/o the need for re-compilation since Ruby is an interpretive > > language. > > >http://en.wikipedia.org/wiki/RubyCocoa > > > I personally never understood why Apple doesn't provide an enterprise > > class database access layer for Cocoa programming, very much like the > > EOF in NeXTSTEP (http://en.wikipedia.org/wiki/ > > Enterprise_Objects_Framework). For some reason that framework wasn't > > carried over into the current Obj-C/Cocoa based framework collection > > on Mac OS X. I believe they did support it for their WebObjects > > framework for quite a while, but that support seems to be gone too... > > > By just googling around you will notice that there are quite a few > > home grown Obj-C based database access layers, but no Apple defined > > standard so far, except for the OBDC integration part. :-( > > > iOS (iPhone, iPad, iPod touch platform) is a slightly different > > story... As far as I know there is currently no native Informix access > > layer available on iOS, but typically one would likely code some SOA > > based access layers with an intermediate app server handling the > > database requests. Maybe it would be worthwhile to have something like > > e.g. a light weight ESQL/C or Informix ODBC driver ported over to iOS > > for certail always connected apps? > > > Just my few Euro cents... ;-) > > > - Alexander > > Well I talked with an Apple developer and he seemed to think that the interface of choice was Rest. > Its interesting and the argument would be that your network connectivity is going to be your bottleneck... > > And yes, you are correct that you could write an ESQL/C adapter and then link it in as an object library. > The question was whether or not IBM was already doing this, so its one less piece that one would have to write. > > Not really a fan of ODBC, however that too could work. > > The basic question was for those who are running IDS on a Mac, the client would most likely be a Mac, so what were they using as an interface. > > I could see jdbc and java, however Jobs seems to be steering away from Java, for whatever reason .... so if you're developing net new... it doesn't make sense to do something that may not be supported down the road. > > As to the iOS, its still objective C and if Jobs allows for a lower level connection than a Restful interface, then you could write your own adapter for mac, and port it to iOS. > But I don't know enough about Apple and I don't have a specific need right now. Just was talking with a friend about an interesting idea for an iPad app... ;-) > > HTH > > -G Maybe somebody could take the mysql-cocoa framework (http:// code.google.com/p/mysql-cocoa-framework/) as a template and creates an informix-cocoa framework based on it.... ;-) Alternatively one could use the postgresql-cocoa framework as a template: http://pgsqlcocoa.sourceforge.net/ - Alexander