On Wed, Jun 6, 2012 at 11:58 AM, Klaas. <[email protected]> wrote:
> Op 05-jun-12 schreef Mark Miesfeld:
>
>>On Mon, Jun 4, 2012 at 4:20 PM, Lee Peedin <[email protected]> wrote:
>
>>> SQLite pretty much indicates a DB is involved. I'd suggest simply
>>> ooSQLiteConn or even better IMHO ooSQLiteConnection.
>
> My suggestion would be :  ooSQLDBConnection
> leaving the database package open so that one day
> a clever developer will supply the connection to
> the freely available DB2 Express-C

Hi Klass,

Good to hear from someone other than the regulars.

ooSQLite is a very database specific package, rather than a general
purpose SQL package.  So, there would not be a way to change the
connection to DB2, or MySQL, etc..

In the incubator we have a general purpose SQL package: orxsql  I
think you could use that to connect to DB2.

One idea I have for the future would be to create several database
specific ooRexx packages.  Then create a package, say RexxDatabase,
where you could specify which database specific package the
RexxDatabase object would use.  But, I don't know if I'd ever get to
that in my life time.

Then Jon could use RexxDatabase with the ooMySql backend I could use
RexxDatabase with the ooSQLite backend, and you could use RexxDatabase
with the ooDB2 backend

One reason I started a SQLite specific package is that the database
engine itself is easily embedded in the ooRexx package.  This gives
the ooRexx programmer a convenient package to use with a light-weight
database engine that doesn't need anything else.  It doesn't need
MySQL or DB2 to be installed, or configured, or administered on the
system.

If the ooSQLite package gets included in the ooRexx distribution then
an application written that uses ooSQLite will run on any system where
the user of the application has ooRexx installed.  And the user will
not have to install anything else.

--
Mark Miesfeld

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to