Any good tips for a PHP programmer starting a GWT project?

Coming from PHP with some Java Struts 2.0, are there any tips / tricks for learning GWT? I looked at some lessons, but just wanted to find out if anyone has big gems to go through?

+3
source share
4 answers

As someone who made PHP, Struts2 and GWT, good advice from me for those coming from a web infrastructure like Struts2.0 / PHP would be:

  • Drop the old way of thinking, the way the web framework works in a request-response mode. This is not how GWT works. GWT is the complete ajax structure. Get a good understanding of AJAX and throw away that old mindset to get good GWT grasps.
  • Think about application development, not website development. This will affect how you create navigation in your application using GWT.
    • You do not create hyperlinks to move between html pages, but you use an event listener to update partial content in your application. Get a good understanding of this.
    • Keeping this in mind, always remember that you are not discarding full html pages, but simply updating partial content in your application.
  • Java , GWT. , , Struts2.0
  • , . , . , . ​​GWT.
+6
+2

GWT developers still need good HTML and CSS skills. It is sometimes useful to create HTML chunks on the client or server side (performance, skinning, etc.), rather than building every part of your GUI using the GWT Widget trees in Java code.

Our framework ( GWT Portlets ) will help you structure your application. It includes a simple demo application in its own directory, which you can copy to start the project.

0
source

Source: https://habr.com/ru/post/1716504/


All Articles