![]() | |
#41
| |||
| |||
|
|
I know both object oriented programming and DB (SQL). But it seems that these are incompatible. Or may somebody advice how to meddle them together? Being strong in both OOP and DB development, I am yet weak in writing object oriented programs which use DB. Maybe somebody may suggest me some article about mixing together DB and OOP?I |

#42
| |||
| |||
|
|
Schema inheritance -- Most relational databases do not support schema inheritance. Although such a feature could be added in theory to reduce the conflict with OOP, relational proponents are less likely to believe in the utility of hierarchical taxonomies and sub-typing because they tend to view set-based taxonomies or classification systems as more powerful and flexible than trees. OO advocates point out that inheritance/subtyping models need not be limited to trees (though this is a limitation in many popular OO languages such as Java), but non-tree OO solutions are seen as more difficult to formulate than set-based variation-on-a-theme management techniques preferred by relational. At the least, they differ from techniques commonly used in relational algebra. |
#43
| |||
| |||
|
|
Schema inheritance -- Most relational databases do not support schema inheritance. Although such a feature could be added in theory to reduce the conflict with OOP, relational proponents are less likely to believe in the utility of hierarchical taxonomies and sub-typing because they tend to view set-based taxonomies or classification systems as more powerful and flexible than trees. OO advocates point out that inheritance/subtyping models need not be limited to trees (though this is a limitation in many popular OO languages such as Java), but non-tree OO solutions are seen as more difficult to formulate than set-based variation-on-a-theme management techniques preferred by relational. At the least, they differ from techniques commonly used in relational algebra. |
#44
| |||
| |||
|
|
Schema inheritance -- Most relational databases do not support schema inheritance. Although such a feature could be added in theory to reduce the conflict with OOP, relational proponents are less likely to believe in the utility of hierarchical taxonomies and sub-typing because they tend to view set-based taxonomies or classification systems as more powerful and flexible than trees. OO advocates point out that inheritance/subtyping models need not be limited to trees (though this is a limitation in many popular OO languages such as Java), but non-tree OO solutions are seen as more difficult to formulate than set-based variation-on-a-theme management techniques preferred by relational. At the least, they differ from techniques commonly used in relational algebra. |
#45
| |||
| |||
|
|
Schema inheritance -- Most relational databases do not support schema inheritance. Although such a feature could be added in theory to reduce the conflict with OOP, relational proponents are less likely to believe in the utility of hierarchical taxonomies and sub-typing because they tend to view set-based taxonomies or classification systems as more powerful and flexible than trees. OO advocates point out that inheritance/subtyping models need not be limited to trees (though this is a limitation in many popular OO languages such as Java), but non-tree OO solutions are seen as more difficult to formulate than set-based variation-on-a-theme management techniques preferred by relational. At the least, they differ from techniques commonly used in relational algebra. |
#46
| |||
| |||
|
|
Schema inheritance -- Most relational databases do not support schema inheritance. Although such a feature could be added in theory to reduce the conflict with OOP, relational proponents are less likely to believe in the utility of hierarchical taxonomies and sub-typing because they tend to view set-based taxonomies or classification systems as more powerful and flexible than trees. OO advocates point out that inheritance/subtyping models need not be limited to trees (though this is a limitation in many popular OO languages such as Java), but non-tree OO solutions are seen as more difficult to formulate than set-based variation-on-a-theme management techniques preferred by relational. At the least, they differ from techniques commonly used in relational algebra. |
#47
| |||
| |||
|
|
Schema inheritance -- Most relational databases do not support schema inheritance. Although such a feature could be added in theory to reduce the conflict with OOP, relational proponents are less likely to believe in the utility of hierarchical taxonomies and sub-typing because they tend to view set-based taxonomies or classification systems as more powerful and flexible than trees. OO advocates point out that inheritance/subtyping models need not be limited to trees (though this is a limitation in many popular OO languages such as Java), but non-tree OO solutions are seen as more difficult to formulate than set-based variation-on-a-theme management techniques preferred by relational. At the least, they differ from techniques commonly used in relational algebra. |
#48
| |||
| |||
|
|
Schema inheritance -- Most relational databases do not support schema inheritance. Although such a feature could be added in theory to reduce the conflict with OOP, relational proponents are less likely to believe in the utility of hierarchical taxonomies and sub-typing because they tend to view set-based taxonomies or classification systems as more powerful and flexible than trees. OO advocates point out that inheritance/subtyping models need not be limited to trees (though this is a limitation in many popular OO languages such as Java), but non-tree OO solutions are seen as more difficult to formulate than set-based variation-on-a-theme management techniques preferred by relational. At the least, they differ from techniques commonly used in relational algebra. |
#49
| |||
| |||
|
|
Schema inheritance -- Most relational databases do not support schema inheritance. Although such a feature could be added in theory to reduce the conflict with OOP, relational proponents are less likely to believe in the utility of hierarchical taxonomies and sub-typing because they tend to view set-based taxonomies or classification systems as more powerful and flexible than trees. OO advocates point out that inheritance/subtyping models need not be limited to trees (though this is a limitation in many popular OO languages such as Java), but non-tree OO solutions are seen as more difficult to formulate than set-based variation-on-a-theme management techniques preferred by relational. At the least, they differ from techniques commonly used in relational algebra. |
#50
| |||
| |||
|
|
On Feb 7, 12:35 pm, Victor Porton <por... (AT) narod (DOT) ru> wrote: I know both object oriented programming and DB (SQL). But it seems that these are incompatible. I suggest that OO ideas are too naive to continue influence programming. Formal Concept Analysis (FCA) is much more theoretically sound method how to organize things into taxonomies. Here is an example -- a hierarchy of living things, restricted to the set {Lamprey, Trout, Lungfish, ..., Human}. FCA starts with feature matrix like this: * * * * * * * * * *Jaws Limbs * Hair * *Lungs * Tail * *Shell Lamprey 0 * * * 0 * * * 0 * * * 0 * * * 1 * * * 0 Trout * * * * * * * 1 * 0 * * * 0 * * * 0 * * * 1 * * * 0 Lungfish * * * *1 * * * 0 * * * 0 * * * 1 * * * 1 * * * 0 Turtle * * * * * * *1 * 1 * * * 0 * * * 1 * * * 1 * * * 1 Cat * * * * * * * * 1 * 1 * * * 1 * * * 1 * * * 1 * * * 0 Gorilla * * * * * * 1 * 1 * * * 1 * * * 1 * * * 0 * * * 0 Human * * * * * * * 1 * 1 * * * 1 * * * 1 * * * 0 * * * 0 Then, the objects and the attributes (aka concepts) organize themselves into a lattice like this Lamprey -> Trout -> Lungfish -> Cat -> Gorilla * * * * * * * * * * * *| * * * * | * * * * * * * * * * * *| * * * * ---> Human * * * * * * * * * * * *| * * * * * * * * * * * *----> Turtle which is more powerful concept than OO hierarchy of classes. Each FCA concept is essentially a limited form of a relation. |
|
There are some reasons why FCA methods never enjoyed a success comparable to OO and Relational Model. They are simply more restrictive sets of relations which obey distributive property, why relations in general don't. |
![]() |
| Thread Tools | |
| Display Modes | |
| |