Jump to content

Render:: – 'views' for ProcessWire


Adam Kiss
 Share

Recommended Posts

https://github.com/adamkiss/HelperRender

Finally, after a while, I built something! :) It is my way of working with templates, and pushing all the echoing into 'views', rather than having it scattered all over the template files.

This is its third incarnation, built less the 'somehow tie it into PW' way, and more the 'it makes sense' way, its selfcontained, installs as a module, and gives you a bunch of 'Render::*' methods you can use both in your templates and in your views.

I am particulloary interested whether the documentation makes any sense, because... well, I wrote it after working on this reincarnation for two days straight :D

Link to comment
Share on other sites

Sounds really interesting! I'll have to take a look and see if I can use any ideas to make the Twig module I have been working on nicer. Even now I'm thinking the name "RenderTwig" makes more sense than "TemplateTwig".

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...