i’ve been trying to get into web applications, but...
# getting-started
h
i’ve been trying to get into web applications, but ihave found no luck. everything has such a high learning curve What do you guys recomend?
s
are you trying to do some full-stack development? or are you asking about server-side specifically?
h
sorry 😅 what’s the difference?
s
full stack would include, like. the front and the back end. server-side is the back end.
not that it’s necessarily such a clear-cut dichotomy, but I figure that’s concise enough for a beginner
h
so spring would be full stack, right? I want like a simpler version spring, where i can simply connect frontend and backend together.
s
what do you envision that to look like?
what is “simply [connecting] frontend and backend”
h
hmm, im not too sure. having relatively simple ways to create html, or template it, and work with posts/gets? If you understand
s
I mean at the core you need a web server to serve rendered templates and run business logic
many of the simpler server solutions can do that, and the ones that can’t can usually be wired up with a template processor
h
i guess. what’s a good starting point for fullstack?
s
depends, do you mean like in a practical sense or in a more academic sense? there are probably some books and plenty of screencasts if you’re into that
otherwise, you can learn spring if you want, or run Spring Boot, Ktor, Javalin, etc to get the backend up and running learn the frontend stuff from there
h
any good documentation for javalin?
the website is ok, but it isn’t too in depth, i still find it difficult to understand what is fully going on
s
if you’re really at the outset of building web applications, then Javalin probably isn’t what you want
h
oh, okay.
s
it’s great for folks who want to hammer out some endpoints and have a decent idea of how they wanna wire things together
Ktor is in a similar state
h
okay, so my first idea was to make a little repository type of system where i can document all the books in my library
so that is my first goal, and im not sure how to start
i want it so it has a nice enough ui for others to be able to use as well, and easy enough for me to add/remove items from
s
honestly I might even recommend a different language to start out with to get the basics
Java web frameworks tend to be too enterprise, and the Kotlin stuff tends to be too new to cater to newbies
conversely, there are countless tutorials for getting up and running with Python and Flask, for example
h
hmm, i really, really wanna use kotlin ;/
s
you can probably follow along with a Java tutorial if you know Kotlin well enough, but ultimately I don’t think I could really recommend the language for someone literally just starting out
what you want to do is pretty common and is called a CRUD app - Create Read Update Delete https://en.wikipedia.org/wiki/Create,_read,_update_and_delete
h
alright. thanks
s
and there plenty of tutorials to build those
h
what about good docs for learning spring with kotlin? I only saw one blog post relating to spring with proper kotlin related things
s
there’s probably not too many articles about spring+kotlin since it works largely the same as spring+java
h
oh, okay
s
the framework doesn’t really take advantage of any kotlin-specific features, though there are plugins and adapters to do so
these are generally intended for people who are separately familiar with spring and kotlin
h
i seee
thanks for your input, shawn!
👍 1
god i give up. im so confused where to start. can you lead me to anything? Thanks
s
this looks like a pretty comprehensive guide: https://spring.io/guides/tutorials/spring-boot-kotlin/
it’s maybe a bit overkill, but you’ll likely gain quite a bit of needed perspective regardless
h
ok, thansk
t
this is exactly why I'm making javalin: https://javalin.io
👍 1
i'd be happy to help you get started making an app
h
wonderful! I’ll take a look. Thanks
t
having read the whole thread now, i see you already found it 🙂
h
yeah
t
if you let me know which parts you don't understand i can improve the website
h
well it gives u tutorials on making apps
but it doesn’t really explain what is happening
t
like how http works?
the html-form tutorial includes some theory on when to use GET vs POST: https://javalin.io/tutorials/html-forms-example-kotlin
it's for creating reservations, but that can be easily translated into adding books
h
okay
t
are you new to programming in general, or just new to web ?
h
web
i have a basic knowledge of kotlin and java, but none in any enterprise
t
alright, that can be a challenge
h
i really do find it hard how did you learn?
t
a master's degree and four years of work experience in a telecom 😅
h
that definitely makes it easier…
t
takes a long time though 🙂
h
so you know what i know (nothing). i’m commited to use javalin to make my book repository thing. where should i start?
t
if you can find a free "bootcamp" course on youtube they can be very effective
h
hmm, i prefer docs and the such, videos are not the type for me
t
do you know how to setup a maven/gradle project in intellij?
h
yeah! I do
i’ve used tornadofx quite a bit
i’ve gotten quite good at it, i’d say
t
then i would start with cloning the HTML form repository and looking at how it works
h
okay!
t
i'll be working on javalin for the next hours, so feel free to message me to ask questions