Bolt and WebLib

20 views
Skip to first unread message

max

unread,
Jun 1, 2026, 3:20:16 PM (3 days ago) Jun 1
to The Ring Programming Language
Hi everyone,

I can see that in Ring 1.27 there are several web libraries available.

Could someone explain when I should use Bolt and when I should use WebLib? Also, does one replace the other, or are they intended for different use cases?

Any guidance or best practices would be appreciated.

Thanks!

Mahmoud Fayed

unread,
Jun 1, 2026, 3:47:25 PM (3 days ago) Jun 1
to The Ring Programming Language
Hello Max

(1) The Scope

The WebLib is just a (Library)
The Bolt framework is a (Framework)

(2) WebLib Goal
* Functions that supports CGI (very old way to create web apps) it's simple and works for small apps or apps with small number of users/requests
* Functions/Classes that generate HTML (using Ring functions/classes or using HTML templates)

(3) Bolt framework goal
* Modern framework with many powerful features
* Support developing apps that could scale to large number of users/requests

Greetings,
Mahmoud
Reply all
Reply to author
Forward
0 new messages