Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Good Java Presentation Layer Framework  RSS feed

 
Peter Zhu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I'm new to Java EE and web development and I'm making a web database application for a school project. Can anyone recommend me a good framework with lots of tutorials that operates a lot like Swing where you just set the location of each element on a "frame". If what I'm looking for doesn't exist, can you at least recommend me something that doesn't use XML for the programming (such as JSF)?
 
Tim Holloway
Bartender
Posts: 18709
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How OLD is the stuff you've been reading? Most JSF code is done using Java annotations these days.
 
Peter Zhu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Holloway wrote:How OLD is the stuff you've been reading? Most JSF code is done using Java annotations these days.

The stuff I'm looking at are JSF 2.2, I think thats pretty new. Even if you use Managed Beans you still need to use XML code to do the interface design. I want something that doesn't need XML code for the interface design.
 
Tim Holloway
Bartender
Posts: 18709
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not "programming", that's display templates.

There's not really a lot of good support for DDD (drag, drop, drool) WSYWIG-style web UI design outside the Microsoft world. On reason (but not a very good one) is that the semantics of intelligent tags such as those that JSF uses mean that What You See often really [i]isn'tp/i] what you get. And in any event, just switching from a destop view to a 4-inch phone or 7-inch tablet wreaks havoc on precision page layout (and often, by extension, page functionality. I can mention several sites that are virtually useless outside the desktop because they have menus and/or popups that interfere).

Even where there are WSYWIG layout tools, of course, XML is one of the more popular ways for the tool to actually store the View Template and is often the actual format that the runtime renderer works from.

There are, I think some platforms that allow View design to be done using something like YAML, but YAML basically assumes that IT is going to control what things look like and where they go, since YAML isn't favored for detailed data definition.

There's a "GUI Editor" for JSF that's part of the J2EE spin of the Eclipse IDE, but it's not very good. IntelliJ may have something better by now, but I haven't seen a recent version of it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!