Working with JavaScript objects

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Locked
User avatar
luishp
Posts: 410
Joined: Wed May 23, 2007 10:17 am
Location: Spain
Contact:

Working with JavaScript objects

Post by luishp »

I have just discovered that NeoAppBuilder can work with JavaScript objects very well.
That's great news becouse JSON, the format many webservices use to provide information, is basically a JavaScript object.
So, it is possible to load information from a WebService or database in JSON format and process all the information within NeoAppBuilder without plugins.

Sample code:

Code: Select all

SetVar [person] {name:"John",surname:"Doe",age:35}
SetVar [person.name] "Peter"
AlertBox "Object info" "This person is [person.name] [person.surname] and he is [person.age] years old" ""
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
Locked