Writing an iOS App with Liferay Screens

Users expect to access portal content from their mobile devices. As an intrepid developer, you naturally want to turn these expectations into reality. Thankfully, Liferay provides a way for your mobile apps to access portal content and applications with Liferay Screens! Screens contains native components called Screenlets that can call Liferay Portal’s remote services and display the results in your app. Each Screenlet comes complete with its own fully pluggable UI that you can customize to your liking. Although the Screenlets included with Screens only work with Liferay Portal’s built-in remote services, you can write your own Screenlets that work with your custom portlets’ remote services.

If you’re an experienced iOS developer but need a start-to-finish guide on how to integrate iOS apps with Liferay Portal, you’re in the right place. This Learning Path walks you through the creation of an iOS app that interacts with the Guestbook portlet developed in the Developing a Web Application Learning Path. Since this is a custom portlet, you’ll write your own Screenlets that let your app retrieve and display guestbooks and their entries.

You should note that although this Learning Path provides complete code snippets of the app, not every aspect of iOS development is explained in detail. Focus is instead placed on the code that leverages Liferay Screens. Therefore, you must have significant iOS development experience before attempting this Learning Path. Otherwise, you’ll likely be confused. Apple provides extensive documentation of the iOS APIs as well as some basic tutorials on developer.apple.com.

Experience in iOS development is all you need to start working. You needn’t have completed the Developing a Web Application Learning Path to obtain a working Guestbook portlet. The complete Guestbook portlet’s modules are provided for installation into your local Liferay Portal instance.

Now that you know what you’ll be doing here, it’s time to move on to the first series of articles: Beginning iOS Development for Your Portal. These articles walk you through the steps required to get started developing an iOS app that interacts with Liferay Portal.

Beginning iOS Development for Your Portal

Getting started with Liferay Screens for iOS is straightforward. This series of Learning Path articles walks you through creating an iOS app and preparing it to work with the Guestbook portlet...

Read More

Creating Guestbook List Screenlet

In the previous section, you created an iOS app that contains the Guestbook Mobile SDK and Liferay Screens. You also used Login Screenlet to implement authentication to Liferay Portal. That’s all...

Read More

Creating Entry List Screenlet

In the previous section, you created Guestbook List Screenlet to retrieve and display guestbooks from the Guestbook portlet. You still need a way to retrieve and display each guestbook’s entries,...

Read More

Using Your Screenlets

Now that you have the Guestbook List and Entry List Screenlets, you’re ready to put them to work. As you’ll see, using these Screenlets isn’t much more difficult than using Login Screenlet. This is...

Read More
0 (0 Votes)
Using the Guestbook List and Entry List Screenlets Previous