ECサイト構築パッケージOpen-EC
|
INFORMATION
|
Now Alinous-Core is Release1.0.x.
You can download it as Eclipse-Plugin.
FREE DOWNLOAD
|
Developer's blog
Alinous-CMS(Japanese only)
|
What is Alinous-Core
Alinous-Core is a development language for Web-DB applications.
We can develop an applications in only SQL and HTML language.
In order to understand, I'll show you an example.
We can make a page by writing "*.html" and "*.alns" file.
|
sample.alns
|
// EXECUTE SELECT STATEMENT
if($IN.comment != null){
$LIKE_STMT = '%' + $IN.comment + '%';
}
SELECT * INTO RECORDS FROM SAMPLE_TABLE
WHERE
NAME = $IN.name AND
EMAIL = $IN.mail AND
COMMENT like $LIKE_STMT
limit 10;
return 0;
|
|
By executing the script, we can make variables like picture on the left.
After executing sample.alns,
Alinous-Core combines the executed variables with design.
|
|
sample.html
|
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>Input data into database</TITLE>
</HEAD>
<BODY>
<H3>Select DB Form(/select/index.html)</H3><BR>
<TABLE>
<TR>
<TD width="200" bgcolor="#AAAAAA">NAME</TD>
<TD width="200" bgcolor="#AAAAAA">E-MAIL</TD>
<TD width="300" bgcolor="#AAAAAA">COMMENT</TD>
</TR>
<TR alns:iterate="@RECORDS" alns:variable="oneRecord">
<TD width="200">{$oneRecord.NAME}</TD>
<TD width="200">{$oneRecord.EMAIL}</TD>
<TD width="300">{$oneRecord.COMMENT}</TD>
</TR>
</TABLE>
<BUTTON alns:back="true">Back</BUTTON>
<H4>Comment</h4>
</BODY>
</HTML>
|
The HTML file is extended. But there are no extended tags.
We extended only the attributes, and body text macro.
You can try right now and Alinous-Core Eclipse plugin is free.
We can download Eclipse-plugin for Alinous-Core.
It consists of embeded Alinous-Core server, GUI-Debugger and Sample project wizard
to setup the first environment.
Please download and try Alinous-Core.
See also
Please take a look at Alinous-Core's functions to learn what functions the Alinous-Core supports.
|