Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Apl > Re: Using a Dat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 40 Topic 987 of 1019
Post > Topic >>

Re: Using a Database within Windows + Dyalog APL

by AAsk <AA2e72E@[EMAIL PROTECTED] > Apr 20, 2008 at 05:10 AM

MS SQL Express 2005 is free for development (as is Express 2008), as
is IBM's DB2 Personal Edition, as is Oracle Personal; you just need to
sign up & download.

During development, you have several pathways, especially with Dyalog:

1. Use their ODBC wrapper ... SQL Link. This ties you down to your
data later being entwined with your application code and ODBC is
legacy software although quite prevalent.

2. Use ADO 2.8 with ODBC drivers (same comments as in 1 applies) or
with Providers. ADO too is legacy software although likely to be
around for a long time.

3. Use the ADO.NET base classes with APL/W. You can use the native
clients that Microsoft & Oracle supply for their respective
databases ... these are dedicated drivers (ratther than ODBC or
Providers which are somewhat generic). Your data layer code will still
be entwined with your application code.

My preferred approach would be as follows:

1. Write a COM component using C# (also possible with VB6.0). I guess
you can emulate this with a namespace.

2. The COM should allow clients to choose for alternative databases
i.e SQL Express or Oracle or DB2 etc.

3. Keep the COM simple & robust and secure.

a. The COM should take a property - which provider's database to use.
b. It should provide a method, say ExecuteQuery, that returns a
recordset i.e. DQL.
c. It should provide a method, say, ExecuteNonQuery that does not
return a recordset i.e DML etc.
d. Connect to the database using a UID & PWN stores in the Registry,
encrypted.
e. User logins should be managed by your application code-details can
be stored in a table in the database.

Beyond development, you need to comply with each vendors EULA terms.
For SQL Express, I believe you just need to get Microsoft's approval
(for free).

I would certaily NOT emulate/build a database in APL, if only because
APL does not provide intrinsic means of managing data types that
databases do.




 40 Posts in Topic:
Using a Database within Windows + Dyalog APL
aleph0 <apl68000@[EMAI  2008-04-20 03:29:23 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-20 13:17:54 
Re: Using a Database within Windows + Dyalog APL
aleph0 <apl68000@[EMAI  2008-04-20 04:35:03 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-21 10:53:43 
Re: Using a Database within Windows + Dyalog APL
AAsk <AA2e72E@[EMAIL P  2008-04-20 05:10:05 
Re: Using a Database within Windows + Dyalog APL
Dick Bowman <dick@[EMA  2008-04-21 06:59:14 
Re: Using a Database within Windows + Dyalog APL
aleph0 <apl68000@[EMAI  2008-04-20 05:56:20 
Re: Using a Database within Windows + Dyalog APL
AAsk <AA2e72E@[EMAIL P  2008-04-20 09:20:19 
Re: Using a Database within Windows + Dyalog APL
AAsk <AA2e72E@[EMAIL P  2008-04-20 09:37:08 
Re: Using a Database within Windows + Dyalog APL
aleph0 <apl68000@[EMAI  2008-04-20 10:02:49 
Re: Using a Database within Windows + Dyalog APL
aleph0 <apl68000@[EMAI  2008-04-21 02:29:27 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-21 12:08:23 
Re: Using a Database within Windows + Dyalog APL
Dick Bowman <dick@[EMA  2008-04-22 07:00:12 
Re: Using a Database within Windows + Dyalog APL
Gosi <gosinn@[EMAIL PR  2008-04-22 00:47:11 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-22 11:15:34 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-22 11:24:58 
Re: Using a Database within Windows + Dyalog APL
Gosi <gosinn@[EMAIL PR  2008-04-22 10:01:17 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-22 21:31:46 
Re: Using a Database within Windows + Dyalog APL
AAsk <AA2e72E@[EMAIL P  2008-04-22 12:55:14 
Re: Using a Database within Windows + Dyalog APL
AAsk <AA2e72E@[EMAIL P  2008-04-22 12:59:36 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-22 22:52:37 
Re: Using a Database within Windows + Dyalog APL
AAsk <AA2e72E@[EMAIL P  2008-04-22 13:58:25 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-23 09:00:48 
Re: Using a Database within Windows + Dyalog APL
edcba <mkassler@[EMAIL  2008-04-23 09:51:11 
Re: Using a Database within Windows + Dyalog APL
Gosi <gosinn@[EMAIL PR  2008-04-22 18:40:27 
Re: Using a Database within Windows + Dyalog APL
sethb@[EMAIL PROTECTED]   2008-04-27 18:12:57 
Re: ... Spreadsheet ...
Gilbert Giappesi <gilg  2008-04-29 19:25:43 
Re: ... Spreadsheet ...
sethb@[EMAIL PROTECTED]   2008-04-29 20:06:53 
Re: Using a Database within Windows + Dyalog APL
AAsk <AA2e72E@[EMAIL P  2008-04-23 00:29:30 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-23 13:59:05 
Re: Using a Database within Windows + Dyalog APL
"jk" <aqxqy@  2008-04-30 18:20:10 
Re: Using a Database within Windows + Dyalog APL
"jk" <aqxqy@  2008-04-30 19:01:38 
Re: Using a Database within Windows + Dyalog APL
Morten Kromberg <mkrom  2008-04-23 01:09:26 
Re: Using a Database within Windows + Dyalog APL
DaveW <dave@[EMAIL PRO  2008-04-23 06:32:53 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-23 16:00:33 
Re: Using a Database within Windows + Dyalog APL
AAsk <AA2e72E@[EMAIL P  2008-04-23 09:14:25 
Re: Using a Database within Windows + Dyalog APL
"jk" <*axy*@  2008-04-23 19:36:32 
Re: Using a Database within Windows + Dyalog APL
Jane Sullivan <jane@[E  2008-04-23 19:18:16 
Re: Using a Database within Windows + Dyalog APL
Ibeam2000 <Ibeam2000@[  2008-04-27 13:37:22 
Re: ... Spreadsheet ...
Gosi <gosinn@[EMAIL PR  2008-04-29 14:04:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 5:47:00 CDT 2008.