Despite many advances in wireless network technologies, access to high speed mobile networks is not all pervasive especially in growth markets such as India, Africa and South East Asia. In these markets, the most popular way to access the Internet is through GSM, GPRS or EDGE. These networks have various data transfer rates which are in the order of upto a few hundred kbits per second. In this document, we will refer to such networks as Slow networks.
The aim of this document is to... [More]
Do you want to automate deployment of your Worklight applications? If so, then check out the Worklight plug-in for IBM UrbanCode Deploy . The plug-in helps you easily create repeatable processes for deploying artifacts to your IBM Worklight Server.
To help you apply DevOps practices to your Worklight environment, I wrote an article that shows you how to set up an end-to-end deployment process. I describe each part of the process from the build through to the deployment on the Worklight Server. I even included sample build... [More]
IBM Worklight is an open and advanced mobile application platform for developing, running and managing HTML5, hybrid and native applications for smartphones such as, iOS, Android, Windows Phone, Blackberry as well as feature phones such as Java ME phones. While smartphone adoption is ramping up at an exponential rate, there are organizations that still run applications on older operating systems, such as, Java ME (J2ME) as well as Windows Mobile 6.5 phones. These devices will take some time to be replaced with newer and faster... [More]
This post aimed to show how to do Worklight Server performance test by a performance testing tool. In this post, jMeter performance test tool is adopt to show the steps to do Worklight Server performance testing. For other tools, the steps are the same except users should to implement the same function scripts like do in jMeter.
When you want to do performance testing for your Worklight server, you will choose a performance testing tool like LoadRunner, jMeter or others. Before start performance... [More]
Starting from v6.0.0 the IBM Worklight studio contains an embedded instance of WebSphere®Application Server Liberty Profile as the default development server.
While each customer environment (for example: development, QA, pre-production, production) may has its own production server with unique Worklight-specific settings such as the database connectivity parameters and logging settings etc.
In most case the development server(within Worklight studio) and production server(outside Worklight studio) share the same... [More]
Worklight Faces, also known as WLFaces, is an application that allows users to catalog their facial changes once daily and review their changes in .gif format. The intent of this tutorial is to explain, in detail, how one can store data in a JSONStore within the web layer, store new data that was created within the native layer, and retrieve the data quickly. To achieve this, extensive use of the WL.NativePage.show method is used.
Worklight adapter framework allows to implement event sources. Event source are used to generate notification events that WL client framework can subscribe to, e.g. push notifications. However in order to send a notification one must be retrieved from a backend first . Event source can either poll notifications from the back-end system, or wait for the back-end system to explicitly push a new notification.
You can read more about event sources and push notifications in the Push Notifications training module - ... [More]
What is obfuscation?
Wikipedia defines code obfuscation in a following way
In software development, obfuscation is the deliberate act of creating obfuscated code, i.e. source or machine... [More]
* The following is relevant to Worklight Hybrid applications with mobile environments (Android, BlackBerry, iOS and Windows Phone).
One of the Mobile Application Management (MAM) capabilities in Worklight is to deny an application from connecting to the Worklight Server. This capability is useful for example when a severe security hole is discovered in the application and so to prevent end-users from encountering it, disabling an application is a good option to have.
The default behavior
In this post, we will attempt to clarify how to handle different errors and statuses in Worklight adapters. Mainly, we will look at the example of an HTTP adapter.
For general information about Worklight Adapters, see here: http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/topic/com.ibm.worklight.dev.doc/devref/c_overview_of_ibm_worklight_adap.html
When using an HTTP adapter, the general flow is that the client (the mobile app) will use WL.Client.invokeProcedure to invoke one of the... [More]
(This is a second part of the "Combining native and web controls in Cordova based applications". First part applies to iOS application and can be found here - https://www.ibm.com/developerworks/community/blogs/worklight/entry/ios_combining_native_and_web_controls_in_cordova_based_applications?lang=en . I recommended to get familiar with it first since it explains some concepts used in this blog post)
In my previous post I've described some technical details regarding Android Cordova/Worklight based application... [More]
[Update - for Android part of this blog go to https://www.ibm.com/developerworks/community/blogs/worklight/entry/android_combining_native_and_web_controls_in_cordova_based_applications?lang=en ]
This blog post has several purposes. First is to provide some technical details regarding iOS Cordova/Worklight based application architecture from a native views stack perspective. Second is to demonstrate a technique allowing to manipulate this view stack in order to integrate native controls with web based... [More]
Objective-C runtime allows to change binding between selector (method) declarations and implementations. This technique is known as selector (or method) swizzling and it allows to basically "patch" the code of selectors you don't own sources of, e.g. NSString or NSObject. Selector swizzling technique is different from creating a category class with a same selector name. When you're using the latter technique you're basically fully overriding the original method implementation. Selector swizzling, on the other hand,... [More]
What is My Notifications?
My Notifications enables you to stay informed about critical support content for your IBM Worklight or IBM Mobile Foundation environment. When you sign up for My Notifications, you will receive daily or weekly announcements of content on ibm.com that pertains to problem solutions, critical product updates, security bulletins, and other important support information through e-mail, RSS feeds, and/or custom web pages.
The type of information and the method that is used to inform you are completely... [More]
New Background Modes
In iOS 7, Apple improved its background features. More specifically, they've added two new background modes : "fetch" and "remote-notification". These two new modes allow your app to wake up in the background to download (or upload) content from a remote server. In the first mode ("fetch"), these requests happen automatically at different times of the day. In the second mode ("remote-notification"), the request will be triggered by a modified Push notification. You... [More]