Adam Kiss Posted August 5, 2012 Share Posted August 5, 2012 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 Link to comment Share on other sites More sharing options...
apeisa Posted August 5, 2012 Share Posted August 5, 2012 Great Adam! I think maybe more detailed example would help a little, I didn't figure out how it fully work. Link to comment Share on other sites More sharing options...
porl Posted August 6, 2012 Share Posted August 6, 2012 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 More sharing options...
Adam Kiss Posted August 6, 2012 Author Share Posted August 6, 2012 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. Link to comment Share on other sites More sharing options...
ryan Posted August 6, 2012 Share Posted August 6, 2012 Looks cool Adam, I look forward to checking this one out! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now