Which tools and SDKs exist for integrating Contentful?
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.
What platforms does Contentful support?
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:
- HTML4 websites
Native mobile apps
- Apple iOS
- Google Glass
- Windows Phone
- Java ME
- Sencha Touch
- Titanium Appcelerator
- Windows (all versions)
- Apple Mac OS X
Any client or server-side programming environment
You can also load the content out of Contentful and generate static documents out of it, such as printed documents or eBooks.
Yes, and there are three ways to serve content in HTML.
1. Generating pages dynamically on the server
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.
2. Pre-generating static pages with a site generator
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.
Markdown Parser Recommendations By Language
Here is a list of recommended markdown parsers for your app or website: