User Tools

Site Tools


fsm:upgrading_fsm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fsm:upgrading_fsm [2007/12/22 14:45] – external edit 127.0.0.1fsm:upgrading_fsm [2020/11/23 17:23] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Upgrading apps using OSInet FSM ====== ====== Upgrading apps using OSInet FSM ======
  
- +The 2012 versions of the OSInet FSM are expected to be compatible with version 1.6 regarding machine descriptions ; however, the code has been refactored to the PSR-0 autoloading standard, and therefore requires PHP 5.3.
 ===== 1.4 to 1.6 ===== ===== 1.4 to 1.6 =====
  
Line 16: Line 15:
   * No application changes are necessary, BUT :   * No application changes are necessary, BUT :
   * applications can now use external FSM descriptions in XML format. Building the FSM directly in code still works but it deprecated. It may go away at some later point. Constructors now typically look like just this:   * applications can now use external FSM descriptions in XML format. Building the FSM directly in code still works but it deprecated. It may go away at some later point. Constructors now typically look like just this:
-<php>+ 
 +<code php>
   function __construct()   function __construct()
     {     {
Line 22: Line 22:
     parent::__construct();     parent::__construct();
     }     }
-</php>+</code> 
   * The XML file holding the FSM description is found by default if it is called <foo>.xml for class <foo>. Otherwise, use load_fsm($url);   * The XML file holding the FSM description is found by default if it is called <foo>.xml for class <foo>. Otherwise, use load_fsm($url);
  
fsm/upgrading_fsm.1198334708.txt.gz · Last modified: 2020/11/23 17:23 (external edit)