There's plenty of them. Naturally, we want to help you get started quickly, so there are tools and SDKs available for all the major platforms.
Contentful provides a powerful JSON API through which all your content is served.
You can load the content on any platform which supports the creation of HTTP requests and which can parse JSON. JSON is a lighter and faster alternative to XML and used in almost all modern web services. Any modern programming language has tools to parse JSON, which allows you to distribute your content to virtually any platform.
Examples of platforms and languages into which content can be loaded:
Yes, and there are three ways to serve content in HTML.
This is the classic approach taken by most CMSs to generate HTML4 websites. A browser requests a website and then a server-based system loads content from a database, creates an HTML page based on templates on the fly, and sends that HTML page back to the browser.
Due to the high performance of our API and our world-wide CDN the page load times will still be very quick, no matter where your servers are.
If you mostly serve static content then pre-generating all the HTML pages is the best approach to take. An example for this might be a landing page or a blog.
Again, you can use the programming and templating frameworks of your choice. An example in Ruby might be Middleman, which can easily be integrated with Contentful with the Contentful middleman extension. Every time content is updated every single page is pre-generated and then uploaded to a web server or a Content Delivery Network. This approach guarantees you the highest availability, the lowest page load times and the highest security.
A very simple HTML page is sent to the browser initially, and only in a second step the content is loaded dynamically through AJAX. This approach gives you the most flexibility in working with content, as you could potentially display it on a Google Map or even render it in 3D through WebGL.
Which way you go depends highly on the requirements of your project. The approaches described above can also be combined.
If you're looking for a markdown parser for your app or website, here's a list of the ones we recommend you to use:
Pegdown is a pure-Java Markdown processor based on a parboiled PEG parser supporting a number of extensions.
Marked is markdown parser and compiler. Built for speed.
Ciconia is a New Markdown parser for PHP5.4.
Minidown is a lightweight & fast markdown parser, with complete GFM support.
Misaka is a Python binding for Hoedown.
Markdownsharp is a open source C# implementation of Markdown processor, as featured on Stack Overflow.
1 2 3
• No code blocks • Only produces HTML • Minimal support for tables
1 2 3 4 5
• No support for tables • Images are not displayed, alt text inline • No strikethrough • No inline HTML • No horizontal rule