-2

In framworks for developing app whether it be a joomla or react or angular i see app class. What does it mean. Like if there is some user class, or some input class or that make sense for some purpose we are creating these. what about app class for what purpose one creats app class. thank you

-1

It is usually simply is the top level element/component or the entry point of your application. It got common practice to name it App but essentially there is no need to do that. The name can be something of your choice.

| improve this answer | |
  • Top level of element. In android it has some things activity and services. it has global variable. I still don't get it. Can i get some analogy or some link, why we are doing this creating app class. – bikashamit Dec 2 '19 at 10:57
  • @bikashamit I'm not actually sure if the question has any relevance. Why is your name bikashamit? It is a convention that has been established. Also in every framework the App class or component can serve a different purpose. You will have to figure it out per framework. – trixn Dec 2 '19 at 11:00
  • Thank you for your reply. I am confused with purpose of doing with name. – bikashamit Dec 2 '19 at 11:07
  • @bikashamit Or to frame it differently: The App component in a react application and the App class in an android app are not in any way related except they are both named App. It is a different language and framework. They are something completely different. It is coincidence. You are focusing way too much on the name. Just figure out what it does. And that is something different for every language and framework. – trixn Dec 2 '19 at 11:07
  • But both are doing same job making an app and making a class name app may be common. What is purpose of making a class at core for an app. – bikashamit Dec 2 '19 at 11:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.