SQLite Server
- the.weavster
- Addict
- Posts: 1576
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Send the files to me, and I will upload again.
It sounds interesting, that you are working on a ERP system. I do it conceptionally, too. I do programing a framework which interfaces the database systems (it comunicates to MySQL as well as SQLite, it has a user management with authorisation checks, logs changes, has a dictionary concept, provides multi-language interfaces, and a scripting language).
Maybe we can discuss via Email.
Cheers
Christian
It sounds interesting, that you are working on a ERP system. I do it conceptionally, too. I do programing a framework which interfaces the database systems (it comunicates to MySQL as well as SQLite, it has a user management with authorisation checks, logs changes, has a dictionary concept, provides multi-language interfaces, and a scripting language).
Maybe we can discuss via Email.
Cheers
Christian
Yesh.... try $500 USD for up to 5 concurrent connections and $1,500 for unlimited (currently at $999 introductory price).the.weavster wrote:The SQLabs server you mentioned has been bought out by REALbasic and I believe it now only works with RB (and it's a ridiculous price).
Ouch! Looks like Real Software is getting greedy. RealBasic standard used to be $99, now it's $200. Professional used to be $400, now its $500.
- the.weavster
- Addict
- Posts: 1576
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
You can now download the server and client library here:
http://www.oneledger.co.uk
Please also register with the forum:
http://www.oneledger.co.uk/forum/index.php
http://www.oneledger.co.uk
Please also register with the forum:
http://www.oneledger.co.uk/forum/index.php
- the.weavster
- Addict
- Posts: 1576
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Cool, my e-mail address is on the site above.CSAUER wrote: It sounds interesting, that you are working on a ERP system. I do it conceptionally, too. I do programing a framework which interfaces the database systems (it comunicates to MySQL as well as SQLite, it has a user management with authorisation checks, logs changes, has a dictionary concept, provides multi-language interfaces, and a scripting language).
Maybe we can discuss via Email.
Cheers
Christian
- the.weavster
- Addict
- Posts: 1576
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
If you downloaded earlier today and are getting an error message from the server about a missing configuration file it's here: http://www.oneledger.co.uk/download/Config.asc.
Sorry about that.
The default password is 'password'.
Sorry about that.
The default password is 'password'.
- the.weavster
- Addict
- Posts: 1576
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
I've found a nasty bug in the client library. When a large dataset is being returned data seems to go missing from the receiving buffer.
I know it's the client library that has the problem because I dont have the same issue with the REALbasic client classses. I guess I must me handling ReceiveNetworkData() incorrectly somehow.
Anyway rather than fix it I have published the protocol for communicating with the server here: http://www.oneledger.co.uk/s4sprotocol.html
I will have to comment out a function in the server that disguises the exchanged text so it's not human readable and recompile it. I will do that this weekend so it will be available for download next Monday or Tuesday.
I know it's the client library that has the problem because I dont have the same issue with the REALbasic client classses. I guess I must me handling ReceiveNetworkData() incorrectly somehow.
Anyway rather than fix it I have published the protocol for communicating with the server here: http://www.oneledger.co.uk/s4sprotocol.html
I will have to comment out a function in the server that disguises the exchanged text so it's not human readable and recompile it. I will do that this weekend so it will be available for download next Monday or Tuesday.
- the.weavster
- Addict
- Posts: 1576
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
- the.weavster
- Addict
- Posts: 1576
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Hi ankachen,
I haven't created an example client in PureBasic but there is one available to download which was created with REALbasic.
If you're asking about a client library it's not necessary, you communicate with the server using delimited text and a tcp socket. I think in PB you'd use the SendNetworkData() and ReceiveNetworkData() commands. The protocol is here: http://www.oneledger.co.uk/s4sprotocol.html
Unfortunately I don't think PureBasic has a Split() or Join() command for turning delimited strings into arrays and vice versa.
I haven't created an example client in PureBasic but there is one available to download which was created with REALbasic.
If you're asking about a client library it's not necessary, you communicate with the server using delimited text and a tcp socket. I think in PB you'd use the SendNetworkData() and ReceiveNetworkData() commands. The protocol is here: http://www.oneledger.co.uk/s4sprotocol.html
Unfortunately I don't think PureBasic has a Split() or Join() command for turning delimited strings into arrays and vice versa.
don't think so either .. however i digged out some old code i wrote to fill an array from a string.Unfortunately I don't think PureBasic has a Split() or Join() command for turning delimited strings into arrays and vice versa.
Maybe bit cludgy and you could simplyfy things but eh ... maybe helps:
Code: Select all
; Split String into Array
Dim myArr.String(6)
;/ Args: *ptr2Array (l), String (s) , Delimeter (s)
Procedure Split2Arr(*MyArray.String,string.s,delim.s)
Protected i.l, ArrSize.l
ArrSize.l = PeekL(*MyArray - 8)
For i.l = 0 To ArrSize.l
If i.l <= ArrSize.l
*MyArray\s = StringField(string.s, i.l+1,delim.s) : *MyArray + 4
EndIf
Next
EndProcedure
;/ Example
Split2Arr(@myArr(),"Hello I am a arrayed split string"," ")
Debug "0:"+myArr(0)\s
Debug "1:"+myArr(1)\s
Debug "2:"+myArr(2)\s
Debug "3:"+myArr(3)\s
Debug "4:"+myArr(4)\s
Debug "5:"+myArr(5)\s
Debug "6:"+myArr(6)\s

Thalius
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone!
"
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone!

it is a little bit easier/clearer this way :
Code: Select all
;---------------------------------------------------------------------
Macro CountArray(array)
PeekL(@array - 8)
EndMacro
Structure arr_DataTypes
StructureUnion
b.b
w.w
l.l
f.f
s.s
EndStructureUnion
EndStructure
Procedure Split2Array(userArray.arr_DataTypes(1), string.s, delim.s)
Protected i.l, ArrSize.l = CountArray(userArray())
For i = 1 To ArrSize
userArray(i-1)\s = StringField(string, i, delim)
Next
EndProcedure
;---------------------------------------------------------------------
Dim myArr.arr_DataTypes(6)
Split2Array(myArr(), "Hello I am a arrayed split string"," ")
For i = 0 To CountArray(myArr()) - 1
Debug Str(i) + ": " + myArr(i)\s
Next
;---------------------------------------------------------------------
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer