This week's book giveaway is in the Spring forum. We're giving away four copies of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 and have Marten Deinum & Iuliana Cosmina on-line! See this thread for details.
I've been working on a Struts 1.2.9 / MySQL project for a while, building up the core functionality without paying too much attention to the UI.
Now the business logic is in place the UI needs to look the part in todays Web 2.0 world.
My question is what would people here recommend to make the move into coding the front-end? Is there a good plugin for Netbeans someone can recommend? Should I import the project to Eclipse to use it's features? What technology offers the most rapid, yet dynamic development of the front-end? I see jQuery is highly praised - are there any implications in using this with Struts?
Its depends upon what do you want to do with Front end ?
Do you want some decoration, styles on your page?
- Use CSS
Do you wnat a multimeda contents ?
- Use flash, audio/video, gif, etc
Need some validation, effects ?
There are other UI libraries available, like Google Web Toolkit, DWR, pojo Yahoo UI.
Fair point Sagar, and thanks for your thoughts.
CSS with <DIV>s is something I've already started on (all tables at the moment). I'm doing this using Netbeans but it's perhaps not the most efficient tool to use for this purpose.
The only multimedia at present are simple images posted by users.
Validation is currently done by Struts ActionForms. The CSS should tidy the presentation of any errors up, although it does require posting of the form rather than client-side validation.
The rest is down to simply making the site interact well with the user. Maybe some dynamic menus, mouseover image effects, etc.
What's your preferred app for editing the front-end when incorporating any or all of the libraries you mention?
Rob CB wrote:I see jQuery is highly praised - are there any implications in using this with Struts?
jQuery is an excellent choice for using with server-side libraries as it is powerful yet unobtrusive. jQuery doesn't get in the way of anything Struts (or other server-side framework) wants to do, and vice versa. This cannot be said for the highly intrusive libraries, particularly tools like DWR and GWT.
Rob Brown wrote:Would you normally add this type of stuff to your site using Dreamweaver, or is Netbeans good enough?
all you need is some hand on various methods and core concepts of JQuery with editor which highlights the syntax.