ç°¡åã«ç¶æ é·ç§»ã管çã§ããStateMachineãå ¬éãã¾ãã[PHP][StateMachine][AASM][ãªã¼ãããã³]
StateMachineã¨ããPHPç¨ã®ã©ã¤ãã©ãªãå ¬éãã¾ããï¼
ã¹ãã¼ããã·ã³ã¨ã¯ï¼ã£ã¦ããã¨ããã¯ä»¥ä¸ã®ã¨ã³ããªãã©ããã
PHPã§ä½¿ããã³ã¬ï¼ã£ã¦ããã¹ãã¼ããã·ã³ããªãã£ãã®ã§ããã¬ã¤ã+ã¢ããã¼ã·ã§ã³ã¨ããææ³ã§ã¹ãã¼ããã·ã³ãä½ã£ã¦ã¿ã¾ããã
ã¡ãªããã¯å¯¾è±¡ã¯ã©ã¹ã¨ã®è·é¢ãè¿ãããã¹ãã¼ããã·ã³ãç¨ããã¹ãã¼ã¿ã¹ã®å¤æ´ã対象ã¯ã©ã¹ã«å³æåæ ãããã¨ããããã¢ããã¼ã·ã§ã³ã«ããè¨è¿°ã®ãé°ã§å¯¾è±¡ã¯ã©ã¹ã§è¨å®ãå®çµããããé常ã«ã·ã³ãã«ãªä½ãã«ãªã£ã¦ããã¨ããããªã¨æãã¾ãã
Doctrineãå é¨ã§ç¨ãã¦ãã¾ããSymfony2ã§ãªãã¨ä½¿ããªãã©ã¤ãã©ãªã§ã¯ãªããç´ ã®PHPã§ã使ãã¾ãï¼
æ§æ³ã¨ãã¦ã¯Rubyã®ã¹ãã¼ããã·ã³ã®ä»£è¡¨æ ¼ã§ããAASMã大ãã«åèã«ãã¾ããã
ã¨ã¦ã便å©ãªgemãªã®ã§ãã²PHPã§ã使ããããªã¼ã¨æã£ã¦ä½ã£ãæãã§ãã
詳ããã¯READMEã御覧ãã ããã¾ãmm
åã®ã©ã¤ãã©ãªå ¬éã§ããã楽ããã£ãï¼ï¼å¼ãç¶ãæ©è½ä½æãã¦ããã£ã¨ã
å®éã«å ¬éãã¦ã¿ã¦ãREADMEããã¿ã°ããè±èªãããªãããè²ã ã¨åå¼·ã«ãªã£ãã®ã§å ¬éã¾ã§æã£ã¦è¡ã£ã¦æ¬å½ã«ããã£ãã