APICMS solves the traditional problems of CMS in a simple way!
Content and design are separated and there is a extremely simple structure in the admin panel.
APICMS runs completely independent and has nothing to do with the design of the site! All content and graphics which the user enters into the CMS can be accessed through a REST API and therefore integrates seamlessly into the existing design you have programmed! With the freely included client library (PHP, Python and Ruby in the works …), the programming work required to connect to the REST API is only 3 lines of code.
- The user opens your website which is located on your server. This one can be programmed as desired by you. (static HTML page or a dynamic PHP page)
- You have defined anywhere in the page a DIV containers in which the content is displayed. Menu, logo and layout are hardcoded in the HTML webpage you have programmed. The client library, supplied by APICMS, connects to the APICMS server (this is normally the same server on which your website runs, but it can be any other server!) to query the contents of the specific website.
- The APICMS software processes the request and retrieves the desired content (text, graphics) from the database.
- The content is now sent back to the website.
- As a result, the entire site with the content from the CMS which is now present in the DIV container is send to the visitor’s browser and then rendered. Most users (and robots and spiders of different search engines) does not notice it, that the content comes from a database and is not in the website source code available.
HTML / PHP sample code for a website homepage. In the code lines 17 and 19 is the call for APICMS
<title>My cool Website</title>
<h1>This is my Website</h1>
$apicms = new ApiCmsClient(“http://apicms.yourdomain.com“, “my_api_key”);
Copyright by me, 2010
In this code, you can see that the large part of the site was programmed by the designer in normal static HTML code. In code line 15 starts the dynamic part. There is always the content of the various sites. The layout remains the same all around. With line 17, the client library from APICMS gets involved and on the next line a request is send to APICMS which requests the page “home”. With “getHTML()”, the entire text of the page will be collected and gets echoed into the DIV container.