Did you know ...
Search Documentation:
Deploying applications
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
Documentation
Reference manual
Introduction
Overview
Initialising and Managing a Prolog Project
Built-in Predicates
SWI-Prolog extensions
Modules
Tabled execution (SLG resolution)
Constraint Logic Programming
CHR: Constraint Handling Rules
Multithreaded applications
Coroutining using Prolog engines
Foreign Language Interface
Using SWI-Prolog in your browser (WASM)
Deploying applications
Deployment options
Understanding saved states
State initialization
Using program resources
Debugging and updating deployed systems
Protecting your code
Finding Application files
Packs: community add-ons
The SWI-Prolog library
Hackers corner
Compatibility with other Prolog dialects
Glossary of Terms
SWI-Prolog License Conditions and Tools
Summary
Bibliography
Packages
14
Deploying applications
This chapter describes the features of SWI-Prolog for delivering applications using
saved states
.
Section Index
14.1
Deployment options
14.2
Understanding saved states
14.2.1
Creating a saved state
14.2.2
Limitations of qsave_program
14.2.3
Runtimes and Foreign Code
14.3
State initialization
14.4
Using program resources
14.4.1
Resources as files
14.4.2
Access resources using open_resource
14.4.3
Declaring resources
14.4.4
Managing resource files
14.5
Debugging and updating deployed systems
14.6
Protecting your code
14.6.1
Obfuscating code in saved states
14.7
Finding Application files