Applications
DITYPE comes with:
ActiType, a hot-folder desktop application along the lines of ActiXEP;
DiType Assistant, another desktop application - a clone of XEP Assistant without GUI config editor;
ditype, a command-line utility with reworked command-line syntax, allowing to invoke the formatting from the command line;
xep, a command-line utility with command-line syntax emulating as close as possible the current xep.bat/xep.sh scripts, for compatibility and easier transition to the new technology. not yet ready
API and Connectors
Similarly to the current version, DITYPE provides rendering API and connectors for most popular programming languages. APIs for Java and C# will provide both new interfaces and legacy versions compatible with the current ones. Additionally, formatting APIs in C/C++, Python, Perl and Ruby will be added.
Along with the APIs, the Integration and Connectivity Kit will contain pre-built modules for such frameworks as Twisted, Ruby on Rails, J2EE, etc.
APIs are available for online browsing and download from a restricted area.
Universal Plugin Connector
Many interactive applications use DITYPE core uniformly. They
- initiate a session,
- set formatting options,
- repeatedly send documents for formatting,
- retrieve formatting log and display it to the user while the formatting goes on.
Instead of reimplementing the same algorithms in each program, a Universal Plugin Connector is introduced. A prototype version of *UPC* is currently used to run the Web Demo, a web-based AJAX-enriched formatter application with interface similar to that of XEP assistant.
UPC provides the calls via XML-RPC, the protocol used in AJAX and inside DITYPE core, a robust way to interconnect pieces of a program written using diverse technologies and even running on different computers. Applications connect to UPC and use it as a proxy to format documents and receive formatting logs. An application becomes an XML-RPC client, a simple role supported by well-developed libraries in most programming languages and environments.
