Posts Tagged JSON

Using JavaScript Object Notation (JSON) on the IBM i

In today’s video, we are going to introduce you to what is perhaps the most elegant way to exchange data within Web applications. We will be talking about JSON, or JavaScript Object Notation. Eric Cassidy, an IBM i web developer at Profound Logic, will demonstrate the concept by creating RPG/CGI AJAX response programs that use JSON to provide multiple pieces of data to a Web application.

To view this video with Windows Media Player, please click here

, , , , , , , ,

1 Comment

Using an AJAX Library on the IBM i

Today’s video is a response to a question from one of our viewers, Wil Rikken, from McNess BV in the Netherlands.

In my video on Sending AJAX Requests to the IBM i, I suggested the use of AJAX libraries, instead of coding everything from scratch. I also demonstrated a snippet of code that uses the ajax() function that we package with all our tools for the IBM i.

Wil wanted more details on this particular function. So, I have asked David Russo, the main developer and architect of our JavaScript AJAX library, to provide all the particulars on how to use the ajax() function with POST, asynchronous mode, etc.

I am also making the AJAX Library and the corresponding documentation available as a free download in our Resources Section on the site. You can access it here.

To view this video with Windows Media Player, please click here

, , , , , , , , , ,

3 Comments

Generating an AJAX Response from the IBM i with RPG and PHP

Joining me in today’s video is one of our IBM i web developer/analysts, Hany Elemary. Together, we will continue to discuss AJAX by explaining how to generate a server response to an AJAX request from the browser. Hany will share his thoughts on how AJAX responses are similar to basic dynamic output pages that output data instead of HTML. We then go on to illustrate how AJAX response programs are built by providing examples in two popular IBM i (iSeries/AS400) web development technologies: RPG/CGI and PHP.

To view this video with Windows Media Player, please click here

, , , , , , , , , , , , ,

1 Comment