Welcome Guest, Not a member yet? Register   Sign In
Attire - Template Engine + Asset Manager
#1

(This post was last modified: 07-09-2016, 11:54 AM by dsv. Edit Reason: change title )

Hello community!

I'm working on a library called Attire, that supports template inheritance using Twig template engine and Sprockets-PHP as an asset manager framework in CodeIgniter. This integration it's gonna make your life easier for developing and maintaining structured templates, layouts and even the assets for each section in your application.

Checkout the repository

https://github.com/davidsosavaldes/Attire

Hope you like it.
Reply
#2

You’ve done a great job. Thank you.
(12-10-2015, 06:56 PM)dsv Wrote: Hello community!

I'm working on a library called Attire, that supports template inheritance using Twig template engine and Assetic as an asset management framework in CodeIgniter 3.0. This integration it's gonna make your life easier for developing and maintaining structured templates, layouts and even the assets for each section in your application.

Checkout the repository

https://github.com/davidsosavaldes/Attire

Demo

[Video: https://www.youtube.com/watch?v=SwAzluknlNI]

Hope you like it.
Reply
#3

(12-11-2015, 01:40 AM)nguyenanhnhan Wrote: You’ve done a great job. Thank you.

Thank you for your opinion. I'm open to suggestions to improve this library.
Reply
#4

Now you can call Codeigniter functions with the prefix 'ci_'.

Example:

Code:
{{ ci_site_url('foo') }}

Notes: this could only work if you first load the helper in the controller.
Reply
#5

Attire latest version (v2.2.1+) now supports HMVC environment.

https://github.com/davidsosavaldes/Attir...nvironment
Reply
#6

The official release of Attire v3.0.x for Codeigniter is now available: http://davidsosavaldes.github.io/Attire/

Here's the list of features:
  • New driver library’s architecture
  • Improved documentation
  • Fully compatible with Twig 1.24+
  • New Twig mode
  • Improve the HMVC environment support
  • Fix some bugs (assets management, template namespace, etc)

ToDo:
  • Update actual themes (material-design and yahoo-pure)
  • Add new themes (Angular-material, Semantic-UI, Foundation, UIKit, etc)

If you want to give your feedback (anonymous):

http://feedback.userreport.com/cf4d3026-...e715f1310c
Reply
#7

(This post was last modified: 07-09-2016, 11:04 AM by dsv.)

New features in Attire v3.0.8:

Regular
  • Change a manifest through the asset driver.
  • Enable Twig Debug Mode with ease.

HMVC environment:
  • Extend theme.
  • Extend a manifest.

New Themes:
  • Attire-Material now fully compatible with Attire 3.x.
  • Fix some minor bugs in Attire-Bootstrap.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB