Log in
 NESTU - An IBM i users group

Members Present "IBMi SPA basics using PHP, JSON and JavaScript"

  • 30 Aug 2017
  • 5:30 PM
  • 111 Route 46 East, Parsippany, NJ 07054


Registration is closed

Start Time: Reg. 5:30 pm

Member Presentation


Single Page Application!

by Steve Richter

In a SPA, PHP returns the initial HTML of the web page to the browser. From that point on your javascript code runs the show. 

  • respond to events such as button clicks 
  • call the XMLHttpRequest API to retrieve JSON formatted data from your PHP web server
  • render new HTML that merges JSON data and HTML templates

topics covered

Using visual studio code as your code editor. It is free and awesome.

PHP programming:

  • just enough to get by
  • reading queryString input variables
  • writing to the PHP error log
  • calling SQL procedures to access IBM i data
  • converting data to json, returning that data to the browser

javascript code topics:

  • the basics. functions, arrays, objects and the HTML DOM
  • jquery for manipulating the DOM and popping up dialog windows
  • function callbacks - lots of callbacks
  • closure - really helps to know closure
  • google visualization to draw charts and graphs
  • jquery popup dialog windows

Powered by Wild Apricot. Try our all-in-one platform for easy membership management