Java – why GWT bootstrap?

I am new to GWT and am considering using Twitter bootstrap to build CSS framework But then I met GWT bootstrap, which claims to be a way to use bootstrap in GWT applications

Because I'm new to GWT, I'm a little worried / confused: why can't GWT applications only use the conventional bootstrap framework? Why does it even need GWT bootstrap?

Solution

I started GWT bootstrap with the intention of binding the bootstrap JS and CSS to reusable GWT components. Otherwise, you may need to copy the code, which may end with creating your own code, which may be very similar to GWT - bootstrap

It also has some tools for binding events and so on

But answer your main question: it depends If you don't trust the community and / or have a lot of time, you can do your own GWT bootstrap project, but it may be integrated with your project. At least, this is what happened to me... So I began to use GWT bootstrap and some people who like it, as well as a brief reason: now it is its essence It needs a lot of improvements, updates, better documentation and a lot of things, but the fact is: I don't have that much time

So if I were you, I might help the GWT bootstrap community instead of "reinventing the wheel", but that's just my opinion

Happy learning

The editor added something @ iamyourfaja asked questions in the comments

You mean the injection (or I think you mean) is not concentrated

We have resourceinjector to inject some resources, set viewports, and inject resources into CSS files gwt. xml module. We also have component classes that set up JS plug-ins (when needed) and CSS classes If necessary, you can view TabPanel as an example

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>