Opensocial-gadgets is a project mainly written in JAVASCRIPT and PHP, it's free.
Example OpenSocial gadgets (for iWiW)
404: Not Found