In the spirit of simplifying the way we build websites, we removed the need of using PHP code to access the WordPress database and other server side functionality. Instead, we implemented the concept of “binders”.
A binder is simply a token that allows binding data from the database in just a few lines of code.
{{$post.post_title}}
You can mix binders with your HTML code which gives you the ability to easily model the UI of your website, while accessing data from the server.
<section class="blog-post">
<h1>{{$post.post_title}}</h1>
<p>{{$post.post_content}}<p>
</section>
Binders also expose functionality that will normally require to use server side code, allowing us to expose data from a variable that can be access from the pages that you create inside the builder interface
{{twitter assign_to="tweets" screen_name="appcropolis" tweets_to_display="4"}}
<ul>
{{foreach $tweets.data as $tweet}}
<li>
<h2>{{$tweet.text}}</h2>
<i>{{$tweet.created_at}}</i>
<p>{{$tweet.user.name}} @{{$tweet.user.screen_name}}</p>
<a href="{{$tweet.urls.expanded_url}}">
{{$tweet.urls.display_url}}
</a>
</li>
{{/foreach}}
</ul>