GithubHelp home page GithubHelp logo

cuca's Introduction

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

cuca's People

Contributors

sventantau avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.