Webinar: Building Windows 8 Apps with Appery.io Platform

Posted: January 10th, 2013 | Author: | Filed under: Events, Windows 8 | Tags: , | 4 Comments »

Join Max Katz, Appery.io developer evangelist, for this quick review of how to build a Windows 8 app using the Appery.io app builder. Then, in an expanded Q&A session, Max will hold “office hours” to answer any questions you might have about Appery.io.

When: Thursday, January 17, 2013 11:00 AM – 12:00 PM PST
Register: https://www1.gotomeeting.com/register/214517057


TechCrunch: Cross-Platform App Maker Appery.io Launches Windows 8 Support

Posted: December 19th, 2012 | Author: | Filed under: Articles, Windows 8 | Tags: , | Comments Off

TechCrunch coverage of Appery.io new Windows 8 support: http://techcrunch.com/2012/12/14/cross-platform-drag-and-drop-app-maker-tiggzi-launches-windows-8-support/


Webinar: Building Windows 8 Apps with Appery.io

Posted: December 8th, 2012 | Author: | Filed under: Events, Webinar, Windows 8 | Tags: , , | 3 Comments »

The latest Appery.io mobile app platform allows you to build Windows 8 apps for tablets and desktops with native Windows 8 support. This support includes special Windows 8 capabilities such as Snap View, Search Charm, Share Charm, and Live Tile! Join our webinar to learn how build Windows 8 apps with Appery.io.

When: Thursday, December 13, 11am Pacific Time
Register: https://www1.gotomeeting.com/register/611432329.


Building a Windows 8 App in Appery.io

Posted: October 29th, 2012 | Author: | Filed under: Tutorials, Windows 8 | Tags: , | 4 Comments »

This tutorial is going to show you how to build a Windows 8 app in Appery.io new app builder. Before proceeding, here are a few things to keep in mind:

  • The new builder is now in beta.
  • You should use Firefox to build and test the app in the browser. IE10 support is coming

In this tutorial, we are going to build a Windows 8 app to search Twitter. We will use the Twitter search REST API to find all tweets using a term entered in the app.

Creating a new Windows 8 project

To start, let’s create a new Windows 8 project.

  1. Sign into Appery.io.
  2. Click on APPS in the upper-right-hand corner of the screen.
  3. Click on the More create options link to the right of the Create button.
  4. In the new screen, enter an app name. Let’s use “TwitterWindows8″.
  5. Select the Windows 8 App radio button.
    Selection_304
  6. Click Create to open the new project in the new builder. (It should display a welcome screen as shown below.)
    img31

Creating the UI

We will create the UI by dragging and dropping components from a left sidebar palette and setting component properties from a right-hand sidebar.

  1. Using the left sidebar, expand Pages and select home. In the middle of the screen, you will see this:
  2. Click the black screen.
  3. In the right (Properties) sidebar under Custom, find the Rows field and make the entry “120px;auto;1fr”. A new row will appear.
  4. From the Design (components) palette to the left, select an input component under Controls and drop it inside the cell at the first row/second column:

    The result will then look like this:
  5. Select the new input and then click the icon (as shown) to select the parent container:
  6. Under Custom properties, set Column align to “start”.
  7. Now select a button component from under Controls and drop it inside the cell at the second row/second column.
  8. Select the new button’s parent container by clicking the icon as you did for the new input and set Column align to “start”.
  9. Select the button and change its label by entering “Search” into the Text field  under Common properties.
  10. You can also now test the app by clicking the Test button in the upper-right corner of the browser screen.

    Note: We recommend Firefox for previewing the app. We are still working on IE 10 support.
  11. Now, let’s continue building the UI by adding a listview component. Select a listview component from the Containers components and then drop it inside the cell at the third row/second column.
  12. Select the component and, under Common properties, change the Height to “160px”.
  13. Next, select a grid component from the Layouts components and drop it inside the listview.
  14. With the grid selected, set the Rows field under Custom properties to “auto;auto;auto”.
  15. Then, set its size by entering these values into these fields under Commonproperties:
    1. Width: “600px”
    2. Height: “160px”
  16. Select an image component from the Controls components and drop it into the first row/first column of the grid you just created.
  17. Select the image component’s parent (via the small icons) and set its Column align to “start”.
  18. Select a label component from the Controls components and drop it into the second row/first column of the grid.
  19. Select the label’s parent (via the small icons) and set its Column align to “start”.
  20. Reselect the label and set the Text field under Common properties to be blank.
  21. Select another label component from the Controls components and drop it into the third row/first column of the grid.
  22. Select this label’s parent (via the small icons) and set its Column align to “start”.
  23. Then, reselect the label and set the Text field under Common properties to be blank.

(Saving is not required till the end, but, if you want, you can save at the end of each section by clicking on the Save button in the top menu bar of the editor.)

Creating a service

We’ll now create a Appery.io “service” component (service interface) that can be used in building our app. We’ll use a Twitter Search REST service for our service component. We just need to define some things about the service and specify the request and response parameter we’ll be using for input and output.

  1. In the upper-left part of the screen, click on Create New and then click on “Service” from the drop-down menu.
  2. Enter “TwitterSearch” as the name and click the Create Service button.
  3. If you look on the left-hand side, you’ll see the new service listed under Services. Click on this TwitterSearch label to open the service editor on the service.
  4. Now, under the REST Service Properties section, enter “http://search.twitter.com/search.json” as the URL and select “jsonp” as the Data Type.
    Selection_319
  5. Open the Request Parameters section underneath this section by clicking on Request Parameters.
  6. Enter “q” into the text input box and click Add.
  7. Open the Response Parameters section underneath this section by clicking on Response Parameters.
  8. Enter “results” into the text input box and click Add.
  9. Click the green + button in the same row as the results response parameter to make a sub-element of results.
  10. Enter “profile_image_url” into the new text input box and click Add. The result will look like this:
  11. Click the green + button in the same row as the results response parameter again to make another sub-element of results.
  12. Enter “from_user” into the new text input box and click Add.
  13. Then, click the green + button in the same row as the results response parameter one last time to make another sub-element of results.
  14. Enter “text” into the new text input box and click Add.

The result will look like this:

Mapping the service to the UI

Now, we have REST service parameters on one side and UI components on the other side. Next, we’ll connect them together in the Data section of the editor as a data mapping called “restservice” that uses the service component called “TwitterSearch”.

  1. Select the home tab above the service editor.
  2. Click on the Data side-tab.
  3. From the Type drop-down menu, select “Service”.
  4. From the Component drop-down menu, select “REST Service”.
  5. Click the green button to the right.
  6. In the row that will have appeared under Components List, click the blue Edit Mapping… button
  7. A Component Properties sidebar will appear to the right. From the Service drop-down menu, select “TwitterSearch”.
  8. Now click the Edit Mapping… button again. A new screen, the mapping editor, will scroll in from the right with the Request Mapping tab selected.
  9. On the right-hand side under Components, expand home and then expand the first sub-item under it.
  10. Click on the q parameter on the left-hand side, drag the cursor to the label Text under the expanded sub-item, and drop.
    The input component is now mapped to the REST service input.
  11. Now click on the Response Mapping.
  12. Expand results on the the left-hand side, collapse the input component on the right-hand side, and expand the listview component and it’s subitems until everything is exposed.
  13. Then, using the same drag-and-drop approach as above, define the following mappings:

The results parameter is the collection of all tweets found through the query. We are mapping it to the parent listview container to get automatic looping. The rest of the mappings are straightforward.

Invoking the service

We are almost done. We have a UI, a service component for using a REST service from the app, and a data mapping connecting the UI and the service together. All we need is a triggering event for the data mapping to invoke the service. For this we’ll use a panel hidden away at the bottom of the screen.
  1. Select the Design side-tab.
  2. Find the Show Events Panel tab all the way in the bottom-right corner of your screen.
  3. Click this tab to open the events panel.
  4. From the Component drop-down menu, select the button component.
  5. From the Event drop-down menu, select “Click”.
  6. From the Action drop-down menu, select “Invoke Service”.
  7. From the Service drop-down menu select “restservice” (the service data mapping you created).
  8. Click the green button to add this event.

You have now set up the app to invoke a service through clicking the Search button in the app.

Testing the app

Now we can test the app. Just click the Test button in the upper-right corner of the screen and enter any term to search for. You should get a result that looks something like this:


Build Windows 8 Apps in the New HTML5 Appery.io App Builder

Posted: October 11th, 2012 | Author: | Filed under: New release, Windows 8 | Tags: , | Comments Off

Yesterday we told you that we launched the first beta of our new Appery.io app builder. The new app builder is designed with HTML5, JavaScript and CSS. In addition to jQuery Mobile support, we have also added Windows 8 support. Now you can build Windows 8 apps for tablets or desktop entirely in the cloud.

When creating a new app, click More create options:

then select Windows 8 project template:

this is how the new builder looks after creating a Windows 8 app (with some components on the screen):

Selection_275

 

Do keep in mind it’s still a beta so some features might now work yet.