Giter Club home page Giter Club logo

rap's Introduction

RAP - Racket on Bootstrap

Combination of Racket and Bootstrap, RAP is a Web framework aiming to produce good-looking pages with ease.

Design goals

  • easy to use
  • pleasing pages through Bootstrap
  • routing capability
  • good performance if possible

Proposed configuration steps

  1. update the database configuration file:
vi db.conf
  1. start the server with:
/usr/local/bin/rap
  1. point your browser to:
http://localhost/index.cgi

Project Status

What's done

  • implement HTML template page with Boostrap headers;
  • implement template display code;
  • implement temporary file generation code to enable developer's preview;
  • implement utility functions;
  • implement database configuration file parser;
  • port Newstrap code from newLISP to Racket;
  • include configuration file library (https://rosettacode.org/wiki/Racket/Options).

What's missing

Configuration

Here's a sample configuration file:

# This is a configuration file in standard configuration file format
#
# Lines begininning with a hash or a semicolon are ignored by the application
# program. Blank lines are also ignored by the application program.

# The first word on each non comment line is the configuration option.
# Remaining words or numbers on the line are configuration parameter
# data fields.

# Note that configuration option names are not case sensitive. However,
# configuration parameter data is case sensitive and the lettercase must
# be preserved.

db-connection-name rap MySQL
db-username root
db-password 12345
db-port 3306
db-name rap

# EOF

Customization

For further customization, see the following pages for sample content: http://bootstrapdocs.com/v3.3.4/docs/examples/theme/ http://bootstrapdocs.com/v3.3.4/docs/getting-started/#examples

Use following links for CDN-hosted CSS, Theme, jQuery and Javascript: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js

License

RAP is free software; see LICENSE for more details.

rap's People

Contributors

dexterlagan avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.