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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:52:22+00:00 2026-05-14T20:52:22+00:00

Dang-I know this is a subjective question so will probably get booted off/locked, but

  • 0

Dang-I know this is a subjective question so will probably get booted off/locked, but I’ll try anyway, because I don’t know where else to ask (feel free to point me to a better place to ask this!)

I’m just wrapping my head around oop with PHP, but I’m still not using frameworks or anything.

I’d like to create several small simple objects that I could use in my own websites to better get a feel for them.

Can anyone recommend a list or a resource that could point me to say 10 day-to-day objects that people would use in basic websites?

The reason I’m asking is because I’m confusing myself a bit. For example, I was thinking of a “database connection” object, but then I’m just thinking that is just a function, and not really an “object”??

So the question is:

What are some examples of objects used in basic PHP websites (not including “shopping cart” type websites)

Thanks!

  • 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-14T20:52:22+00:00Added an answer on May 14, 2026 at 8:52 pm

    Here’s a few basic reusable objects you might have:

    • Session (identified by a cookie, stored server side)
    • User (username, password, etc.)
    • DBConnection (yes, this can be an object)
    • Comment (allow users to comment on things)

    It sounds like you want to start to build your own web framework, which is a decent way to learn. Don’t reinvent the wheel though. For a production site, you’re probably better off using an existing framework.

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

Sidebar

Related Questions

I have a project which has a calling structure similar to this: main project/application
I've found some examples of .AVI in html on the web. But my page
I'm so dang close. I'm trying to print the contents of a form to
Server is a class I made that extends JFrame. Server serverApp = new Server(TITLE,
I have a couple search forms, 1 with ~50 fields and the other with
I don't have time to read or digest long intricate discussions on theoretical concepts
I'm trying to change the id of my elements when I clone an element,
I am trying to figure out what hashing algorithm is used for the Microsoft
After maintaining lots of code littered with #region (in both C# and VB.NET), it

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.