ClearMyBench
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Ruby concepts part 2 (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
  • Page:
TOPIC: Re:Ruby concepts part 2
#4624
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Ruby concepts part 2 3 Years, 10 Months ago Karma: 0  
DBI stands for Database independent interface for Ruby .

This means DBI provides an abstraction layer between the Ruby code and the underlying database, allowing you to switch database implementations really easily
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4625
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Ruby concepts part 2 3 Years, 10 Months ago Karma: 0  
DBI can interface with the following

ADO (ActiveX Data Objects)
DB2
Frontbase
mSQL
MySQL
ODBC
Oracle
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4626
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Ruby concepts part 2 3 Years, 10 Months ago Karma: 0  
DBI is independent of any database available in backend. You can use DBI whether we are working with Oracle, MySQL or Informix
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4627
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Ruby concepts part 2 3 Years, 10 Months ago Karma: 0  
The general architecture for Ruby DBI uses two layers

1.The database interface (DBI) layer

2.The database driver (DBD) layer.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4628
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Ruby concepts part 2 3 Years, 10 Months ago Karma: 0  
The database interface (DBI) layer.

This layer is database independent and provides a set of common access methods that are used the same way regardless of the type of database server with which you're communicating
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4629
ShriNi (User)
Software Techie (PEGA) currently on a Career Break
Platinum Boarder
Posts: 4000
graph
User Offline Click here to see the profile of this user
Gender: Female Location: Secundrabad India Birthdate: 1983-09-29
Re:Ruby concepts part 2 3 Years, 10 Months ago Karma: 0  
The database driver (DBD) layer.

This layer is database dependent; different drivers provide access to different database engines.

There is one driver for MySQL, another for PostgreSQL, another for InterBase, another for Oracle, and so forth.

Each driver interprets requests from the DBI layer and maps them onto requests appropriate for a given type of database server
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
  • Page:
get the latest posts directly to your desktop
logo footer   Copyright 2009 - 2013 HotRecruiter.Com - All Rights Reserved