https://github.com/40ants/weblocks
This fork was created to experiment with some refactorings. They are collected in branch "reblocks".
https://github.com/40ants/weblocks
common-lisp framework server-side-rendering web
Last synced: 7 months ago
JSON representation
This fork was created to experiment with some refactorings. They are collected in branch "reblocks".
- Host: GitHub
- URL: https://github.com/40ants/weblocks
- Owner: 40ants
- License: other
- Archived: true
- Fork: true (skypher/weblocks)
- Created: 2017-05-21T05:10:08.000Z (over 8 years ago)
- Default Branch: reblocks
- Last Pushed: 2022-01-05T11:27:14.000Z (almost 4 years ago)
- Last Synced: 2024-02-15T09:38:39.912Z (almost 2 years ago)
- Topics: common-lisp, framework, server-side-rendering, web
- Language: Common Lisp
- Homepage: http://40ants.com/weblocks/
- Size: 6.45 MB
- Stars: 80
- Watchers: 12
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: ChangeLog.rst
- License: license.txt
Awesome Lists containing this project
- curated-awesome-cl - Weblocks - A widgets-based framework with a built-in ajax update mechanism that "solves the JavaScript problem". [LLGPL][8]. (REPLs ##)
README
==========
Weblocks
==========
Warning
=======
This system is not maintained anymore. It was renamed to
Reblocks and now lives at ``_
.. insert-your badges like that:
.. image:: https://badges.gitter.im/40ants/weblocks.svg
:target: https://gitter.im/40ants/weblocks
.. Everything starting from this commit will be inserted into the
index page of the HTML documentation.
.. include-from
Contribution
============
Join our `Gitter Chat Room`_ to participate in the project or ask your questions about Weblocks.
This branch contains following branches
=======================================
* travis-config
* more-logging-and-js-backend-fix
* documentation
Roadmap
=======
* Move from raw Hunchentoot to Clack.
* Refactor dependencies processing.
* Write easy to understand, working tutorials.
* Make jquery backend default.
* Extract all widgets into a separate system
and make them use bootstrap by default.
.. Everything after this comment will be omitted from HTML docs.
.. include-to
Moving to Clack and Ningle
==========================
Benefits
--------
Will be able to use different http servers, not only Hunchentoot.
Useful snippets
---------------
Use this::
(lack.util:generate-random-id)
instead of::
(md5 (hunchentoot::create-random-string 10 36))
in `(generate-action-code)`
What to replace
---------------
An File Upload
~~~~~~~~~~~~~~
How to do this with clack and ningle???
How to run tests
================
All tests:
.. code:: common-lisp
(rove:run :weblocks-test)
or you can run test for some package:
.. code:: common-lisp
(rove:run :weblocks-test/dependencies)
Single test:
.. code:: common-lisp
(rove:run-test 'weblocks-test/dependencies::render-js-dependency)
From command line:
.. code:: bash
rove weblocks.asd
Changes from master branch
==========================
There were very many refactorings. Check ``ChangeLog.rst`` file.
Testsuite refactoring
=====================
After some issues were resolved, I've got this result
running stefil tests::
Test Report for WEBLOCKS-SUITE: 366 tests run, 732 Errors.
Started to port tests to Prove.
License
=======
Licensed under the LLGPL License.
.. _`Gitter Chat Room`: https://gitter.im/40ants/weblocks