MTG_project is a project mainly written in PHP and JAVASCRIPT, it's free.
This is a project that should eventually implement the limited plays for Magic the Gathering TCG. Using pure javascript and websockets.