Could my web development workflow be improved?

I do some web development; HTML/JS/CSS/PHP

At present, I use VS Code (desktop) and stock the files on a Nextcloud server. I use the VS Code sftp plugin to automagically sync changes to the development server.When I roll something out to production, I just FTP the new files with Filezilla or commandline.

Nextcloud keeps the files I’m working on in sync adequately, so I can edit from different workstations (in my office/home office/vacation home, etc.). I guess in that sense, my Nextcloud instance functions as the “repository.”

I can’t help but think maybe using git + openVSCode server + my own private repository might provide some advantages. I have a TrueNAS SCALE box, which does have an OpenVS Code application available.

I really don’t know enough about it, though… Is using git instead of just FTP a better way to go?

Apples and Oranges.

FTP is just for transferring Files, File Transfer Protocol
GIT is a versioning system for tracking changes in files.

With that said, I would highly recommend you learn and use GIT and GitHub.

2 Likes

Git also acts as a source of truth for a project, historical log of changes and enables developers to more efficiently collaborate with one another without stepping on each others toes. Separate branches can also be used to easily pivot between issues and isolate them from one another. Version control is a mandatory skill for development teams.

1 Like

I do not know what that is.

I am also still a beginner for Git.

One way of looking at it is that if you learn to Git it then your resume will get (git?) a boost.

If I understand what you are doing well enough then you seem to be close to doing things using Git. You will likely benefit from doing things the way that thousands of other developers do.

As I said, I do not know what a Nextcloud server is. Perhaps you are saying you want to be able to edit projects from wherever you are at and that can vary. Depending on how long you are at the various locations, and if I understand Git well enough, then perhaps what you want to do is to clone a project to wherever you are, work on it, then push it back.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.