Inmedius® DITA™ Chat | Subscribe | Email | Contact Us | Inmedius
Next Steps
Download Data Sheet
View Flash Demos
Access Online Editor
Test Drive Software
Buy It Now
Suite :: Developer : Documentation | Technology | News
Basic Editing  :  Integration  :  Customization  :  XSL Support
   :  PHP Example
   :  JSP Example
   :  JavaScript API

PHP Integration Example


Description: This page contains sample code snippets to facilitate Developer integration. The source code is provided on a free and unrestricted basis.

In-place Editing Example (PHP)


Expected configuration:

  • Web Server: Apache 2.2.4 as tested (earlier versions will do)
  • Web Server extensions: PHP5 with XSL enabled
  • Source code size: 4K
  • Client: Internet Explorer, Firefox

This example contains a simple prototype of a Web application utilizing Developer to provide in-place editing for a set of topics. The entire application is very simple, containing one PHP file (index.php - 3Kb) and Developer. DITA topics are stored in a file system.

File index.php contains both XML-to-HTML conversion and Developer rendering logic, switching between view and edit mode depending on the context:

Edit In Place

Download source code here: InlineEditingPHP.zip

Installation:


Make sure PHP is configured to support XSL (more...) Unpack contents of the archive into a Web server directory. Then open index.php file in your browser.

Site Map Privacy Statement | Terms of Use
©2005-2008 Inmedius, Inc. All rights reserved. | DITA Links: