New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cuca

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cuca

  • 0.12
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Cuca - a web application framework

Cuca is another web application framework written in Ruby. It's made to build applications with focus on functionality - less design. You can create and application without writing HTML. Once written Widgets (a smart screen element) can be reused thorough your project with minimum effort allowing to build fast and secure web applications.

It implements the following concepts:

  • A Widget is a screen element. Can be a full page or part of it. The Controller and the Layout are Widgets, too.
  • A Controller deals with one request URI (get, post or both) and can set variables other widgets can make use of. It can also define a Layout and filters.
  • A Layout wraps the output of a controller and finally return the built web page.
  • A Generator (NOT "code generator") can be used within any Widget to help building the web content. Cuca comes with a Markaby and eruby Generator.
  • A Session can used optionally to keep stateful data.

Cuca was written for internal use in 2008 and as per 2013 we keep using and improving it.

It implements the following concepts:

  • A Widget is a screen element. Can be a full page or part of it. The Controller and the Layout are Widgets, too.
  • A Controller deals with one request URI (get, post or both) and can set variables other widgets can make use of. It can also define a Layout and filters.
  • A Layout wraps the output of a controller and finally return the built web page.
  • A Generator (NOT "code generator") can be used within any Widget to help building the web content. Cuca comes with a Markaby and eruby Generator.
  • A Session can used optionally to keep stateful data.

Installation & Getting started

Download and install from the internet:

gem install --remote cuca

Create an application skeleton:

cuca my_project		# this will create a new project
cd my_project
ruby ./script/server-webrick.rb

Open http://localhost:2000/

Read on

Check the rdoc once installed

FAQs

Package last updated on 15 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc