How to create a presto app without writing a single line of code

Posted 08/18/2010 - 01:41 by ashitvora

5
Your rating: None Average: 5 (4 votes)


In this article, I will walk you through the steps on how to create an App that fetches data from the USGS website about earthquakes recorded with a magnitude of 5.0 or more in the last 7 days and displays it on a Map.

Let’s get started.

To begin with, let’s grab the feed url from

http://earthquake.usgs.gov/earthquakes/catalogs/



Next, we will need to register a mashable to fetch data from this URL. Click Register in the main menu in Presto Hub and select Feed. Fill in the fields as shown below:

Click Register to register the feed. We can also assign permissions before we finish registration to give other users or groups access to the mashable. Let’s assign permissions to the Presto_Dev group so that other developer users can also use this mashable feed.

Search for the Presto_Dev group, select it and click on Assign permission. We have assigned run permissions to this group. You can also assign permissions later, but no other users can work with the mashable until you or a Presto administrator grants run permissions. Next, click on Finish. We have now registered the mashable.

Next, open the mashable. This opens the artifact page of the newly registered mashable where you can begin working with it.

Click Run to preview mashable data and ensure the mashable was successfully registered. You should see data displayed in the preview pane (right section of the screen). You can change the icon used for this mashable by clicking on the default orange mashable icon and selecting or uploading a new icon.

Now we will add a map view where we will display this data. Click Add View and select the Map view.

To configure the map, you must select the the fields that contain the required values for geographical data. You can either select fields containing latitude and longitude data or containing point data as shown below. The wizard will make suggestions to make your task easier.

Now select the data to be displayed in the information box when a user clicks on any marker on the map.

The Token Variables field shows a list of all the fields available. Select a field and click the Up Arrow button to add it to the information box. You can also add custom text to include in the info window. Let’s select the title for now. Finish configuring the view and save it. We have now added a map view to this mashable. We can now create a basic App which uses this view.

Click Create App in the Preview tab. The App Maker wizard shows a list of all the views configured for the mashable. Select the view we just created.

You can select as many views as you want to include in an App. You can also select how views are laid out in the App.

Finish the App and save it. We are done.

Now you can share this App with any Presto users by providing their Presto ID or their email address.

You can view this App live on Presto Cloud at http://prestocloud.jackbe.com/prestohub/search.html#mid=EQ_5plus_app2


-Ashit