Announcing the Treetop Go library for HTML applications.

I recently deployed a rewrite of a large internal CRUD application at work. 
The new project made heavy use of the nested template features of the Go 
html/template package.

I took some time recently (weekends in lockdown!) to tidy-up the template 
management library that was used in that project. Feedback would be very 
welcome...

https://github.com/rur/treetop

*Template Protocol *

The legacy app had a very extensive AngularJS codebase to support various 
interactive features. To avoid porting or rewriting that code, I 
incorporated a mechanism that enabled server handlers to render page 
partials. Hot-swapping HTML fragments proved to be adequate to achieve the 
controls we needed, quickly and with a relatively minimal client-side 
codebase.

The outcome was so satisfactory that I created a series of examples apps to 
demonstrate some of the controls we came up with. 

Checkout the demo: https://treetop-demo.herokuapp.com/

If you like the project please add a star to the repo so that more devs 
will see it!

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/b3b65c12-3b9a-4e80-8e45-f78dc345ff2f%40googlegroups.com.

Reply via email to