Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #6916 > unrolled thread
| Started by | Burnsy <jburns131@gmail.com> |
|---|---|
| First post | 2012-08-31 21:00 -0400 |
| Last post | 2012-09-02 23:38 -0400 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.lang.php
Is PDO an abstraction layer? Burnsy <jburns131@gmail.com> - 2012-08-31 21:00 -0400
Re: Is PDO an abstraction layer? Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-31 22:05 -0400
Re: Is PDO an abstraction layer? BobMCT <r.mariotti@fdcx.net> - 2012-09-01 10:12 -0400
Re: Is PDO an abstraction layer? "P E Schoen" <paul@peschoen.com> - 2012-09-02 23:31 -0400
Re: Is PDO an abstraction layer? Jerry Stuckle <jstucklex@attglobal.net> - 2012-09-02 23:38 -0400
| From | Burnsy <jburns131@gmail.com> |
|---|---|
| Date | 2012-08-31 21:00 -0400 |
| Subject | Is PDO an abstraction layer? |
| Message-ID | <k1rmnn$1ne6$1@news.ett.com.ua> |
What's going on folks. I'm trying to wrap my brain around just what PDO is. Is it a database abstraction layer like ADOdb? Or is it just a method to simplify access to the sql databases out there? Or is it something else all together? I've been working on a project and decided to use ADOdb before PDO was available. I'm at a point where I'm looking into other options for my database access, and where PDO fits into this scheme of things eludes me. Thanks ahead of time for any input you may have.
[toc] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2012-08-31 22:05 -0400 |
| Message-ID | <k1rqic$j3o$1@dont-email.me> |
| In reply to | #6916 |
On 8/31/2012 9:00 PM, Burnsy wrote: > What's going on folks. I'm trying to wrap my brain around just what PDO > is. Is it a database abstraction layer like ADOdb? Or is it just a > method to simplify access to the sql databases out there? Or is it > something else all together? > > I've been working on a project and decided to use ADOdb before PDO was > available. I'm at a point where I'm looking into other options for my > database access, and where PDO fits into this scheme of things eludes me. > > Thanks ahead of time for any input you may have. Yes, it is an abstraction layer for data access. See http://www.php.net/manual/en/intro.pdo.php. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | BobMCT <r.mariotti@fdcx.net> |
|---|---|
| Date | 2012-09-01 10:12 -0400 |
| Message-ID | <ot5448t5elu4ja83d8h093n1lahq81p3ba@4ax.com> |
| In reply to | #6916 |
On Fri, 31 Aug 2012 21:00:44 -0400, Burnsy <jburns131@gmail.com> wrote: >What's going on folks. I'm trying to wrap my brain around just what PDO >is. Is it a database abstraction layer like ADOdb? Or is it just a >method to simplify access to the sql databases out there? Or is it >something else all together? > >I've been working on a project and decided to use ADOdb before PDO was >available. I'm at a point where I'm looking into other options for my >database access, and where PDO fits into this scheme of things eludes me. > >Thanks ahead of time for any input you may have. As Jerry stated - it is an abstract layer. For a look at using this layer you might want to take a look at this article: http://phpmaster.com/migrate-from-the-mysql-extension-to-pdo/
[toc] | [prev] | [next] | [standalone]
| From | "P E Schoen" <paul@peschoen.com> |
|---|---|
| Date | 2012-09-02 23:31 -0400 |
| Message-ID | <k218a7$ifd$1@dont-email.me> |
| In reply to | #6923 |
"BobMCT" wrote in message news:ot5448t5elu4ja83d8h093n1lahq81p3ba@4ax.com... > As Jerry stated - it is an abstract layer. For a look at using this > layer you might want to take a look at this article: > http://phpmaster.com/migrate-from-the-mysql-extension-to-pdo/ Thanks for the article. It helps explain my problem with SQlite. Seems like a good idea to consolidate the various database functions in this way. Hopefully now that I've figured it out and got it working, I should have few problems in the future due to server differences. Paul www.muttleydog.com
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2012-09-02 23:38 -0400 |
| Message-ID | <k218n7$jnk$1@dont-email.me> |
| In reply to | #6933 |
On 9/2/2012 11:31 PM, P E Schoen wrote: > "BobMCT" wrote in message > news:ot5448t5elu4ja83d8h093n1lahq81p3ba@4ax.com... > >> As Jerry stated - it is an abstract layer. For a look at using this >> layer you might want to take a look at this article: >> http://phpmaster.com/migrate-from-the-mysql-extension-to-pdo/ > > Thanks for the article. It helps explain my problem with SQlite. Seems > like a good idea to consolidate the various database functions in this > way. Hopefully now that I've figured it out and got it working, I should > have few problems in the future due to server differences. > > Paul > www.muttleydog.com Unfortunately, unless you stick with ANSI standard SQL (which can be limiting), you'll always have inconsistencies when switching databases. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web