Chapter 5 Data Bond
Comrade Write the MFC program knows that we can easily add variables to the controls on the dialog, which is convenient for data display and acquisition. But this bond is still not so convenient, such as automatic automatic correspondence with the property of an object with the control on the window, and cannot be automatically refreshing, if the background data is refreshed ---- Manual Completing these work is very cumbersome.
In Longhorn, you can bind the interface elements with the CLR object, XML document, ADO.NET's dataset, Web Service message, and WinFS object. Bonds are divided into several types: One-Time Data Binding, One-Way Data Binding, Two-Way Data Binding.
You can use XML to declare the bond, or you can do it through the program language.
The process of binding can be converted so that you can display a string to the user interface to display.
Allows the automatic notification interface update when data object changes.
Chapter VI Communication
Speaking of network programming, we will think of Socket. Of course, it is now popular with Web Service. What is previously remoting, it is standing on the side. In addition, the current application is no longer communicating with the server as before, because P2P has begun popular.
LONGHORN's final killer Indigo is to unite Web Service and Remoting, completely mask Socket, and create network applications never doing so simple. Use metadata and configuration files to make the data security and encryption can be flexible.
Not only the client can connect to the server, but the server can also call back the client so that the event notification becomes easy.
The data format used to communicate is not necessarily XML format, which can be binary, which is completely flexible.
Chapter 7 Creating Mobility Applications
More and more mobile devices have to pay us to pay attention to relative applications.
Features:
1. The network is everywhere.
2. Point-to-point connection
3. Dynamic light
4. Multi-display and conference projector
5. More excellent power management
6. Quickly recover from standby
7. Status notification
8. Offline data operation (automatic synchronization when online)
9. Position perception application
It is worth noting that the 8th point offline data operation is required, requiring you to save data (temporary position) when it offline, then automatically synchronize when connecting, no user intervention - a better user experience.
Ok, it's probably narrative. Regarding Longhorn, there is no change in the erasing, only real changes, will you accept Longhorn?