Monday, October 22, 2012

SAP Portal 7.3 Part III - Create a Hello World iView


Pre-requisite: Read Part II

We will be creating a portal application using the proprietary SAP portal framework and then deploy and test the iview.

SAP Portal 7.3 Part II - Configure NWDS with SAP EP Remote Server

Pre-requisite: Read basic of SAP Portal Development

This part discuss about how to configure your Neat Weaver Developer Studio 7.3 with SAP Enterprise Portal Remote server and making it ready for development.

SAP Portal 7.3 Part I - How to Kickstart Developing a Customized Portal Application

Planning to develop a SAP Enterprise Portal application with version 7.3 SP3 and above? wondering how and where to start? continue read on..

You may be wondering why this article, since there are tutorials already available in SAP SDN community about developing a portal application. I tell you, if you are coming from portal application development background with other platforms such as WebSphere, Web logic, SharePoint etc., There is good chance that you will be confused with how and where to start. SAP have made simple things complex and introduced several jargon's and keywords. You may find number of several tutorials discussing about it, but you need to know how to connect all of them together to write your first hello world application. So I made it here.

Thursday, September 13, 2012

A Design pattern to avoid if-else ladder


Did you ever wrote a code that is having a long if else ladder? and did you ever thought of avoiding it? I am sure you would have written if else ladders atleast once. So what is wrong with it? Nothing special, one time I had to review a code that was having miles long if-else ladder and after scrolling so much and reviewing the code I had to put a plaster on my right hand index finger. [just kidding :) ]

Android Main thread says :I Still know what you did last summer


The latest version of android does not allow network activities on its main thread. It is a very good principle, so that the app will appear to load faster and you can do the costly operations in the background. So what would you do if you want to make a network connection when the app loads? One of the recommended solution android provides is the use of Async Task. This class is a wrapper over the java timer task and will do the processing in a seperate thread. This design provides an opportunity for the main thread to continue its job while the async task work in the background to finish the networking activities.