Perl DBI to Ruby DBI?

8 views
Skip to first unread message

Bryan.La...@gmail.com

unread,
Jan 18, 2008, 2:23:51 PM1/18/08
to Ruby On Rails Sybase Developers
is this easily transferable or would it be easier to code from
scratch? I read that the two were very similar...

Bryan.La...@gmail.com

unread,
Jan 18, 2008, 2:25:17 PM1/18/08
to Ruby On Rails Sybase Developers
and by transferable I mean if a driver written against the Perl DBI
can be easily put against the Ruby DBI.

On Jan 18, 2:23 pm, "Bryan.Lahartin...@gmail.com"

Anthony Kelly

unread,
Jan 18, 2008, 6:15:54 PM1/18/08
to Ruby On Rails Sybase Developers
I think that DBI is discouraged in general:

'Because DBI adds another layer of indirection, it will decrease
performance and you should avoid using it for ActiveRecord. Please, do
not misunderstand me: DBI is great but ActiveRecord needs as much
performance as possible, so use a native driver instead.'

Is there a native SQL Anywhere driver?

Thanks,
Anthony

On Jan 18, 2:25 pm, "Bryan.Lahartin...@gmail.com"

Bryan Lahartinger

unread,
Jan 21, 2008, 8:05:18 AM1/21/08
to Ruby On Rails Sybase Developers
thats what I'm supposed to make :) lol

Anthony Kelly

unread,
Jan 22, 2008, 11:41:56 PM1/22/08
to Ruby On Rails Sybase Developers
Oh ok lol. Would you consider making both?

That is a DBI one and then a non DBI one? If not that's ok too.

On Jan 21, 8:05 am, Bryan Lahartinger <Bryan.Lahartin...@gmail.com>
wrote:

Bryan Lahartinger

unread,
Jan 23, 2008, 2:26:37 PM1/23/08
to Ruby On Rails Sybase Developers
That is actually the plan that is in the works atm.

Kiriakos Georgiou

unread,
Mar 21, 2008, 2:29:19 PM3/21/08
to Ruby On Rails Sybase Developers
I have coded extensively with the perl DBI and I have to confess ruby
and sybct makes DBI look dated.
Perhaps that's down to ruby and its awesome iterators.

Kiriakos
Reply all
Reply to author
Forward
0 new messages