Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame
Retrieving Data From External SourcesAs you noticed in Example 2, we created both global and calculation variables. The calculation variables are similar to constants in this example. But what if you wanted to adjust these variables without modification of the script? There are several approaches we'll examine here.
If all of your users are on Windows computers, you could use ADO or ODBC to connect to a corresponding database. In Example 3, we have connected to a database from a table and retrieved the values.
Example 4:Main File:
dataVarA = new Array(1,2,3); dataVarB = "ABC";
CalculationsAs demonstrated in Example 2, you may want to perform calculations using the preset variables and user input to create meaningful results. In more complex scenarios, you may need to generate a stochastic stream of data for analysis.
Displaying ResultsAs you may recall from earlier, we established that all of the variables will reside in memory. If we wish to allow the user to toggle between different methods of displaying the results, we must be allowed to manipulate what is being seen in the browser without it being refreshed. To do this, we will incorporate CSS and HTML (see Example 6).
IT Solutions Builder TOP IT RESOURCES TO MOVE YOUR BUSINESS FORWARD
Which topic are you interested in?
What is your company size?
What is your job title?
What is your job function?
Searching our resource database to find your matches...