2
neeno
36d

What is today's standard of server-side rendered pages, today's replacement of php since everyone seems to hate it? Is it Vue/react/angular SSR? Or is it some other technology I haven't heard of?

Comments
  • 2
    Rails 😉
  • 2
    I just use PWA. Maybe node.js if I really need WebSocket or POST.
  • 0
    @Root neat, I'll look into it. Thank you :)
  • 2
    i use sapper for ssr. Not that I have a lot to compare it too but it's pretty nice
  • 0
    @melezorus34 PWAs are primarily aimed towards mobile, no?
  • 1
    @M1sf3t ooO thanks, seems interesting too
  • 1
    @ItsaMeTuni nope, all towards whatever device supports web browsers. Let it be phones or computers. Just works.
  • 1
    @ItsaMeTuni That was mostly sarcastic. Rails is a great backend (and it allows you to use Ruby, which is absolutely wonderful and blissful), but its templating is just templating -- even if it is better than PHP.'s JS, as much as I hate to advocate its use, allows you to make much better frontends.
  • 0
    @Root aw, I wanted to get rid of JavaScript for at least part of the job.

    Obviously I know JavaScript is needed to create a good experience for the user, I just wanted to use it a bit less. I wanted to mix templating with JavaScript, but now that I think of it it sounds like it'd just be a mess.
  • 1
    The Corp I work for uses the .net framework exclusively. Works well enough.
  • 2
    @ItsaMeTuni You should definitely look at sapper before you rule out javascript. Like you said you can't get around using it so you might as well find a tool that makes working with it a breeze
  • 0
    @M1sf3t yeah, taking a quick look at I think I might actually like it. Thank you!
  • 2
    @ItsaMeTuni the discord is pretty active if you have questions. Probably best not to mention I sent you, think they see me as the bastard child they can't get rid of 😅
  • 1
    @M1sf3t heh, thanks! I'll take a look at it, but I'll get the basics on my own, I prefer not to annoy people with stupid noob questions :)

    Unfortunately I won't be able to dive into it rn, school and a freelance job I can't get rid of are eating up all my time.

    Thanks again!
  • 1
    @ItsaMeTuni Mixing templating with JS actually works pretty well in Rails.
  • 4
    Not rendering things server side if you can at all avoid it. Server side rendering is spending money producing html that could be better spent on cocaine and unnecessarily expensive alcohol.
Add Comment