Browsed by
Category: Data Structure

Training: Web Mobile Application Development (Basic / Intermediate) – INTIM – August 2015

Training: Web Mobile Application Development (Basic / Intermediate) – INTIM – August 2015

Training: Web Mobile Application Development (Basic / Intermediate) Location: INTAN Kampus Wilayah Timur (INTIM), Kemaman, Terengganu Date: 17th – 20th August 2015 Slide: http://bit.ly/training-web-mobile-application-development Training Materials: Web Mobile Application Starter Kit – https://bit.ly/training-mobile-app-starter-kit Basic Android Configuration – https://bit.ly/training-mobile-app-android-config API Template – https://bit.ly/training-api-template Important Articles: HTTP Methods for Restful Services – http://bit.ly/htpp-nethods-for-restful-services Android Configuration – http://bit.ly/android-config-xml Chrome Device Mode – http://bit.ly/chrome-device-mode  

GeoServer – GetFeatureInfo Template Data Model (structure)

GeoServer – GetFeatureInfo Template Data Model (structure)

Extend from this GeoServer – Custom Get Feature Info Display Knowledge requirement – Freemaker The standard template files is header.tpl, content.tpl, footer.tpl. header.tpl usually where JavaScript, CSS, meta tag, title placed here. footer.tpl where you put your HTML page footer, Copyright, etc. content.tpl where we going to iterate through all the features to display interactive UI. But here, I’m going to explain the structure of all available variables. Accessing the variables as following: The result may display as below: This…

Read More Read More

Data Structure – Creating Tree Data Structure

Data Structure – Creating Tree Data Structure

As per title, this post will give an example how to create a tree data structure using recursive function. The data structure will be like below illustration: /A –/A-1 —-/A-1-a —-/A-1-b /B /C –/C-1 —-/C-1-c … Below is an implementation based on this post – a folder tree created based on given directory using recursive function. Here are the code: Just set the following: $list = generateTree(‘path/’); You should get something similar to below when you print_r($list);.