You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/isomorphic web frameworks/weblocks.md
+8-28Lines changed: 8 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,47 +1,28 @@
1
1
+++
2
-
title = "Weblocks"
2
+
title = "Reblocks"
3
3
weight = 100
4
4
+++
5
5
6
-
[Weblocks][weblocks] is a widgets-based and server-based framework
6
+
[Reblocks][reblocks] is a widgets-based and server-based framework
7
7
with a built-in ajax update mechanism. It allows to write dynamic web
8
8
applications **without the need to write JavaScript or to write lisp
9
9
code that would transpile to JavaScript**. It is thus super
10
10
exciting. It isn't for newcomers however.
11
11
12
-
It isn't also the only solution that aims at makin writing interactive web apps easier, where the client logic can be brought to the back-end. See also:
To install Weblocks, please see its documentation. The Weblocks in Quicklisp is not yet, as of writing, the one we are interested in.
20
+
To install Reblocks, please see its documentation.
40
21
41
22
{{% /notice %}}
42
23
43
24
44
-
Weblock's unit of work is the *widget*. They look like a class definition:
25
+
Reblocks' unit of work is the *widget*. They look like a class definition:
45
26
46
27
~~~lisp
47
28
(defwidget task ()
@@ -69,7 +50,6 @@ Then all we have to do is to define the `render` method for this widget:
69
50
It uses the Spinneret template engine by default, but we can bind any
70
51
other one of our choice.
71
52
72
-
> Note: I'd like to use Djula HTML templates with Weblocks. Example welcome.
73
53
74
54
To trigger an ajax event, we write lambdas in full Common Lisp:
75
55
@@ -89,7 +69,7 @@ that calls the lisp one on the server, and automatically refreshes the
89
69
HTML of the widgets that need it. In our example, it re-renders one
90
70
task only.
91
71
92
-
Is it appealing ? Carry on this quickstart guide here: [http://40ants.com/weblocks/quickstart.html](http://40ants.com/weblocks/quickstart.html).
72
+
Is it appealing ? [Carry on its quickstart guide](https://40ants.com/reblocks/quickstart/#x-28REBLOCKS-2FDOC-2FQUICKSTART-3A-40QUICKSTART-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29).
0 commit comments