RubyGems Navigation menu

cyberweb 0.0.90

This is a web framework called Cyberweb, of medium size (about ~220kb including the documentation). It is still not complete nor finished, and not completely documented either, but I use it since a few years to augment my own Ruby-CGI scripts, and it works ok-ish for those basic needs. If anyone else may find this project useful, feel free to give it a try and provide some feedback if you so desire to - I will then have a look and see where the project can be improved. Release 0.0.5 added a dependency on a project called html_tags, which I created in order to separate the generation of HTML tags out of the rest of the framework. The idea is to hold a full HTML page in a special object, and .serve() said object when it is required. To include the cyberweb project on a website, in your .cgi script for instance, do this: require 'cyberweb/autoinclude' You can then populate the @web_object object, which resides in the main Cyberweb-namespace, and which is also aliased through a convenience method called w(). This allows you to describe a webpage, such as by issuing the following code: w { title 'My first homepage' body_css 'mar1em' h2 'Hello World!' } A commandline program in bin/cyberweb exists. This allows you to generate a new skeleton such a via: cyberweb foo.cgi But you can also use it to edit the configuration setting, via: cyberweb edit Try both out if you feel like it. If you have specific suggestions to make this gem more useful for others, please drop me an email at: shevegen@gmail.com. Thank you.

Versions:

  1. 0.0.90 - July 5, 2015 (262 KB)
  2. 0.0.89 - July 5, 2015 (262 KB)
  3. 0.0.88 - July 4, 2015 (262 KB)
  4. 0.0.87 - July 2, 2015 (262 KB)
  5. 0.0.86 - June 29, 2015 (262 KB)
Show all versions (84 total)

Authors:

  • Robert A. Heiler

Owners:

A14d1bca90d7ebeda50dca99aab381b9

Sha 256 checksum:

a3e9104fd09974e1223007b16e6f422d5cc0773c4302b4037e8524ea4c8a1be3

Total downloads 28,734

For this version 24

Show all versions (84 total)

Required Ruby Version: >= 0

Licenses:

GPL 2

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: