Skip to content

Commit 0415f94

Browse files
committed
Reblocks everywhere
1 parent ad5f9db commit 0415f94

File tree

2 files changed

+25
-29
lines changed

2 files changed

+25
-29
lines changed

content/isomorphic web frameworks/_index.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,20 @@ title = "Isomorphic web frameworks"
33
weight = 1000
44
+++
55

6-
We'll see first: Weblocks.
6+
We'll see first: Reblocks.
7+
8+
Weblocks was an old framework developed by Slava Akhmechet, Stephen
9+
Compall and Leslie Polzer. After nine calm years, it saw a very
10+
active update, refactoring and rewrite effort by Alexander Artemenko.
11+
This active project is named Reblocks.
12+
13+
The [Ultralisp](http://ultralisp.org/) website is an example Reblocks
14+
website in production known in the CL community.
15+
16+
It isn't the only solution that aims at making writing interactive web apps easier, where the client logic can be brought to the back-end. See also:
17+
18+
- [CLOG](https://github.com/rabbibotton/clog)
19+
- [ISSR](https://github.com/interactive-ssr/issr-server)
20+
21+
Of course, a special mention goes to [HTMX](https://htmx.org/), which
22+
is language agnostic and backend agnostic. It works well with Common Lisp.

content/isomorphic web frameworks/weblocks.md

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,28 @@
11
+++
2-
title = "Weblocks"
2+
title = "Reblocks"
33
weight = 100
44
+++
55

6-
[Weblocks][weblocks] is a widgets-based and server-based framework
6+
[Reblocks][reblocks] is a widgets-based and server-based framework
77
with a built-in ajax update mechanism. It allows to write dynamic web
88
applications **without the need to write JavaScript or to write lisp
99
code that would transpile to JavaScript**. It is thus super
1010
exciting. It isn't for newcomers however.
1111

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:
12+
The Reblocks's demo we will build is a TODO app:
1313

14-
- [CLOG](https://github.com/rabbibotton/clog)
15-
- [ISSR](https://github.com/interactive-ssr/issr-server)
16-
- and others that we will eventually add.
17-
18-
The Weblocks's demo we will build is a TODO app:
19-
20-
![](http://40ants.com/weblocks/_images/quickstart-check-task.gif)
21-
22-
Weblocks is an old framework developed by Slava Akhmechet, Stephen
23-
Compall and Leslie Polzer. After nine calm years, it is seeing a very
24-
active update, refactoring and rewrite effort by Alexander Artemenko.
25-
26-
It was initially based on continuations (they were removed to date)
27-
and thus a lispy cousin of Smalltalk's
28-
[Seaside](https://en.wikipedia.org/wiki/Seaside_(software)). We can
29-
also relate it to Haskell's Haste, OCaml's Eliom,
30-
Elixir's Phoenix LiveView and others.
31-
32-
The [Ultralisp](http://ultralisp.org/) website is an example Weblocks
33-
website in production known in the CL community.
14+
![](https://40ants.com/reblocks/images/docs/images/quickstart-check-task.gif)
3415

3516
---
3617

3718
{{% notice note %}}
3819

39-
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.
4021

4122
{{% /notice %}}
4223

4324

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:
4526

4627
~~~lisp
4728
(defwidget task ()
@@ -69,7 +50,6 @@ Then all we have to do is to define the `render` method for this widget:
6950
It uses the Spinneret template engine by default, but we can bind any
7051
other one of our choice.
7152

72-
> Note: I'd like to use Djula HTML templates with Weblocks. Example welcome.
7353

7454
To trigger an ajax event, we write lambdas in full Common Lisp:
7555

@@ -89,7 +69,7 @@ that calls the lisp one on the server, and automatically refreshes the
8969
HTML of the widgets that need it. In our example, it re-renders one
9070
task only.
9171

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).
9373

9474

95-
[weblocks]: https://github.com/40ants/reblocks
75+
[reblocks]: https://github.com/40ants/reblocks

0 commit comments

Comments
 (0)