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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:55:04+00:00 2026-05-23T08:55:04+00:00

I’ve developed a plugin loading mechanizem, and as a result of the plugins hierarchy

  • 0

I’ve developed a plugin loading mechanizem, and as a result of the plugins hierarchy design, to be mostly abstract level programming, and with as least high level programming as possible, the plugin class hierarchy of the top most plugins may reach eight.

I’ve been loading tens of plugins to stretch the loading time, and it seem to load quite OK, so I’m wondering what are the bad side effect of the inheritance design, aside of the “inheritance vs composition” design issues, things like performance issues, in loading, or run-time.

I would add and say, this is not a plugin model design issue, this is application design issue over the plugin model, should the application know all of its plugins? or should the application define plugins which may have their own plugins that the main application would not be aware of them. The design works for me, and it saves me tones of coding time, the question is how would it behave in run-time?

Thanks in advance,

Adam Zehavi.

  • 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-23T08:55:04+00:00Added an answer on May 23, 2026 at 8:55 am

    I think that the problem with a deep hierarchy isn’t so much related to perforfance.
    It’s more about maintainability of your code. Anyway if you feel to need such a deep hierarchy use it, or post more details.

    Of course you have to pay attention to what you are doing. For example:

    public someClassDeepLevel0{ public void foo(){do something}}
    .....
    public someClassDeepLevel10 extends someClassDeepLevel9{
    public void foo(){
     //do something
     super.foo();
    }
    }
    

    Number of calls to foo() is proportional to how much is deep your hierarchy. If you are doing things like that, then performance could be quite relevant.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a reasonable size flat file database of text documents mostly saved in
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text

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.