2017 © Pedro Peláez
 

library figdice

Template Engine, XML-centric and attribute-driven

image

figdice/figdice

Template Engine, XML-centric and attribute-driven

  • Wednesday, June 20, 2018
  • by figdice
  • Repository
  • 1 Watchers
  • 20 Stars
  • 886 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 3 Forks
  • 3 Open issues
  • 16 Versions
  • 3 % Grown

The README.md

Logo FigDice Templating System for PHP

License: MIT Build Status Latest Stable Version Coverage Status @figdice on Twitter, (*1)

Abstract

FigDice is a templating engine for PHP. It differs from most of the popular template systems, with regards to the way the presentation data are made available to the templates: instead of pushing the data from the Controller to the View, you build Views that pull the immutable data that they need., (*2)

FigDice focuses on the Web Designer stand-point. Designers and Developers agree together on structure of the self-contained beans (called Feeds in FigDice) that Developers make available to Designers, and then the Designers may reuse them anywhere they need, and combine them with other Feeds into pages and macros. The View Controllers in FigDice become generic presenters whcih don't need to know the details of what is presented in what template, since the templates themselves will activate their favorite Feeds to pull their data., (*3)

See figdice.org, (*4)

Try a Live Demo now!

Presentation and Tutorial: - SitePoint | Getting Started With FigDice (English) - php[architect] | December 2015 (English) - GNU/Linux Magazine France | 158, March 2013 (French), (*5)

Features

  • Fast, easy and powerful Template Engine
  • HTML syntax for your Templates: FigDice brings a set of extended attributes to help you construct the logics.
  • You can display your templates WYSIWYG in your browser/editor
  • Manipulate your data with the help of a simple and powerful expression parser
  • Built-in i18n, using keys/values from cached dictionaries
  • Inclusions, loops, conditions, with a non-intrusive syntax inside the document
  • No programming required, for the Template designers
  • Hermetic separation between the application's layers (Presentation / Logics)
  • Inversion of control: the Templates pull the data on-demand. The controllers need not know the templates by heart beforehand

Installation

Add the figdice dependency to the require section of your composer.json file:, (*6)

"figdice/figdice": "~3.x-dev"

Getting Started

Browse the examples!, (*7)

See Wiki for more details., (*8)

The Versions

20/06 2018

3.x-dev

3.9999999.9999999.9999999-dev http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

MIT GPL-3.0

The Requires

  • php >=5.4

 

The Development Requires

templating template xml html views presentation

12/06 2018

3.1.0

3.1.0.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

templating template xml html views presentation

18/04 2018

3.0.1

3.0.1.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

templating template xml html views presentation

09/03 2017

3.0

3.0.0.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.4

 

The Development Requires

templating template xml html views presentation

21/02 2017

2.x-dev

2.9999999.9999999.9999999-dev http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.4

 

The Development Requires

templating template xml html views presentation

01/02 2017

2.4

2.4.0.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

templating template xml html views presentation

28/11 2016

2.3.4

2.3.4.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

templating template xml html views presentation

16/08 2016

2.3.3

2.3.3.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

templating template xml html views presentation

30/03 2016

2.3.2

2.3.2.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

templating template xml html views presentation

05/01 2016

2.3.1

2.3.1.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

templating template xml html views presentation

01/01 2016

2.3

2.3.0.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

templating template xml html views presentation

29/11 2015

2.2

2.2.0.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

templating template xml html views presentation

10/09 2015

2.1.2

2.1.2.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

templating template xml html views presentation

02/08 2015

2.1.1

2.1.1.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

templating template xml html views presentation

14/07 2015

2.1.0

2.1.0.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

templating template xml html views presentation

27/04 2014

2.0.4

2.0.4.0 http://www.figdice.org/

Template Engine, XML-centric and attribute-driven

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

templating template xml html views presentation