How to implement a custom online subsystem

Is there any document about it?