Hey, I learned Django[Python] a while back and built a few projects on it, but, lately, I've been working with Spring[Java] on RESTful APIs, so, I'm trying to do the same sort of MVC blog project/website applications, but I'm not really sure which Framework is the best to use for the frontend. Thymeleaf? JSP? Something else entirely?
Does anyone have experience with this, and, moreover, some tutorials to link?
Thanks, /g/ents
Anyone?
>>57131334
If you can fully separate presentation logic, you might want to just build a self-contained JS+HTML client that interacts with the backend only through the REST API.
You might want to ask this again in /wsg/.
>>>/g/wsg
>>57131450
I meant
>>>/g/wdg
>Spring
>>57131450
Thanks, anon.
I'm at least somewhat Jargon illiterate, so I need a bit of clarification about what that means:
self-contained JS+HTML client --
So, I don't really know what that means.
Are you saying to host a different page, somewhere, that accesses the API through some JavaScript GETs? I'm not really sure how I'd get it live, or whether I'd want to separate it. I like ThymeLeaf because it allows me to pass in objects directly into an html template from a mapping, but maybe there's another, more conventional way.
>>57131519
>>Spring
Is there something better for Java?
>>57131560
EE? Play?
>>57131519
absolutely nothing wrong with it desu
>>57131748
>absolutely nothing wrong with it desu
OP, here.
I wouldn't exactly say that.
I definitely prefer doing apps in a strongly-typed language, but, when you look at how much simpler to understand a think like Django is, it's a far cry from saying "absolutely nothing wrong with it" about alternatives.
Like, FUCK, I don't know jack shit about all this xml one has to type for certain MVC stuff, and it seems like a lot of typing for no damn reason.
All I've been able to do with spring, so far, is use Spring Boot to generate APIs consumed by , say, Android apps.
>>57131815
>>57131748
* though I would greatly appreciate your help, if you got good materials on it.
spring is hard as fuck for a beginner, especially for someone who has never used MVC pattern before, but after you finish writing boilerplate code and understand what is going on it is pretty fun to write stuff in
>>57131955
>spring is hard as fuck for a beginner, especially for someone who has never used MVC pattern before, but after you finish writing boilerplate code and understand what is going on it is pretty fun to write stuff in
I know what you mean, but do you think you could help me out, a bit?
I'm at the level where I understand Spring Boot well enough that a RESTful API is no problem at all to me, and where I have no issues at all with other MVC frameworks, like Django, but when it comes to getting any frontend framework, like JSP or Thymeleaf, I have a lot of trouble.
First things first: What kind of frontend should I even be using?
Step 2, where's a tutorial to learn how to use it?
>>57130590
Literally all of the server-side rendered solutions in Java are complete shit.
Use it as an API or don't do web development in Java.
>>57132014
Isn't working with JS complete shit, though?
I mean, as far as programming languages go, it's the fucking worst, and I'd hope to minimize using it as much as possible.
JSF or JSP