Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9160119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:39:38+00:00 2026-06-17T13:39:38+00:00

While I converted myself (finally!) from mysql_connect() to PDO::etc and all the other mysql

  • 0

While I converted myself (finally!) from mysql_connect() to PDO::etc and all the other mysql functions, to adopt a better, DB abstraction coding style to my websites, I couldn’t help noting how object oriented, error exception handling and prepared statements based this stuff is. I’m OK with all this, but I’m sure the beginner next to me only gets as far as the simplicity of copy-and-paste.

Are there any libraries/scripts/user contributions to make the DBO calls simpler, such as removing exception handling and object orientate, or at least n00b friendly?

I have made my own library with PDO, but I’m not sure what there is already out there?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:39:40+00:00Added an answer on June 17, 2026 at 1:39 pm

    You can use a framework that uses an ORM, like Laravel: http://laravel.com/docs/database/eloquent

    But then you are not writing your own SQL-queries (or its not recommended), else you can just use MySQLi: https://www.php.net/mysqli_query but neither of them removes any objective view I think. But both may be easier to understand for a new programmer.

    I recommend you to go for a framework on at least your future projects.

    Here is some examples of them all:

    • http://laravel.com/docs/database/eloquent (Laravel)
    • http://ellislab.com/codeigniter/user-guide/database/active_record.html (CodeIgniter)
    • http://book.cakephp.org/2.0/en/models/retrieving-your-data.html (CakePHP)
    • http://li3.me/docs/manual/quickstart (Lithium, for alternative database MongoDB)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While refactoring code and ridding myself of all those #defines that we're now taught
While converting types, I have found myself using both VB functions and BCL Convert.To*
I converted my whole site to XML/XSL and I would like to know all
I'm trying to convert a xml document from one format to another and while
Sometimes I find myself wanting to execute some privileged code on the server while
I'm playing with Pygame (teaching myself from the 2007 book Game Programming by Andy
Hi all, Very new to Erlang, coming from C/C++/Java. Been playing with code and
I'm trying to teach myself python right now, and I'm using exercises from Learn
I am finding myself again confused by C strings, chars, etc. Here is some
While working on an AppEngine connected Android project, I occasionally have problems with RequestFactory

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.