Jump to content

Recommended Posts

Posted

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

Posted

Great Adam! I think maybe more detailed example would help a little, I didn't figure out how it fully work.

Posted

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

Posted

This is actually called (the module class) HelperRender, because the module itself does nothing, just gives you some static class methods to use while working on a website. :)

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
×
×
  • Create New...