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 6602741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:54:44+00:00 2026-05-25T18:54:44+00:00

i am learning php for a few weeks now and wanted to know what

  • 0

i am learning php for a few weeks now and wanted to know what programming technique should one use while writing web applications such as a user management system.. i googled about it but still didnt get a clear view whether it should be strictly object oriented like java or may use procedural methods like functions without classes..??

also i had a problem:
a class ‘user’ containing details of a logging-in user such as name , uid, etc and a class ‘dbman’ which has variables and methods to handle database jobs such as verifying username and password and logging in and out entries and other stuff..now a third class ‘usermanager’ is there which is supposed to inherit the above two classes so that users details may be used to drive dbman from within usermanager and data of user and dbman remains hidden and the code remains clean..
but i dont think a class can inherit two classes simultaneously in php..
so i made user and dbman static and created an objects of both in usermanager..is it a good method (i dont think so!!)

what should i do??

thanx for any help in advance..

  • 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-25T18:54:45+00:00Added an answer on May 25, 2026 at 6:54 pm

    I would suggest looking into PHP Frameworks. Many of them tend to be OO and use a MVC Design Pattern.

    Just google MVC(Model View Controller) and look at a few of the frameworks out there…

    my personal favorite is Code Igniter (http://codeigniter.com/), but many other are out there like Cake PHP, Symphony, Zend and many more.

    A Framework allows you to reuse code allowing you to focus on the logic that will make your application do what its suppose to.

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

Sidebar

Related Questions

Bear with me, I have been only learning PHP for only a few weeks,
I've created a few minor apps for Android while learning. Being a PHP developer,
Hey I am very new to Web Programming. I have been learning PHP from
I am learning php, trying to use the fopen() function. The php file I
i just got some more questions while learning PHP, does php implement any built
So I've been programming in PHP for the past 7 yrs. What I should
I am new to web development and I'm learning PHP in order to sell
I'm writing a CMS application in PHP and one of the requirements is that
I only began learning about web development 3 weeks ago and have grasped html,
I'm web developer. I'm using PHP! I don't know how many years of experience

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.