slang-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] Some Collaboration Requested ....


On Tue, 19 Apr 2005 15:02:00 -0500, Ben Duncan <ben@xxxxxxxxxxxxxxxxxx> said:


> The second phase is going to be the integration of a File Manager into
> SLAG/S-lang.
You mean a DBMS.

> I have decided NOT to use a SQL database, since the Business
> Applications generated with SLAG need to be as maintenance free as
> possible.
There is a simple non-SQL database module, the gdbm module.  I doesn't
do everything Berkeley DB can do but it should be easy to serialize
your records in SLang.

There are also two SQL database modules, the Mysql module and the
Sqlite module, if Joe Robertson ever publishes it.  Sqlite does not
require a server, I don't think it has very high maintenance costs.

> And example being (S-Lang style):
> % ----------- Example Code ------------------
> typedef struct
>   {
>     CUST_ID ,   % integer
>     CUST_NAME,  % Character String max 60
>     CUST_ADDR,  % Character String Max 60
>     CUST_CITY,  % Character String max 30
>     CUST_STATE, % 2 Characters
>     CUST_ZIP,   % 10 Characters
>     CUST_PHONE, % 11 Chacracters
>     CUST_BALANCE, % Float
Can you represent an accounting balance as a float?
>     CUST_STATUS ...... (and so on)
>    } CUSTOMER_RECORD ;



_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]