Desktop Database Application in Ruby

W

Warren Dulnuan

Has anyone among the members made database application in Ruby? I want
to learn ruby and create a desktop database application like Point of
Sale, Inventory, Library management System etc wherein updates in 2 or
more tables is done, please helpby uploading your sample projects.Even
if it is not a complete database application as long as it shows how to
update 2 or more tables in a 1 to many or many to many realtionship in a
MYSQL, thanks.
 
M

Mohit Sindhwani

Warren said:
Has anyone among the members made database application in Ruby? I want
to learn ruby and create a desktop database application like Point of
Sale, Inventory, Library management System etc wherein updates in 2 or
more tables is done, please helpby uploading your sample projects.Even
if it is not a complete database application as long as it shows how to
update 2 or more tables in a 1 to many or many to many realtionship in a
MYSQL, thanks.
I haven't tried this, but would this help you:
http://rsqlitegui.rubyforge.org/
It's a desktop GUI software for the SQLite database, written in Ruby.

Cheers,
Mohit.
1/16/2009 | 3:13 PM.
 
B

Brian Candler

Warren said:
Has anyone among the members made database application in Ruby? I want
to learn ruby and create a desktop database application like Point of
Sale, Inventory, Library management System etc wherein updates in 2 or
more tables is done, please helpby uploading your sample projects.Even
if it is not a complete database application as long as it shows how to
update 2 or more tables in a 1 to many or many to many realtionship in a
MYSQL, thanks.

See also the answers you got when you asked this exact same question
last month.
http://www.ruby-forum.com/topic/172298

You seem to be asking two separate questions:
- can I have sample code for a GUI application?
- can I have sample code for MySQL database access?

Both of these depend entirely on which GUI framework (*) and which
database framework (**) you're going to use. Of course, your choice may
be influenced by what you see. There are many previous threads you can
read discussing the pros and cons of each.

(*) e.g. tk, fox, ruby-cocoa, shoes, ... I'm afraid I don't use any of
these and I'm sure I've missed some other important options

(**) e.g. ActiveRecord, sequel, datamapper, og, ruby-dbi, or even direct
low-level ruby-mysql / mysql-ruby

Each one comes with its own documentation and code samples you can run
and play with.
 
R

richard.j.dale

Has anyone among the members made database application in Ruby? I want
to learn ruby and create a desktop database application like Point of
Sale, Inventory, Library management System etc wherein updates in 2 or
more tables is done, please helpby uploading your sample projects.Even
if it is not a complete database application as long as it shows how to
update 2 or more tables in a 1 to many or many to many realtionship in a
MYSQL, thanks.
You can use Rails ActiveRecord with any GUI toolkit, it doesn't depend
on the rest of Rails.

QtRuby includes a couple of ActiveRecord based 'model' classes (that
is Qt models, not ActiveRecord ones) to make it easier to use for
showing database data in Qt::TableView and Qt::TreeViews.

-- Richard
 
L

Logan Barnett

Has anyone among the members made database application in Ruby? I want
to learn ruby and create a desktop database application like Point of
Sale, Inventory, Library management System etc wherein updates in 2 or
more tables is done, please helpby uploading your sample projects.Even
if it is not a complete database application as long as it shows how
to
update 2 or more tables in a 1 to many or many to many realtionship
in a
MYSQL, thanks.

Warren,
Check out Monkeybars (http://monkeybars.org), a JRuby GUI framework
that's BYOM (Bring Your Own Model). We actually have commercial
applications written in Monkeybars (http://getjotbot.com) that are
driven by a database. JotBot uses Sequel for its ORM to connect to a
local H2 (think SQLite) database, and an app I'm writing for a client
right now is using ActiveRecord which connects to MySql. Apps written
in Monkeybars are cross platform, and don't require your users to
install Ruby in advance. Rawr helps bundle these apps together, so you
can distribute native .app and .exe files for OS X and Windows.

We're on #monkeybars on freenode, and we're active on the mailing list.
 
R

Roman Rapido

[Note: parts of this message were removed to make it a legal post.]

Thanks a lot i really appreciate your help, i'l try to visit monkey bars,
i'm trying to build a POINT OF SALE for my little retail business. i hope
you can further help me on this.

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top