| Author |
what actually context is in Simpler terms?
|
Azrael Noor
Ranch Hand
Joined: Jul 29, 2010
Posts: 369
|
|
i am finding various definitions of context
but what will i say it in simpler terms.
While programming
we say ""It is not getting context""
or ""how will it get context if we will follow this mechanism""
* is context, an object ? if yes then what type of object it is?
* context is name to object bindings? what is ""NAME""(variable name of object?)
* what actually context contains? as i have seen Path in context variable.
kindly clear me the concept, in simple terms, instead of redirecting me somewherfe
Thank You
|
Regards
Azrael Noor
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
Context means the environment in which the code is operating. And yes, it can mean many things depending upon the context within which the word "context" is being used. (See what I did there?)
It could mean many things, including:
a web applicationA construct passed to a method to establish its context, such as ServletContextImplicit constructs in which context information can be stored, such as a JSP's page, request, session and applications contexts for scoped variables.An so on and on and on ...
A dictionary definition for context that states this in a general way is:
The circumstances that form the setting for an event, statement, or idea, and in terms of which it can be fully understood and assessed
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Azrael Noor
Ranch Hand
Joined: Jul 29, 2010
Posts: 369
|
|
Thank you
but what does this means?
A naming service associates names with objects. An association between a name and an object is called a binding, and a set of such bindings is called a context.
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
It's hard to explain what it means, beyond saying "It means exactly what it says". Is there something particular you don't understand about it? The only undefined terms in it are "name" and "object"... do you have a question about what they might mean? Beyond that, the sentence just goes on to define other things in terms of "name" and "object". It uses words like "association" and "set" to do that ... do you have a question about what they mean?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
It means that for that particular use case the context is a set of bindings.
|
 |
Azrael Noor
Ranch Hand
Joined: Jul 29, 2010
Posts: 369
|
|
@Paul :
you made me cry
why you are getting rude?
@Bear:
:: Set of Bindings :: Name and Object Binding <------ So name here is object name?
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
That was the farthest thing from my mind. The way to read that statement (or any other definition) is to break it down into its component parts, rather than just saying "I don't understand". And that was what I tried to do for you.
|
 |
Azrael Noor
Ranch Hand
Joined: Jul 29, 2010
Posts: 369
|
|
OK Sir
Thank You
@Bear :
:: Set of Bindings :: Name and Object Binding <------ So name here is object name?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
I have no idea. I have no context for that question. (See, I used "context" in a sentence again.)
|
 |
Azrael Noor
Ranch Hand
Joined: Jul 29, 2010
Posts: 369
|
|
thank you for your replies
|
 |
 |
|
|
subject: what actually context is in Simpler terms?
|
|
|