Oliver Becker

Results 34 comments of Oliver Becker

Thought about it a little bit longer - probably I hadn't internalized the new `HtmlBuilder` concept yet. I think the above sketch doesn't really simplify the API. However, what we...

Ok, Scott, what about the following: - the j2html library provides an extension mechanism for users having custom or complicated formatting requirements, which is the `HtmlBuilder` interface - the j2html...

I'm not sure if I fully understand your concerns. For the caller I have this in mind (supposed there would a factory method `HtmlBuilder.defaults()`): ``` html.render(HtmlBuilder.defaults().into(out).indented(!minify)); ``` So the implementation...

Alright: here is my sketch: https://github.com/obecker/j2html/commit/bfcac493ed76c36aea031e0b9518c770a5a23b4f It's not quite the original idea because of the `Appendable` generics involved, but with this I can simplify my code to ``` html.render(HtmlBuilder.into(out).indented(!minify)); ```...

Hi @sembler, while my first attempt had some rather major changes and introduced with the facade an additional step in the call hierarchy during the rendering, I stepped back and...

@sembler by the way: feel free to suggest a better name, since `DefaultHtmlBuilder` does *not* implement the `HtmlBuilder` interface

Hi, I suggest to move the current `HtmlTag` implementation into a new `2.x` branch, since it is not compatible with the current 1.x releases (for example it is no longer...

Hi, is there anything that prevents merging https://github.com/tipsy/j2html/pull/168 and https://github.com/tipsy/j2html/pull/152 ? Moreover, I believe some of the issues can be closed, don't you think?

Hi @sagesmith-wf, I think the cool thing about j2html is that it is both simple and extensible. So, concerning (some of) your ideas: **Style methods** Actually, I would always use...

By the way, something that I am thinking about is to use/extend j2html to create SVG. With the current 1.4.0 version I would just create a lot of static methods...