gustav1976 / grcpool

OSS Gridcoin pool that pays regularly to clients in proportion to their BOINC contribution.
http://uscore.net
MIT License
12 stars 7 forks source link

What do you think of adding a templating engine? #8

Open arminrosu opened 7 years ago

arminrosu commented 7 years ago

Hello,

Looking at the GRCPool code, there is html in classes, some Bootstrap widget classes and of course views.

It seems we could extract the html using a templating engine. Twig is quite capable. Bootstrap components can be implemented as macros, and views would extend a layout page (replacing html in GrcPool_WebPage ->display()).

What do you think? I would be willing to give it a shot.

bryhardt commented 7 years ago

Hi, a templating engine would be better for sure. I am moving the repo to the community site and pulled some of the functionality out of it to make it simpler for collaborating and if somebody wants to make their own pool. So that repo would be best to use...