trying to port web app starter from PHP

This commit is contained in:
udo
2026-04-19 09:38:23 +00:00
parent 46d98a092f
commit be514d63d6
546 changed files with 76910 additions and 2807 deletions
+40
View File
@@ -0,0 +1,40 @@
RENDER(Request& context)
{
DTree t;
<>
<link rel="stylesheet" href='style.css'></link>
<h1>
<a href="index.uce">UCE Test</a>:
MemcacheD
</h1>
Stats:
<pre><?
auto sfd = memcache_connect();
print(memcache_command(sfd, "stats"));
?></pre>
Set/Get:
<pre><?
memcache_set(sfd, "test_key", "test_value");
memcache_set(sfd, "test_key2", "test_value2");
print("raw:: "+memcache_command(sfd, "get test_key")+"\n");
print("get:: "+memcache_get(sfd, "test_key")+"\n");
print("multiple::\n"+var_dump(memcache_get_multiple(sfd, {"test_key", "test_key2"}))+"\n");
?></pre>
Params
<pre><?= var_dump(context.params) ?></pre>
</>
}