title: Applications inside my Web application
body: <p>Currently we are developing social network, which includes apps inside, for example Games. There is no public API for developers to make their apps, instead Apps developed ourself.</p>
  
  <p>Our platform is based on Zend Framework. Also we have XMPP protocol implementation (clientside-strophe, serverside-java) for chat, notifications and for other pushing tasks. XMPP will be used in apps.</p>
  
  <p>We want to separate apps from social network code, so we can keep it simple, lightweight.</p>
  
  <p>What strategy you can suggest for such separation? Our desire is to keep architecture and code simple and clean.</p>