Content deleted Content added
fix link for JavaScript Delegation - Functions as Roles (Traits and Mixins) |
m Minor corrections |
||
Line 1:
{{Programming paradigms}}
'''Role-oriented programming''' is a form of [[programming language|computer programming]] aimed at expressing things in terms
The main idea of role-oriented programming is that humans think in terms of [[role]]s. This claim is often backed up by examples of [[social relations]]. For example, a student attending a class and the same student at a party are the same person, yet he plays two different roles. In particular, the interactions of this person with the outside world depend on his current role. The roles typically share features, e.g., the intrinsic properties of being a person. This sharing of properties is often handled by the [[Delegation_(programming)|delegation]] mechanism.
In the older literature and in the field of [[databases]], it seems that there has been little consideration for
Many researchers have argued the advantages of roles in [[Computer model|modeling]] and implementation. Roles allow objects to evolve over time, they enable independent and [[Concurrency (computer science)|concurrently]] existing views (interfaces) of the object, explicating the different contexts of the object, and separating concerns. Generally roles are a natural element of our daily concept forming. Roles in programming languages enable objects to have changing interfaces, as we see it in real life - things change over time, are used differently in different contexts, etc.
==Programming languages with explicit support for roles==▼
* [http://www.eclipse.org/objectteams Object Teams]▼
* [http://portal.acm.org/citation.cfm?id=1141277.1141606 powerJava]▼
* [http://www.graco.c.u-tokyo.ac.jp/~tamai/epsilon.html EpsilonJ]▼
* [http://www.itu.dk/~kbilsted/chameleon.html Chameleon]▼
* [[Moose (Perl)#Roles|Perl 5 (Moose)]]▼
* [[JavaScript#Implicit_and_explicit_delegation|JavaScript Delegation - Functions as Roles (Traits and Mixins)]]▼
==Authors of role literature==
* [http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/p/Pernici%3ABarbara.html Barbara Pernici]
* [http://www.mip.sdu.dk/people/Staff/bbk.html Bent Bruun Kristensen]<ref>http://www.sigmod.org/dblp/db/indices/a-tree/k/Kristensen%3ABent_Bruun.html</ref>▼
* [http://existentialprogramming.blogspot.com/search/label/roles Bruce Wallace]▼
* [[Charles Bachman]]<ref>http://www.computerhistory.org/events/lectures/bachman_04162002/bachman.shtml</ref>
* [
* [http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/g/Gottlob%3AGeorg.html Georg Gottlob]
* [http://www.itu.dk/people/kbilsted/ Kasper B. Graversen]▼
▲* [http://www.mip.sdu.dk/people/Staff/bbk.html Bent Bruun Kristensen]<ref>http://www.sigmod.org/dblp/db/indices/a-tree/k/Kristensen%3ABent_Bruun.html</ref>
* [http://www.itu.dk/people/kasper/ Kasper Østerbye]
* [http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/h/Herrmann%3AStephan.html Stephan Herrmann]
* [[Trygve Reenskaug]]<ref>http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/
▲* [http://existentialprogramming.blogspot.com/search/label/roles Bruce Wallace]
▲* [http://www.itu.dk/people/kbilsted/ Kasper B. Graversen]
▲==Programming languages with explicit support for roles==
==See also==▼
▲* [http://www.itu.dk/~kbilsted/chameleon.html Chameleon]
*[[Object Oriented Role Analysis Method]]▼
▲* [http://www.graco.c.u-tokyo.ac.jp/~tamai/epsilon.html EpsilonJ]
*[[Object-role modeling]]▼
▲* [[JavaScript#Implicit_and_explicit_delegation|JavaScript Delegation - Functions as Roles (Traits and Mixins)]]
*[[Aspect-oriented programming]]▼
▲* [http://www.eclipse.org/objectteams Object Teams]
*[[Subject-oriented programming]]▼
▲* [[Moose (Perl)#Roles|Perl 5 (Moose)]]
*[[Subject (programming)]]▼
* [[
▲* [http://portal.acm.org/citation.cfm?id=1141277.1141606 powerJava]
*[[Data, context and interaction]]▼
==References==
<references/>
▲==See also==
▲* [[Aspect-oriented programming]]
▲* [[Data, context and interaction]]
▲* [[Object Oriented Role Analysis Method]]
▲* [[Object-role modeling]]
▲* [[Subject (programming)]]
▲* [[Subject-oriented programming]]
* [[Traits (computer science)]]
==External links==
* [ftp://ftp.ccs.neu.edu/pub/people/lieber/appcs.pdf Adaptive Plug-and-Play Components for Evolutionary Software Development], by Mira Mezini and Karl Lieberherr▼
*[http://doi.ieeecomputersociety.org/10.1109/COOPIS.1999.792181 ROPE: Role Oriented Programming Environment for Multiagent Systems]▼
* [http://www.iit.edu/~concur/asc/cassservices.html Context Aspect Sensitive Services]
* [http://www.itu.dk/people/kbilsted/graversen06thesis.pdf Overview and taxonomy of Role languages]
▲*[ftp://ftp.ccs.neu.edu/pub/people/lieber/appcs.pdf Adaptive Plug-and-Play Components for Evolutionary Software Development], by Mira Mezini and Karl Lieberherr
▲* [http://doi.ieeecomputersociety.org/10.1109/COOPIS.1999.792181 ROPE: Role Oriented Programming Environment for Multiagent Systems]
{{compu-prog-stub}}▼
[[Category:Object-based programming languages]]
[[Category:Programming paradigms]]
▲{{compu-prog-stub}}
|