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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:47:58+00:00 2026-05-21T18:47:58+00:00

After a little debate with a friend on the use of PHP classes to

  • 0

After a little debate with a friend on the use of PHP classes to build a website. How are they used to create a website? and which method is best?

For example say your website was bobs flowers, would you have a bobs flowers class? Or would you use classes within a “normal” PHP setup (eg just a DB class).

How does it work? I have always just used PHP without classes however am beginning to realise how useful they can be within programming.

  • 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-21T18:47:59+00:00Added an answer on May 21, 2026 at 6:47 pm

    You should definitely use classes/objects when building a website.

    Regarding ‘best use’, you could have a look at how frameworks do it. E.G. Zend Framework, CakePHP, CodeIgniter

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

Sidebar

Related Questions

After a little research I've determined that the only access modifiers which you can
It seems that after a little use my app becomes slow and unresponsive on
I'm after a little help with the techniques to use for Databinding. It's been
I've noticed that my entire app becomes very unresponsive after a little use. I
Right, Just after a little bit of input here really on what the best
After a little testing/scripting/playing with PHP 5.3 PHAR archives, I discovered some problems. glob
Hi there, I'm after a little javascript to hide the second p tag within
After trying my hand at Perl and a little bit of C, I am
After trying to make access to a storage class a little easier, I ended
Having a little difficulty getting a function to call after a .load: $(function(){ $('a.pageFetcher').click(function(){

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.