HP IDOL OnDemand. Query Text Index Example with UI

With the Query Text Index Swift Example article, I demonstrated how to query text indexes in IDOL OnDemand. A simple RESTful client was created to make a call to API and output the result. For that example, I used Xcode Playgrounds and unfortunately, I did not find a way to make UI written in the playground responsive to user’s actions (text inputs, button clicks, etc.). Eventually, I came to the conclusion that for now such features are simply not supported, and decided to make a simple iOS application to demonstrate how to communicate between UI and the client; this article describes how to do so. Let’s begin! Read the rest of this entry »

HP IDOL OnDemand. Query Text Index Swift Example

HP IDOL OnDemand provides format conversion, image analysis, indexing, and text analysis RESTful APIs to help the developers process unstructured data and build amazing, innovative, flexible, and robust solutions.

The following article demonstrates how to consume one of the available HP IDOL OnDemand APIs and query a text index from an application written with Swift, a new programming language for iOS and OS X. Let’s start from the basics. Read the rest of this entry »

.NET to JavaScript Data Push using WebSockets

With the latest WebORB release (.NET as well as JAVA), Midnight Coders announced the full support of the WebSockets technology. Briefly speaking, WebSockets allow bi-directional communication between server and client sides through TCP sockets. Specifically, your JavaScript client can exchange data with the server-side in the real-time! A web page can use JavaScript to establish a connection with the server and bi-directionally send data to and receive data from it without any page refreshes. It sounds awesome, doesn’t it? Read the rest of this entry »

.NET to Flex Data Push using Messaging Destinations

Few days ago I received a question about how to push data from the server code (C#) to the client side (ActionScript) though a messaging (publish/subscribe) destination. The server side is powered by WebORB for .NET and the client side is a Flex (or AIR) client. Read the rest of this entry »

How To Secure Your Application (Flex + Remoting/RPC)

In the following article I would like to show how to secure a Flex application which uses RPC (remote procedure calls) to communicate with the server-side. The article consists of three parts:

  1. A simple use-case and the problem description
  2. How to hack a Flex application
  3. How to secure it

The problem is not related to a particular product. However, the solution provided above is oriented only for WebORB for .NET. Well, let’s move forward to the step #1? Read the rest of this entry »

Securing WebORB Console

WebORB Management Console is a flex application to manage the installed instance of WebORB. There is a number of available features in the console, and describing them is out of the article scope. I would like to say that the unsecured and available through the internet WebORB console may be a gap in the system security. So, how you can secure the console? Easily! Read the rest of this entry »

WebORB Data Push. How to push data to a particular client

The following article shows how to push data from the WebORB server to a connected client

Obviously, if you want to push data to a particular client you must identify the client somehow. Therefore, the first issue is a client identification and it might be done in two different ways. Read the rest of this entry »

iPhone chat. Native RTMP Library for iOS in Action

iOS chatIn this article I would like to show how to use RTMP on iPhone, or on iOS in general. Although the RTMP protocol known as a part of Flash Applications, in this article you will not find the ActionScript code because the client library is completely native. At the end of this article you will find all important links and the source code.

Read the rest of this entry »

WebORB and Speex codec

Few days ago Midnight Coders released a new version ( of WebORB for .NET. Although the latest version contains a number of new features, I would like to demonstrate something that was not included in the WebORB release history – an ability to intercept audio or video stream data from the client on the server side for some additional processing.

To demonstrate the feature I created a sample application based on the simple use-case: client-side gets audio data from the microphone, encodes it with the SPEEX codec, and sends it to the WebORB RTMP server. On the server-side I intercept the received data, decode it, and save into a .wav file.
Read the rest of this entry »

GPSTracker. Windows Service + WebORB for .NET + Flex

The following example shows how to communicate with WebORB from a windows service, and update data on clients using RemoteSharedObject.

I took an idea for this example from the midnight coders forum:

mrodsilva wrote:
Hi There,

I’m looking to use WebORB, but I have a doubt.

We have some devices (hardware with GPRS connection). Those devices send information through socket connection to a Windows Service application which updates a SQL database.

I’m wondering how would it be possible to synchronize those changes to our Flex Application. Is it possible? How so? What changes do we have to make on our Windows Service? Is it better to replace this Windows Service with something else?



I thought this would make an interesting example and decided to implemented it, with a few minor tweaks:

Read the rest of this entry »