Pages having api tag
Handle the Base64 encoding. The Base64 encoding is useful function, when store binary data as text. This function is actually used in storing result image of the heat map.
There are decoder and encoder functions. The decoded output is script's variable or file. And the encoded result is returned as a script variable of string type.
Base64 format is used to convert binary data into text data. It is
used at attachment file of the internet mail. It is also available to
store binary data into the database in clob format.
Read more
These APIs support support file formats those are used with internet protocols on programming.
Store Image files into Clob Database table column
When
you wrote program to upload image file and store it in the database,
you have to handle a binary data. The Base64 format convert the binary
data into the text data. Therefore, you can handle the image data as
text string, and store it into a record of the database table.
The
table data is text format, we can output it into the Csv formatted file
directly. Therefore that makes database backup process easy.
Read more
Backup tables, check if the table exixts, and handle Blob.
TableExists($dataSrc ,$tableName);
Check if $table exists or not.
This function is often used before execute DROP TABLE and CREATE TABLE SQL sentence in order to avoid error.
Read more
Convert SELECT SQL's result into json or xml. The variable is same format with SELECT result, this function is available for the variable.
This function is used with Ajax. The examples jQuery Autocomplete uses this exmaple.
dom2json(@RECORD)
Convert queried result array into json string. This function is used after using the SELECT SQL.
Read more
These APIs are to support database handling in addition to the programming language's support.
API groups
Following APIs can handle database redords, json format, and executing SQL support operations.
Record Format
The Record function supports to transform the array variable returned by the SELECT sentence into the json and xml format. If the variable is not returned value from SELECT sentence, you can use it to transform them.
Read more
This page is about functions available in the Alinous-Script. You can know the outline of the functions by activating contents-assist.
These functions are provided as embeded system functions or standard library using JavaConnector. So you can use them without including script which has the function source code.
Read more
Manipulate html and generate static HTML files. Those functions uses HTML parser in the Alinous-Core Engine.
Html.html2Dom($htmlString)
Parse the html string, and convert it into dom variables. This function also supports XML format string.
killAttributes($str, $tags, $killAttr)
Remove all trributes named $killAttr in $tag.
Read more
Using ftp from the script by calling these functions.
connect($sessionString, $connectUrl, $port)
Connect to the server. After connect, do login.
login($sessionString, $username, $password)
Login into the Ftp server. Call this function after Ftp.Connect().
Read more
These APIs support Internet functions like Http, Html, Mail, Ftp and so on.
API Groups
These are function to use internet protocols.
Protocol
This section's APIs supports following Internet Protocols. You can connect server which supports following protocols by using API functions.
Read more
Compress files and folders into a zip file and extract it.
Use archive for download files
The web browser can down load a single
file at once. If you have to download several files at once, you have
to archive the files into a zip archive file.
The zip archive
function can also archive the folder. Therefore on actual case, the
program copies necessary files into a folder and archive it.
compress($compressDir, $compressedFile)
Compress $compressDir directory into $compressFile.
Read more