GWT 代码还是 GWT 设计器?

发布于 2024-12-21 05:07:54 字数 1431 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

笑忘罢 2024-12-28 05:07:55

在我看来,最好从头开始学习编码。这样你就可以更好地理解底层代码的作用。因为您还必须考虑支持您开发的 GUI。如果您使用设计器,虽然速度要快得多,但它会向其中添加自己的代码,并且可能不是纯 GWT 代码。

所以在我看来,手工编码,肯定会花费更长的时间,但你会更好地理解它,并且能够支持它。这将是你弓箭的另一项出色技能。

In my opinion it's better to learn to code it from scratch. That way you get a much better understanding of what the underlying code does. Because you'll also have to consider supporting the GUI you develop as well. And if you use a designer, while it's a lot quicker, it'll add it's own code to it, and it may not be pure GWT code.

So in my opinion, code it by hand, sure it'll take longer, but you'll understand it better, and be able to support it. And it'll be another great skill to your bow.

奶茶白久 2024-12-28 05:07:55

我使用混合溶液。主要模块的设计器和详细代码...

I use a mixed solution. Designer for main blocks and code for details...

许久 2024-12-28 05:07:55

我建议从编码而不是设计师开始。从学习的角度来看,编码提供了有关如何使用和扩展功能的更多信息。
客户端脚本编写涉及良好的样式和对齐,一旦您使用代码和脚本,您就会理解这些。

I would suggest to start with coding rather than the designer. From a learning point of view, coding gives more information regarding how you can use and extend functionality.
Client side scripting involves good styling, alignment which you will understand once you work via the code and scripts.

迷你仙 2024-12-28 05:07:54

我同意代码要好得多。另外,稍后当您想要对 UI 进行更多微调(例如达到像素级别的精确位置)时,我发现设计器不太容易对齐小部件。无论如何,您都需要深入到代码级别才能做到这一点。

已经提到的另一个好处是您将更好地了解正在发生的事情。

I agree that code is much better. Plus later on when you want to do more fine tuning of your UI, exact position up to the pixel level for example, I have found that the Designer is not very easy for aligning widgets. You will need to get down to the code level anyway to do so.

Another benefit like it was already mentioned is you will get a better understanding of what is going on.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文