Frederick Cheung wrote:
> On 6 Oct 2008, at 11:52, Pokkai Dokkai wrote:
> 
>>
>> what is Driver & what is Adapter ?
> 
> Assuming you are talking about database drivers and rails' connection
> adapters:

thats correct

> A driver is something that allows you to talk to the database. Drivers
> don't however all have the same semantics. Similar things may have
> different names, the underlying database may be different in the way
> certain tasks are accomplished or how certain SQL statements are
> written. 
so from ruby to every database , ruby needed a separate Driver .

> The connection adapters that are part of Rails smooth over
> these differences.
what does mean ?
what is the main job to this Adapter
is it used to convert database return result(which is in string Object)
to Model Object ?


thanks


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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to