Skip to content

4.0.0 Alpha - [ABANDONED]

Pre-release
Pre-release
Compare
Choose a tag to compare
@ragboyjr ragboyjr released this 06 Feb 18:11

EDIT (12/24/2020): This release has been abandoned. Some of this work will be merged into the v3 branch, but most of it has been scrapped. This tag will still be available, but a version 4 will not be based off of this alpha release.

v4 has been a complete rewrite in the plates system. It's fairly backwards compatible, but a lot of the internals have changed, and we still have a decent amount of features and work to do for v4.

Significant Changes

  • Templates are Immutable VO's
  • Rendering is handled via RenderTemplate interfaces
  • Extensions are first class citizens
  • The Engine is now a small wrapper for an IoC Container

New Features

  • RenderContext API for defining composable functions and more
  • Components
  • Powerful and customizable naming strategies for dynamic base paths
  • Multi folder fallbacks
  • Relative and Absolute Path templates
  • Better Error Handling
  • Default Layouts
  • Deep Sections #169
  • Template Composers
  • Static File Rendering
  • Image/Base64Encoding Rendering
  • And probably a few more ;p

Documentation is lacking for many of these features. Contributions are welcome! The best way to learn about the features it to look at the tests and examples.