Professional Documents
Culture Documents
A Review On
A Review On
Data Encapsulation
Data Abstraction
Polymorphism
Inheritance
Message Passing
Data
Encapsulation:
Data Abstraction:
Data Abstraction captures those details about an object that
are relevant to the current perspective. It tries to reduce and factor
out details so that the programmer can focus on a few concepts at a
time.
The major purpose of a database system is to provide users
with an abstract view of the system. The system hides certain
details of how data is stored and created and maintained. In other
words, the actual physical low level implementation details are
hidden. Complexity should be hidden from end users. Even in the
user category is divided into guest and member.
The users need not know which category in the database they
belong to or how that category is implemented in the database
system or where it is stored. Guests have rights to access public
Inheritance:
In object-oriented programming (OOP), Inheritance is a way to
reuse code of existing objects, establish a subtype from an existing
object, or both, depending upon programming language support.
Inheritance is the process by which a class acquires the attributes
and properties of another class.
Inheritance is a feature of Myntra.com as each product inherits
its id from the product class subclass hierarchy. In fact, all
elements/instances get their unique id inherited from their
superclass.
For example, Myntra.com id which is concatenation of ids generated
by the superclasses such as Guest, Member and Product. Also, any
product posted by a member on Myntra.com will get its id on the
basis of the super classes (direct as well as indirect) it belongs to.
Polymorphism:
Polymorphism in the context of object-oriented programming is
the ability to create a variable, a function, or an object that has
more than one form. The purpose of polymorphism is to implement
a style of programming called message-passing in the literature, in
which objects of various types define a common interface of
operations for users.
The concept of polymorphism is not used as every function has
a different name and functionalities are different. The payment class
shows an example of polymorphism. For example, payment takes
two parameters: amount and card number. The second parameter of
card number can be of string data type or integer data type. Thus
exhibiting Polymorphism in Myntra.com .
Message Passing:
Advantages of Myntra.com:
1.
2.
3.
4.
5.
Disadvantages of Myntra.com:
1.
2.
3.
4.
5.
6.
7.
8.
Conclusion:
Thus, the e-commerce website Myntra.com has been reviewed
on the basis of object oriented programming and user interaction.
Also analysis has been done about gains and drawbacks of this
website is done thoroughly.