Lightweight, out-of-the-box web backend framework · Tailored for Delphi developers
Compatible with Delphi native syntax · Script-driven · No compilation · Seamless migration
If you're a Delphi programmer, have you ever been intimidated by the complexity of web development? WebPascal 5 lets you build web applications and APIs with the Pascal syntax you know best, without learning a new language.
// 99 multiplication table example
for var i := 1 to 9 do
begin
for var j := 1 to i do
s += Format('%d*%d=%d ', [j, i, i*j]);
writeln(s);
end;Create script/hello.api:
writeln('Hello, WebPascal 5!');Access: http://localhost:8833/ask/hello.api
var obj := json.parse('{"name":"张三"}');
writeln(obj.name); // 张三
var email := obj.email ?? '未设置';include('/conn.cfg');
var res := db.query('mydb','SELECT * FROM users WHERE id=:p1',1);
if res.code=200 then writeln(res.data);Direct HTML form to /upload, returns JSON example:
{
"code": 200,
"data": "/up/20260319/14302512345678.png"
}Founded in 2018, we focus on software development and IT services, dedicated to providing efficient and easy-to-use web development tools for Delphi developers.
Tel: 13905792605 | Email: 593106@qq.com
Script demo server: http://hk.zjoss.com:8833/
Vue demo server: http://hk.zjoss.com/
*Demo account: admin / admin