title: How to programmatically access Orchard CMS content from outside?
body: <p>To be specific, I'm going to use Orchard CMS as a back-end for content editors for an existing website.</p>
  
  <p>My website is too complicated to wrap it into an Orchard custom Module, so I decided to use stand-alone instance of Orchard as backend, and query and show content items manually in the code of my side. </p>
  
  <p>I want to find the way how I could get content items from Orchard using it's API. </p>
  
  <p>Here is some pseudocode I want to achieve:</p>
  
  <p><code>// somewhere in my site, not in the Orchard application</code></p>
  
  <p><code>IOrchardServices orchardFacade = CreateOrchardSystemSomeWay();</code></p>
  
  <p><code>IContentManager contentManager = orchardFacade.ContentManager;</code></p>
  
  <p><code>var myNeededItems = contentManager.Query("MyContenItemType").ToList();</code></p>
  
  <p>I have troubles with the implementation of <code>CreateOrchardtSystemSomeWay</code>. </p>
  
  <p><strong>Did anyone try to implement such a way of accessing Orchard CMS data?</strong></p>
  
  <p>Another alternative is to use the database directly, but it would not be very nice approach.</p>