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/05/01 16:29] fgmfsm: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 =====
 +
 +  * Files have been renamed at temporary version 1.5
 +    * Finite_State_Machine.php used to be u_fsm.php 
 +    * Background_Application.php is introduced: this is a new abstract base class for PHP-GTK applications using an FSM to perform background tasks.
 +    * fsm::* constants have been renamed to Finite_State_Machine:* constants.
 +  * Various changes to ZF coding style.
 +  * No significant feature change, but compatibility broken with the initial FTP downloader.
 +
 ===== 1.3 to 1.4 ===== ===== 1.3 to 1.4 =====
  
 +  * 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 9: 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);
  
 ===== 1.2 to 1.3 ====== ===== 1.2 to 1.3 ======
fsm/upgrading_fsm.1178036975.txt.gz · Last modified: 2020/11/23 17:23 (external edit)