Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

List of Demo Apps (The M Project 1.x)

hano edited this page Dec 3, 2013 · 1 revision

Binding Sample

This apps shows how to use content binding with The M-Project. There simply is a button that triggers an action inside of a controller everytime it is clicked. The action then increases two of the controller's properties. These properties are connected to two label views using content binding.

Charting

The charting application was built to demonstrate how to integrate a third-party framework with The M-Project. Our sample app uses Raphaël JS to show a pie chart. This chart is rendered inside an M.ContainerView. There are lots of other frameworks out there, that could be included in the same way.

Dialogs

This app shows the basic use of M.DialogView. You will see how to use the three types of dialogs we provide: Alert, Confirm and ActionSheet. This app also helps to get a better understanding of callbacks.

Divided List

The divided list application shows how to use M.ListView in the divided styling. It also shows how to use either the automatic search bar or your own search bar implementation.

Dualbind

Did you ever think about using content binding bi-directional? This sample application shows you how to do this with The M-Project.

Selection List

This app shows how to work with M.SelectionListView, introduces the three possible modes (single selection, multiple selection, single selection dialog) and shows how to use setSelection() and getSelection().

Tabs and Buttongroups

The tabs and button groups application first of all shows how to use M.TabBarView. You will learn how to set a tab bar up and how to integrate it into your pages. On the other hand this application shows how to use M.ButtonGroupView and its different layout modes.

Twitter

This simple twitter demo application shows how to work with M.Request and M.ListView. We basically send a request to twitter.com, depending on the user's input. This request returns the first ten tweets matching this input, that are afterwards rendered inside a list view.