Google Groups Home
Help | Sign in
DrySQL
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  20 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bryan Evans  
View profile  
 More options Nov 7 2006, 2:33 pm
From: Bryan Evans <rails-mailing-l...@andreas-s.net>
Date: Tue, 7 Nov 2006 20:33:25 +0100
Local: Tues, Nov 7 2006 2:33 pm
Subject: [ANN] DrySQL
DrySQL is a plug-in that extends ActiveRecord to provide a complete DRY
solution for Object-Relational Mapping.

You've defined columns, constraints, relationships, and keys on your DB.
With DrySQL you don't need to re-define any of these things in your Ruby
code.

If you have tables, keys, and columns that don't follow the Rails naming
conventions, have a complex database schema, want a DRY ORM solution for
your Ruby desktop app (as well as your Rails web app), and performance
and flexibility are important to you...Check out DrySQL.

The official RubyForge homepage is the best source of documentation at
the moment:
http://drysql.rubyforge.org/

My blog also hosts some discussion of implementation:
http://allyourdatabase.blogspot.com/

I'm looking forward to hearing your feedback.
Cheers.

- Bryan

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Williams  
View profile  
 More options Nov 7 2006, 2:51 pm
From: Kevin Williams <rails-mailing-l...@andreas-s.net>
Date: Tue, 7 Nov 2006 20:51:33 +0100
Local: Tues, Nov 7 2006 2:51 pm
Subject: Re: [ANN] DrySQL
Could you contrast the features of DrySQL against Dr. Nic's Magic
Models? I'm confused about what differences there are, if any. Can they
be used together? Should they?

http://magicmodels.rubyforge.org/

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryan Evans  
View profile  
 More options Nov 7 2006, 3:24 pm
From: Bryan Evans <rails-mailing-l...@andreas-s.net>
Date: Tue, 7 Nov 2006 21:24:06 +0100
Local: Tues, Nov 7 2006 3:24 pm
Subject: Re: [ANN] DrySQL

Kevin Williams wrote:
> Could you contrast the features of DrySQL against Dr. Nic's Magic
> Models? I'm confused about what differences there are, if any. Can they
> be used together? Should they?

> http://magicmodels.rubyforge.org/

Hi Kevin

Sorry I didn't make this more clear...I suppose the differences
immediately stand out for me because I use DrySQL against legacy
databases, and primarily in Ruby apps that are not Rails web apps
(DrySQL does support Rails web apps, though).

On the RubyForge homepage (http://drysql.rubyforge.org) there is a
section titled "DrySQL: Overview of Features" that outlines 6 main
features, none of which (to my knowledge) is provided by Magic Models.

The main difference is that the implementation of DrySQL makes ORM truly
DRY. Everything is generated based on your DB's information schema, so
you are not constrained in any way by naming conventions (i.e. foreign
key names, primary key names, table names, etc).

A short answer to your question is that DrySQL takes a different
approach to the features of Magic Models, and offers a number of new
features as well. Magic Models is an excellent piece of work, but
unfortunately it did not do what I needed it to do

For a better/clearer explanation, you may want to check out the exmaples
on the DrySQL RubyForge home page, and if you have any more questions
I'll be happy to answer them

Cheers.

- Bryan

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Collis-puro  
View profile  
 More options Nov 7 2006, 8:01 pm
From: Daniel Collis-puro <rails-mailing-l...@andreas-s.net>
Date: Wed, 8 Nov 2006 02:01:34 +0100
Local: Tues, Nov 7 2006 8:01 pm
Subject: Re: [ANN] DrySQL

Bryan Evans wrote:
> The main difference is that the implementation of DrySQL makes ORM truly
> DRY. Everything is generated based on your DB's information schema, so
> you are not constrained in any way by naming conventions (i.e. foreign
> key names, primary key names, table names, etc).

Awesome. I work for a company where the philosophy is that you build a
good database schema first - designed so that it can outlive whatever
app server you use to create interfaces.  Spoiled by PostgreSQL, I
suppose. No matter what, we're going to enforce constraints and
relations in the database - so to have a layer that'll keep us from
having to repeat ourselves in model definitions would be perfect.

One idea - with another ORM wrapper (Alzabo - www.alzabo.org) I used
PostgreSQL comment fields to specify more advanced field attributes. The
idea of using comments in your database to specify more detailed column
information makes a lot of sense to me.

You'll from me again, most likely . . .

-DJCP

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[ANN] DrySQL" by Dark Ambient
Dark Ambient  
View profile  
 More options Nov 7 2006, 8:11 pm
From: "Dark Ambient" <sambi...@gmail.com>
Date: Tue, 7 Nov 2006 18:11:38 -0700
Local: Tues, Nov 7 2006 8:11 pm
Subject: Re: [Rails] Re: [ANN] DrySQL

Here I was all exicted till I got to the bottom of the page and didn't see
MS SQL Server included.
It was almost an immediate answer to my problem.
Stuart

On 11/7/06, Daniel Collis-puro <rails-mailing-l...@andreas-s.net> wrote:

--
http://en.wikipedia.org/wiki/Dark_ambient

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "DrySQL" by Bryan Evans
Bryan Evans  
View profile  
 More options Nov 7 2006, 9:12 pm
From: Bryan Evans <rails-mailing-l...@andreas-s.net>
Date: Wed, 8 Nov 2006 03:12:37 +0100
Local: Tues, Nov 7 2006 9:12 pm
Subject: Re: [ANN] DrySQL

Hi Stuart

Adding SQL Server support will not be difficult. Most of the code in
DrySQL is database agnostic. I will just need to create an extension to
the existing sqlserver Rails adapter that implements DrySQL's
AbstractAdapter interface.

It wouldn't be unreasonable to say that I could implement support for
SQL Server in the next couple of weeks if I can get my hands on a copy
of SQL Server for testing.

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[ANN] DrySQL" by Dark Ambient
Dark Ambient  
View profile  
 More options Nov 7 2006, 9:34 pm
From: "Dark Ambient" <sambi...@gmail.com>
Date: Tue, 7 Nov 2006 19:34:33 -0700
Local: Tues, Nov 7 2006 9:34 pm
Subject: Re: [Rails] Re: [ANN] DrySQL

Bryan,
I wish I could help but have no access (no pun intended) to SQL Server.
Please let us know though when you add the support.

Thanks
Stuart

On 11/7/06, Bryan Evans <rails-mailing-l...@andreas-s.net> wrote:

--
http://en.wikipedia.org/wiki/Dark_ambient

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Scilipoti  
View profile  
 More options Nov 7 2006, 11:06 pm
From: "Matt Scilipoti" <ma...@possiamo.com>
Date: 07 Nov 2006 20:42:18 -0800
Local: Tues, Nov 7 2006 11:06 pm
Subject: RE: [Rails] Re: [ANN] DrySQL

You all can get free copies of SQl Server Express from
http://msdn.microsoft.com/vstudio/express/.

  _____

From: rubyonrails-talk@googlegroups.com
[mailto:rubyonrails-talk@googlegroups.com] On Behalf Of Dark Ambient
Sent: Tuesday, November 07, 2006 9:35 PM
To: rubyonrails-talk@googlegroups.com
Subject: [Rails] Re: [ANN] DrySQL

Bryan,
I wish I could help but have no access (no pun intended) to SQL Server.
Please let us know though when you add the support.

Thanks
Stuart

On 11/7/06, Bryan Evans <rails-mailing-l...@andreas-s.net> wrote:

Hi Stuart

Adding SQL Server support will not be difficult. Most of the code in
DrySQL is database agnostic. I will just need to create an extension to
the existing sqlserver Rails adapter that implements DrySQL's
AbstractAdapter interface.

It wouldn't be unreasonable to say that I could implement support for
SQL Server in the next couple of weeks if I can get my hands on a copy
of SQL Server for testing.

--
Posted via http://www.ruby-forum.com/.

--
http://en.wikipedia.org/wiki/Dark_ambient


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "DrySQL" by Bryan Evans
Bryan Evans  
View profile  
 More options Nov 8 2006, 11:32 am
From: Bryan Evans <rails-mailing-l...@andreas-s.net>
Date: Wed, 8 Nov 2006 17:32:49 +0100
Local: Wed, Nov 8 2006 11:32 am
Subject: Re: [ANN] DrySQL

Matt Scilipoti wrote:
> You all can get free copies of SQl Server Express from
> http://msdn.microsoft.com/vstudio/express/.

>   _____

Thanks Matt

That'll do quite nicely. Time to dust off my Windows box

- Bryan

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam  
View profile  
 More options Nov 8 2006, 3:12 pm
From: Sam <rails-mailing-l...@andreas-s.net>
Date: Wed, 8 Nov 2006 21:12:12 +0100
Local: Wed, Nov 8 2006 3:12 pm
Subject: Re: [ANN] DrySQL
Is Oracle support in the works? This seems perfect for me, but alas, no
Oracle support.

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryan Evans  
View profile  
 More options Nov 8 2006, 7:01 pm
From: Bryan Evans <rails-mailing-l...@andreas-s.net>
Date: Thu, 9 Nov 2006 01:01:24 +0100
Local: Wed, Nov 8 2006 7:01 pm
Subject: Re: [ANN] DrySQL

Sam wrote:
> Is Oracle support in the works? This seems perfect for me, but alas, no
> Oracle support.

Yes, I do plan to add Oracle support, along with DB2 and SQL Server.
With luck this functionality will be released in the next month. I'll
keep you posted

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryan Evans  
View profile  
 More options Nov 16 2006, 11:48 am
From: Bryan Evans <rails-mailing-l...@andreas-s.net>
Date: Thu, 16 Nov 2006 17:48:33 +0100
Local: Thurs, Nov 16 2006 11:48 am
Subject: Re: [ANN] DrySQL
ATTN: Stuart and other SQL Server users...

DrySQL now supports SQL Server!
(as of version 0.1.3)

It has been tested only against SQL Server Express 2005, but should work
with any version of SQL Server that offers the information_schema views.

DB2 and Oracle support will follow shortly

Cheers.

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jzakiya  
View profile  
 More options Nov 16 2006, 11:54 pm
From: "jzakiya" <jzak...@mail.com>
Date: Thu, 16 Nov 2006 20:54:13 -0800
Local: Thurs, Nov 16 2006 11:54 pm
Subject: Re: DrySQL

Please support Sqlite, if you don't already have plans to do so.

Thanks

Jabari


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Mitchell  
View profile  
 More options Nov 17 2006, 12:22 am
From: "David Mitchell" <monch1...@gmail.com>
Date: Fri, 17 Nov 2006 16:22:12 +1100
Local: Fri, Nov 17 2006 12:22 am
Subject: Re: [Rails] Re: DrySQL
Yep, count this as another vote for SQLite - I'm really getting to
like it for apps where there's not a huge amount of data and I just
need a DB that works...

Regards

Dave M.

On 17/11/06, jzakiya <jzak...@mail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ike  
View profile  
 More options Nov 17 2006, 7:02 am
From: "Ike" <rvinc...@hotmail.com>
Date: Fri, 17 Nov 2006 04:02:20 -0800
Local: Fri, Nov 17 2006 7:02 am
Subject: Re: DrySQL
Can I use it with scaffolding_extension ? I have a very complex legacy
project I have mapped out quite nicely in ActiveRecord, and uses
scaffolding_extensions. I'd like to add DRYSql to it even though it
likely isn;t needed, just to start using it, but only want to do it if
there;s not a ton of work to be done (because it works now, as is, but,
of course, I;d like to learn a faster, simpler way!) Thanks.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeremy Evans  
View profile  
 More options Nov 17 2006, 1:29 pm
From: "Jeremy Evans" <jeremyeva...@gmail.com>
Date: Fri, 17 Nov 2006 10:29:18 -0800
Local: Fri, Nov 17 2006 1:29 pm
Subject: Re: [Rails] Re: DrySQL
On 11/17/06, Ike <rvinc...@hotmail.com> wrote:

> Can I use it with scaffolding_extension ?

I see no reason why not.  I haven't used DrySQL, but looking at what
it does, it should work with scaffolding_extensions.  Try it and
report back to the list.

Jeremy


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryan Evans  
View profile  
 More options Nov 17 2006, 2:10 pm
From: Bryan Evans <rails-mailing-l...@andreas-s.net>
Date: Fri, 17 Nov 2006 20:10:41 +0100
Local: Fri, Nov 17 2006 2:10 pm
Subject: Re: DrySQL

Ike wrote:
> Can I use it with scaffolding_extension ? I have a very complex legacy
> project I have mapped out quite nicely in ActiveRecord, and uses
> scaffolding_extensions. I'd like to add DRYSql to it even though it
> likely isn;t needed, just to start using it, but only want to do it if
> there;s not a ton of work to be done (because it works now, as is, but,
> of course, I;d like to learn a faster, simpler way!) Thanks.

Yes, DrySQL should be compatible with scaffolding_extension.

DrySQL is simply a collection of extensions to the existing modules and
classes in ActiveRecord, and should be compatible with any plug-ins that
are compatible with ActiveRecord.

If anybody does happen to come across a plug-in that DrySQL does not
play nice with, please let me know and I will address it.

Cheers.

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryan Evans  
View profile  
 More options Nov 27 2006, 11:04 am
From: Bryan Evans <rails-mailing-l...@andreas-s.net>
Date: Mon, 27 Nov 2006 17:04:59 +0100
Local: Mon, Nov 27 2006 11:04 am
Subject: Re: [ANN] DrySQL

Sam wrote:
> Is Oracle support in the works? This seems perfect for me, but alas, no
> Oracle support.

Sam (and any other Oracle users out there that might be following this
thread):

DrySQL now supports Oracle, as of version 0.1.4

Cheers.

http://drysql.rubyforge.org

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
S. Robert James  
View profile  
 More options Nov 27 2006, 4:27 pm
From: "S. Robert James" <srobertja...@gmail.com>
Date: Mon, 27 Nov 2006 13:27:25 -0800
Local: Mon, Nov 27 2006 4:27 pm
Subject: Re: DrySQL
Looks great.

Two requests:
1. Is there a way to enable it only for certain models?  (Let me use it
on my legacy models, for instance, and keep my new models without it.)

2. How 'bout an option to generate the required code to stdout, instead
of just running it.  So I could do:

puts LegacyModel.dry_sql_code

and get:
"set_primary_key 'lm_id'\n"
"belongs_to :xyz"
etc.

Useful for debugging, learning, and when you still want to retain
control (I have something similar to this in a rake script)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryan Evans  
View profile  
 More options Nov 27 2006, 10:34 pm
From: Bryan Evans <rails-mailing-l...@andreas-s.net>
Date: Tue, 28 Nov 2006 04:34:06 +0100
Local: Mon, Nov 27 2006 10:34 pm
Subject: Re: DrySQL

Hi Robert

Thanks for the feedback.

Do you mind posting your suggestions to the DrySQL discussion forum?
http://rubyforge.org/forum/?group_id=2438

I'm getting requests, suggestions, etc from a bunch of different
channels, and am trying to make the DrySQL RubyForge forums the central
home for these discussions.

Thanks.

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google