background preloader

The Open Graph Protocol

The Open Graph Protocol

Model View ViewModel MVVM facilitates a clear separation of the development of the graphical user interface (either as markup language or GUI code) from the development of the business logic or back end logic known as the model (also known as the data model to distinguish it from the view model). The view model of MVVM is a value converter[4] meaning that the view model is responsible for exposing the data objects from the model in such a way that those objects are easily managed and consumed. In this respect, the view model is more model than view, and handles most if not all of the view’s display logic (though the demarcation between what functions are handled by which layer is a subject of ongoing discussion[5] and exploration). The view model may also implement a mediator pattern organising access to the backend logic around the set of use cases supported by the view. History[edit] Microsoft MVP Josh Smith reported[6] that A notable Javascript implementation of this pattern is Knockout.js. Timeline[edit]

Microformats Why I’ve deleted my Facebook account Open data An introductory overview of Linked Open Data in the context of cultural institutions. Clear labeling of the licensing terms is a key component of Open data, and icons like the one pictured here are being used for that purpose. Overview[edit] The concept of open data is not new; but a formalized definition is relatively new—the primary such formalization being that in the Open Definition which can be summarized in the statement that "A piece of data is open if anyone is free to use, reuse, and redistribute it — subject only, at most, to the requirement to attribute and/or share-alike Open data is often focused on non-textual material[citation needed] such as maps, genomes, connectomes, chemical compounds, mathematical and scientific formulae, medical data and practice, bioscience and biodiversity. A typical depiction of the need for open data: Creators of data often do not consider the need to state the conditions of ownership, licensing and re-use. I want my data back. Closed data[edit]

Jer's One Stop Shop > Home - MVVM for Tarded Folks Like Me *or* MVVM and What it Means to Me MVVM has been a trending topic lately. And why shouldn’t it be? People want to build great WPF/SL applications and want guidance on how to build them using the framework’s strengths. If you are anything like me, you started your WPF/SL career, learning the framework classes and hierarchy. I’m going to go out on a limb and make a wild assumption. Beginner’s MVVM Challenge #1 |or| Takin’ You Down to MVVM Town So we want to begin our journey into MVVM town by way of Bindingopolis. A model is a class that has your data. class Model public string Name { get; set; } public string Address { get; set; } A view is, for the sake of explanation, is a UserControl. /// Interaction logic for View.xaml public partial class View : UserControl public View() InitializeComponent(); A View-Model is, again, just another class. class ViewModel : INotifyPropertyChanged private Model m_model; public ViewModel() m_model = new Model(); public string Name get { return m_model.Name; } set if (m_model.Name ! if (changed ! Grid >

About RDFa - Webmaster Tools Help Marking up content using RDFa RDFa is a way to label content to describe a specific type of information, such as a restaurant review, an event, a person, or a product listing. These information types are called entities or items. Each entity has a number of properties. In general, RDFa uses simple attributes in XHTML tags (often <span> or <div>) to assign brief and descriptive names to entities and properties. <div> My name is Bob Smith but people call me Smithy. Here is the same HTML marked up with RDFa. <div xmlns:v=" typeof="v:Person"> My name is <span property="v:name">Bob Smith</span>, but people call me <span property="v:nickname">Smithy</span>. Here's how the sample works. The example begins with a namespace declaration using xmlns. Nested items The example above shows contact information about Bob Smith. It is common for one information type to include another. For more examples, see Nested items. Non-visible content

Will Facebook profiles replace govt web sites? Citizen Engagement, Policy By Robin Hicks | 19 March 2010 | Views: 22341 It’s all the rage for ministries and agencies to have a Facebook or even MySpace page these days. Governments are going where their citizens are. “We can’t do community outreach programmes sitting inside Parliament House. Government operates too many web sites, and most are difficult and expensive to maintain. Datuk Arpah bt Abdul Razak is the Director General of Local Government in Malaysia, where Facebook is the most popular social network. But government web sites will not disappear altogether, reckons Mark Medwecki, the Superintendent of the Hong Kong Police Force. The Netherlands is one of Europe’s largest consumers of social media, and the government has been a particularly active user. “The mixed model [using social media pages and official web sites] raises debate on a compelling issue: how to reconcile the requirements of accessibility with the innovative use of social media.

What’s Best: Microformats, RDFa, or Micro Data? In a recent post by Mike Blumenthal about Google’s announcement of supporting Microformats for local search, Andy Kuiper asked in the comments whether it would be best to go with Microdata versus RDFa or Microformat for marking up local business information. As the number of flavors of semantic markup have grown, I think Andy’s not the only one to wonder which markup protocol might be ideal. Here’s my opinion. When you’re asking “which is better?” It’s this last orientation of the question that I’m focusing upon — which semantic protocol is going to work best for Search Engine Optimization (“SEO”)? Now, you might think that since I was probably the earliest marketer to recommend using Microformats for SEO that I’d feel so “invested” in the protocol that I might push it exclusively. Microformats have been established the longest of the three protocols, and used by the search engines the longest. So, which is best for SEO purposes?

MVVM for Dummies I think that I have found one of the best articles on MVVM that I have ever read: This article sums up what is in MVVM and what is outside of MVVM. In WPF a lot of use is made of the Decorator and Behaviour pattern as well. C# – Ideal public partial class IdealView : UserControl { public IdealView() { InitializeComponent(); } } Figure: This is the ideal code behind for a Control / Window / Page when using MVVM. C# – Compromise, but works public partial class IdealView : UserControl { public IdealView() { InitializeComponent(); this.DataContext = new IdealViewModel(); } } Figure: This is a compromise, but the best you can do without Dependency Injection VB.NET – Ideal Partial Public Class ServerExplorerConnectView End Class VB.NET – Compromise, but works

Sketch2Photo Sketch2Photo: Internet Image Montage Tao Chen1 Ming-Ming Cheng1 Ping Tan2 Ariel Shamir3 Shi-Min Hu1 1TNList, Department of Computer Science and Technology, Tsinghua University 2National University of Singapore 3The Interdisciplinary Center Abstract We present a system that composes a realistic picture from a simple freehand sketch annotated with text labels. The composed picture is generated by seamlessly stitching several photographs in agreement with the sketch and text labels; these are found by searching the Internet. Paper Sketch2Photo: Internet Image Montage ACM SIGGRAPH ASIA 2009, ACM Transactions on Graphics, to appear Tao Chen, Ming-Ming Cheng, Ping Tan, Ariel Shamir, Shi-Min Hu System Pipeline Retrieval Results Composition Results Video Supplementary Materials 1. General supplementary materials, including intermediate results and comparisons. 2. High resolution compositions and detailed statistics of the user studies. Sktech2Photo Team Acknowledgments Note Original Name: PhotoSketch.

Related: