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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:03:01+00:00 2026-06-12T06:03:01+00:00

Am I right in saying proxy objects are like an alias of another object

  • 0

Am I right in saying proxy objects are like an alias of another object / entity?
How are proxy objects used? Could anyone give a basic example?

Any replies are hugely appreciated.

  • 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-12T06:03:02+00:00Added an answer on June 12, 2026 at 6:03 am

    From GOF – Design Patterns book:

    Proxy object provide a surrogate or placeholder for another object to
    control access to it.

    So a class A(proxy) can extend the B(RealObject) class or implement its interfaces.
    Usually proxy do some intermediate steps between the callers and the real object without the callers knowing they were facing a proxy.

    There are many more specific patterns that results from proxy concept: Decorator (add more features), Remote Proxy (hide comunication between objects), Protection Proxy (control over comunication between objects), Lazy Instantiation (postpone the loading of grow objects only when they are needed) and others.
    All these Patterns don’t add extra methods to the real object but add some features to the existing methods.

    I suggest you to read Giorgio Sironi example in Practical php patterns book.

    For a real example Doctrine uses proxy for lazy loading of related objects.

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

Sidebar

Related Questions

What is the right way to create a pointer to pointer object? Like for
I want to preface this by saying I believe the Right™ Way to handle
Right now I have a function, in a class that is used to listen
Am I right in saying that Knockout encodes HTML values when binding to a
Is it right by saying it's common to have some interface members not implemented
There is link on top right saying "Advance Search". It does not show at
Am I right in saying that thor runs independently of rails? If this is
Would I be right in saying a neural network are good at finding 'good
Am I right in saying there is no Intellisense for C# 4 named parameters
I am not sure that the title is saying it right, most probably 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.