View this news in your browser <https://www.kosday.com/news/en_news21.html>
Programming with Python or PHP to access your MV database is easier with
Linkar Framework
Linkar Framework for PHP or Python are a set of open-source libraries that
allows developers to create their own applications that connect to the
linked Linkar Server to access the different MV Databases
PHP sample code of a Read function
include_once 'Linkar/Linkar.php';
include_once 'Linkar.Functions.Persistent.JSON/Functions.php';
public function MyRead()
{
$credentials = new CredentialOptions("192.168.100.100", "QMWINQ", 11300,
"admin", "1234");
$result = DirectCommands::Read($credentials, "LK.CUSTOMERS","{ \"RECORDS\":
[ { \"LKITEMID\": \"2\" } ]}");
return $result;
}
Python sample code of a Read function
from Linkar.Linkar import CredentialOptions
from Linkar_Functions.Linkar.Functions.LinkarFunctions import *
from Linkar_Functions_Direct_JSON.Linkar.Functions.Direct.JSON.Functions
import *
def MyRead():
try:
credentials = CredentialOptions("192.168.100.100", "QMWINQ", 11300,
"admin", "1234")
result = Functions.Read(credentials, "LK.CUSTOMERS","{ \"RECORDS\": [ {
\"LKITEMID\": \"2\" } ]}")
except Exception as ex:
print("ERROR: " + str(ex))
# Do something
return result
Linkar Trainer will help you generate your own source code.
Links:
Look at the PHP manual
<https://kosday.com/Manuals/en_WEB_LINKARFRAMEWORKPHP/Main/index.html>
Look at the Python manual
<https://kosday.com/Manuals/en_WEB_LINKARFRAMEWORKPYTHON/Main/index>
Download the libraries from here <https://kosday.com/resources/> and view
all the source code in Github <https://github.com/kosday?tab=repositories>
Linkar Framework is totally free and royalty free.
You only need a Linkar Server License to connect to the database.
Ask for your Linkar Server Evaluation license here
<https://www.kosday.com/free-trial/b2rel>
*and coming soon Linkar Web Services... The professional API...*
The kosday team
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
---
You received this message because you are subscribed to the Google Groups
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jbase/85cf9cbc-f5b0-4203-a320-d5a87232979dn%40googlegroups.com.