October 07th-sharing contract:
In the past two days, we have been learning about the new feature of Windows 8: contract. The concept of contract is introduced by integrating the set contract into the program. Then I learned how to extend our search program for users. I will introduce the sharing contract today.
In systems before Windows 8, it is very difficult to build "social" in programs. You must not only learn the APIs on the platform where the program runs, but also learn other APIs, such as Facebook, Twitter, and other social networks you want to join.
This task is very heavy and it is impossible to achieve high efficiency.
In Windows 8, we only need to pay attention to the programs we created. In fact, placing a button in a Windows 8 program (for example, sharing it to social network X) is not in line with the design guide for Windows 8. Why is a Twitter button provided when a user does not use Twitter? The same applies to other social platforms such as Google +, Facebook, Flickr, GitHub, and others.
With the shared contract, you can have full control over sharing. you only need to prepare the content to be shared, and the user decides where to share and how to share it. this will give users a good experience, and it is also a great highlight in Windows 8.
PDF:
October 07th-sharing contract
For more information, visit the following link:
Windows 8 development day 31
Some