In part one of this two-part series I started looking at FigDice, a PHP templating system that takes a slightly different approach to most.
So far we’ve put together a very simple example website using Figdice. We’ve implemented a couple of pages, a Twitter feed and some template partials.
In this second and final part we’re going to add a simple blog to our example site, which allows us to look in more detail at Figdice’s concept of data feeds. We’ll also look at internationalization, translating some of the site’s content into a couple of additional languages.
The Code
I’ve created a separate repository for the code for this second part of the series, which you’ll find on Github. It expands upon the code we wrote in Part One.
There’s also an online demo.
Building a Simple Blog
Now let’s create a more complex example of a data feed, by implementing a simple blog.
First, create another feed class - this time for a blog.
Continue reading %Building an Internationalized Blog with FigDice%
by Lukas White via SitePoint
No comments:
Post a Comment