Spyke

Posts

javascript·JavaScriptbys4if

[ASK] best way to use svelte as front end and php as backend

Hi, I am long time PHP developer here (mostly part time though, not my main occupation). I usually make application using Codeigniter (a php framework), boostrap and jquery. I think the stack is outdated as my stack is unchanged since 2014 so I am wiling to learn.
I plan to use svelte as front-end while still using PHP as backend for my next project as a first step of my learning journey. My next project is to make a new student registration site for my workplace. There are several things I am still confused:

  1. Which is better to use for my case, svelte or sveltekit?
  2. If I use just svelte, should I serve it from my php backend as static directory or use different port/subdomain for the backend?
  3. If I use different port/subdomain, how should I handle the cors and csrf protection?
  4. For Authentication and/or authorization, is it safe using php session as usual or I need to use JWT, OAuth or something like that?

any help/advice is appreciated. Thanks. :)

View original on lemmy.world
hyprland·Hyprland Desktop Environmentbys4if

First Exposure of Hyprland

Hi, Hyprland User out there, when and how did you get to know hyprland? I get to know Hyprland because I watched Brodie's first video about hyprland. It coincidence with me trying to explore tiling wm in general. In the video, Brodie criticize Hyprland configuration and lack of documentation, but it fixed next day. I was amazed with the speed of development and after that moment, I feel in love with Hyprland and become daily user of Hyprland from that point onward.
how is your story?

edit: I forgot to add body to my post. xD

View original on lemmy.world
newcommunities·New Communitiesbys4if

Hyprland Desktop Environment - Lemmy.world

Hi, I saw a post requesting somebody to make a community for Hyprland Users on #threadverse, so I made one.
Hyprland is a Wayland Tiling Window Manager (WM) based on wl-roots library. It aims to make an easy to use Tiling WM without compromising its look. It has neat animation and eyecandy effect that makes it popular with Linux ricer community (formerly on r/LinuxPorn). It was made by Vaxry and still actively developed.
For anybody interested feel free to join on ![email protected]. cheers!

Hyprland Desktop Environment - Lemmy.worldhttps://lemmy.world/c/hyprlandOpen linkView original on lemmy.world

You reached the end