GithubHelp home page GithubHelp logo

vidushi-devops / dbtoria Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oetiker/dbtoria

0.0 0.0 0.0 1.83 MB

The generic Database Frontend for Endusers

Home Page: http://www.dbtoria.org

Perl 35.99% Shell 0.16% JavaScript 60.07% CSS 3.78%

dbtoria's Introduction

NAME

DbToRia - Database to Rich Internet Application

DESCRIPTION

DbToRia is generic SQL database frontend. Just point it to your database and get a user friendly web interface. By providing DbToRia with additional information about the nature of your database the user interface can be further optimized.

SETUP

Backend

Mojo:

cpanm  Mojolicious
cpanm  MojoX::Dispatcher::Qooxdoo::Jsonrpc

Json:

cpanm  JSON::XS
cpanm  Mojo::JSON::Any

DB:

cpanm  DBI
cpanm  DBD::(put-your-driver-here)

For quick results use testing-db (which is a SQLite):

cpanm  DBD::SQLite

Other modules needed:

cpanm  Config::Grammar
cpanm  Try::Tiny

Edit the backend/etc/dbtoria.cfg file to point to the database of your choice.

For quick results put this in your backend/etc/dbtoria.cfg:

*** General ***
dsn = DBI:SQLite:dbname=../backend/t/sqlite_db/dbtoria_test_db

mojo_secret = MyCookieSecret
log_file = /tmp/dbtoria.log
schema = public
encoding = latin

Frontend

Get Qooxdoo SDK:

wget http://downloads.sourceforge.net/qooxdoo/qooxdoo-3.5-sdk.zip
unzip qooxdoo-3.5-sdk.zip

cd frontend

If you just want to build the production ready version of the frontend:

./generate.sh ../qooxdoo-3.5-sdk build

If you want start hacking and debuging the frontend, build the source version by calling

./generate.sh ../qooxdoo-3.5-sdk source

cd ..

Have Fun(tm)

Run DbToRia with its built-in webserver for testing:

./backend/bin/dbtoria.pl daemon

And point your browser at

L<http://localhost:3000>

BACKGROUND

DbToRia contains of two parts. One is the backend which uses Perls Mojo Web Framework, its Jsonrpc-Dispatcher and some Perl code to interact with the database. The other is the frontend which uses the JavaScript Qooxdoo Framework for Rich Internet Applications and some JavaScript code to build the website you interact with.

The frontend sends json rpc requests which are handled by the backend. After the requested information is sent back using json, too, the view is updated.

dbtoria's People

Contributors

zaucker avatar oetiker avatar maettu 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.