ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Tips and Tricks
Downloads

Tips and Tricks Share helpful modeling ideas

  #1  
Old 08-22-2014
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default FlexSim Webserver Example

Attached is a simple PHP website that shows an example of how you can interact with a FlexSim webserver through a custom webpage instead of just using the default webserver html interface.

The website also demonstrates the job scheduling capabilities of the webserver instead of just directly interacting with running instances of FlexSim.

To set up this website, you'll need to use Apache or IIS. Personally, I used a Bitnami WAMP stack (https://bitnami.com/stack/wamp) to easily install and configure Apache, MySQL, and PHP on Windows.

Within the directory is a file called "create_database.sql" that has SQL commands that you need to execute on the database to create the database structure used by the website. (The Bitnami WAMP stack includes phpMyAdmin, which is a web interface where you can interact directly with the MySQL database and execute the SQL commands.)

Anyone is welcome to use any or all of this code to develop their own custom websites to interact with the FlexSim webserver.
Attached Files
File Type: zip fs_models.zip (341.5 KB, 408 views)

Last edited by Phil BoBo; 03-11-2016 at 06:00 PM.
The Following 11 Users Say Thank You to Phil BoBo For This Useful Post:
Tom David (08-25-2014)


Thread Thread Starter Forum Replies Last Post
the parameters of flexsim webserver configuration oliver xie Q&A 5 01-20-2015 09:36 AM
FlexSim Webserver Nicole Witkowski Q&A 2 06-20-2013 09:17 AM
Flexsim Webserver & Virtual Box michaelsmith Q&A 0 11-08-2012 01:10 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.