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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:42:43+00:00 2026-06-02T07:42:43+00:00

I was just looking through many books about php e-commerce websites (like Beginning PHP

  • 0

I was just looking through many books about php e-commerce websites (like Beginning PHP and MySQL E-Commerce) and I realised that so many use object-oriented programming as a basic foundation. I thought about it, and I realised it is perfectly possible to replicate those e-commerce websites without using object-oriented programming, so why do they all go for OOP?

Thanks,

Lucas

  • 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-02T07:42:44+00:00Added an answer on June 2, 2026 at 7:42 am

    Question actually boils down to “Why do most people use OOP?”.

    The short answer is because we can 😉
    The longer answer is: A good program in a non OOP language still tries to organize itself into sensible chunks that are pretty similar to objects. For example, a C library that takes an opaque data structure as the first parameter of each method. OOP languages have just made it easier to do. (i.e. you don’t need that opaque data, because “this” does the same job.

    If you are writing in a language that has all the bells an whistles to organize you code into smaller pieces, you’ll find it much easier to maintain than writing the whole app in one giant main() [I won’t go into the whole why OOP is better]

    Any OOP program can be written as non OO – early C++ compilers just converted C++ into C and compiled that – but why would you?

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

Sidebar

Related Questions

I was just looking through some information about Google's protocol buffers data interchange format.
Looking through the perlsub and perlop manpages I've noticed that there are many references
I was just looking through implementation of non local means algorithm via google (thanks
I was looking through a code tutorial just now, and found something interesting --
Just looking for the first step basic solution here that keeps the honest people
Just looking for a good PHP Image Library, I want to display images with
I've been trawling through many pages about software licensing and it's a real brain-beater.
I'm developing an Asset management application. Looking through the excel tracker that was being
I was just looking through this stack overflow question: What's the hardest or most
Ok so I have been looking around at just about every option under the

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.