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

  • Home
  • SEARCH
  • 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 634213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:16:10+00:00 2026-05-13T20:16:10+00:00

How could I set up custom DB adapter (I will use simple DBSimple) and

  • 0

How could I set up custom DB adapter (I will use simple DBSimple) and then use it inside of my model? I don’t want to extend my model with Zend_Db_Table, it seems pretty useless for me at the moment.

Sorry for question, but I’m real noob in ZF.

Thank you

  • 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-05-13T20:16:11+00:00Added an answer on May 13, 2026 at 8:16 pm

    If you really want to have a custom adapter in the ZF sense, you have to extend their Zend_Db_Adapter_Abstract class and implement all methods within for use with DBSimple. If you do this, you can use the adapter with the entire Zend_Db package and you would also set it up like any other ZF adapter.

    If you don’t care about compatibility with the Zend_Db package, you just use DBSimple like you always do. If you want to set it up during your app’s bootstrap and you are using Zend_Application, either create a custom Resource Plugin or add an _initDb method in your Zend_Application_Bootstrap_Bootstrap. See the chapter on Zend_Application in the reference guide for more details on how to do this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Could I use migrator.net bare migration framework and just have a set of SQL
What algorithms could i use to determine common characters in a set of strings?
I've made custom adapter and call notifyDataSetChanged() then data updates. But after call notifyDataSetChanged()
How (if possible) could I set a custom font in a ActionBar title text(only
In former versions of Parallel Extensions you could set the number of threads: enumerable.AsParallel(numberOfThreads)
How could I set the value of the Height property of a WPF control
I have a set of entities where they could possibly be set as deleted
How could I execute a set of .SQL files (each does some data transformations)
How could one test whether a set of modules is installed, given the names
Could someone show me in a snipet of code how to set the backlight

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.