We've taken the code from best sample mashups, as well as code samples contributed by Mashup Developer Community members, and put them on display for you. If you have code you want to share, do it here.

Mashup Code Sample - A Guide to Microsoft SharePoint Mashups

Posted 06/30/2009 - 15:22 by chriswarner


This 40-page guide has tons of code samples to connect Presto mashups to SharePoint (Moss 2007 and WSS 3) and to mashup SharePoint lists with other data sources.

Based upon our popular 10-part blog series 'A Developer's Guide to Mashups and Microsoft SharePoint', this guide makes it easy to take the code home with you! [Read More...]

Mashup Code Sample - Mashup Error Handling and Fail Over

Posted 03/11/2009 - 13:17 by john.crupi

Presto, specifically Enterprise Mashup Markup Language (EMML), has a pretty robust error handling facility. Here are three examples: [Read More...]

Mashup Code Sample - Communication between Mashlets

This sample code demonstrates how Mashlets use a Publish/Subscribe communication model to execute functions from another registered mashlet.  You can watch a video of this sample code in action here

Mashup Code Sample - Investment Advisor Mashup

This mashup was submitted by Mashup Developer Community member http://www.jackbe.com/enterprise-mashup/users/igo.  It was runner-up in the 1st 'Mash for Cash Contest'.  [Read More...]

Mashup Code Sample - Product Management and Customer Feedback Mashup

This mashup submitted by Mashup Developer Community member http://www.jackbe.com/enterprise-mashup/users/timm.  It was the winner of the 1st 'Mash for Cash Contest'.  Great work!

The Product Management and Customer Feedback mashup supports a product manager in a wireless carrier who is looking for insights and business intelligence into customer churn.  Even if you aren't in the telecommunications industry, this is some great example code to learn from. [Read More...]

Mashup Code Sample - Healthcare Mashup

The Healthcare mashup demonstrates a micro-application that enables hospitals to compare various sources of revenue based on surgery procedures. Hospitals are also able to evaluate revenue and profitability based on different hospital shifts and teams.  

Even if you aren't in the healthcare industry, this is some great example code to learn from!  [Read More...]

Mashup Code Sample - WebClipping Mashup example with EMML and JavaScript

In this mashup you can see how to do a simple webclipping from the Office Max online store using the directInvoke function in emml [Read More...]

Mashup Code Sample - WebClipping Mashup example with EMML and XPath

In this mashup you can see how to do a simple webclipping from the Office Depot online store using the directInvoke function in emml [Read More...]

Mashup Code Sample - Internationalization for Mashlets

Posted 10/17/2008 - 13:00 by jorge.carmona

 

Are you interested in Internationalizing you Mashlet?  Here's a quick way to do it using resource bundles.
The attached zip contains all the necessary files for an internationalized HelloWorld example.
  [Read More...]

Mashup Code Sample - Creating a Mashlet that uses MIT'S Simile Timeline

Posted 10/14/2008 - 10:28 by Americo Savinon

The other day I was surfing the web and found a very interesting project from the MIT folks, the Simile Timeline. This is a timeline that could show diferrent pieces of events (XML and Json are valid forms of data formats) that will be rendered inside the Timeline. A very cool thing about this library is that it provides drag and drop built-in functionality and you only need to provide the data and define the way you want to create your timeline.
  [Read More...]

Mashup Code Sample - Mashup to convert a zipcode into Lat/Long data via a REST service

Have you ever wanted to translate zip codes to Lat/Long to display in Google Maps? Here's the example to do it!  [Don’t forget that this code requires a REST service in Presto named "geonames": http://ws.geonames.org/postalCodeSearch?postalcode=06700&country=MX.]  [Read More...]

Mashup Code Sample - Mashup that invokes an Excel Service

 

Using the Presto Connector for Excel, you can publish Excel spreadsheets as a service into the Presto Mashup Server.  This EMML code creates a mashup that calls a service published with the Excel Connector: [Read More...]

Mashup Code Sample - Integrated Session Support in EMML

Posted 09/25/2008 - 12:12 by danmalks

EMML has integrated session support. You can define a variable that references a session:

<variable name="session.key1" type="string"></variable>

You can then assign a literal value to the session variable:

<assign literal="mystuff" outputvariable="session.key1"></assign>

Try it!

Mashup Code Sample - EMML Hello World

Posted 09/16/2008 - 12:56 by admin

This is a great beginner's example of EMML (Presto's Enterprise Mashup Markup Language). [Read More...]