CodeIgniter Forums
Attire - Template Engine + Asset Manager - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: Attire - Template Engine + Asset Manager (/showthread.php?tid=63805)



Attire - Template Engine + Asset Manager - dsv - 12-10-2015

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.


RE: Codeigniter + Twig + Assetic - nguyenanhnhan - 12-11-2015

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.



RE: Codeigniter + Twig + Assetic - dsv - 12-11-2015

(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.


RE: Codeigniter + Twig + Sprockets-PHP - dsv - 02-18-2016

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.


RE: Codeigniter + Twig + Sprockets-PHP - dsv - 04-07-2016

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

https://github.com/davidsosavaldes/Attire/wiki/Modular-Environment


RE: Codeigniter + Twig + Sprockets-PHP - dsv - 06-06-2016

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-7bbe-491a-bc99-0ee715f1310c


RE: Codeigniter + Twig + Sprockets-PHP - dsv - 07-01-2016

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.