answersLogoWhite

0


Best Answer

Data binding is to tie 2 data sources together at runtime. This technique is very useful in writing software that requires different source of data in different environments (design, test, and production environment; client's region, time zone, and the language used)

Encapsulation is to hide information (data and/or behaviors). This technique is used for design and coding only. It has nothing or little to do with runtime.

These 2 techniques may work together from time to time, but I don't think they have anything to do with each other.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between data binding and encapsulation?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is encapsulation and data hiding in dbms?

ODBMS stands for object oriented database management system. Encapsulation in ODBMS can be defined as binding of data together.


Why is encapsulation called wrapping?

Encapsulation is also known as wrapping because it wraps the data in the same way as a toffee is wrapped to create a logical insulation between the data(program) & the outer world(computer).


What do you mean by binding of data?

Data binding is the process that establishes a connection between the application UI and business logic. If the binding has the correct settings and the data provides the proper notifications, then, when the data changes its value, the elements that are bound to the data reflect changes automatically.


Is it true that wrapping up of data of different types into a single unit is known as encapsulation?

Not quite. Encapsulation means to combine data and the methods that work upon that data into a single unit (an object), such that access to both the data and methods is restricted in a controlled manner. Data-hiding is fundamental to encapsulation.


What is pdu encapsulation?

protocol data unit


What is the difference between data abstraction and encapsulation?

Data Encapsulation : It is a process of bundling the data, and the functions that use them, as a single unit( atleast in C++) . In C++ the data type "class" is used to achieve this. Data Abstraction : It is a process of exposing only the interfaces and hiding the implementation details from the user. The interface exposed will remain the same: even if the internal implementation changes. This helps the user to use the new functionality without rewriting the client that was designed for previous implementation (strictly speaking ... previous interface).


Which data link layer encapsulation protocol is used by default for serial connections between two Cisco routers?

HDLC


Wrapping of data in a single unit is called?

encapsulation


What is the difference between OLAP and data mining?

difference between Data Mining and OLAP


What is the difference between allocation and search data structure?

difference between serch data structure and allocation data structure


Which layers of the OSI model are involved in data encapsulation?

none


What are two main components of data confidentiality?

encapsulation encryption