How to develop an new type of action ?

 HI,

Who will give some guide on developing an action just like commandAction, scriptAction...?

Thanks

wang