> Do you still upload your code via FTP directly to the web server?
It's pretty rare that this is even an option, since no one in their right mind would set up an FTP server with access to anything important.
SFTP? I don't see why not. No need to make things more complex than is necessary.
I don't remember any particular problems with code caching when I did PHP development, though maybe you use a different caching tool than I did. Also, Wordpress is its own beast, and is generally reviled by most everyone, expecially PHP programmers.
>> SFTP? I don't see why not. No need to make things more complex than is necessary.
You are trying to argue definitions (SFTP vs FTP when FTP just means “any file transfer protocol”) instead of arguing that uploading any amount of files by any protocol that are immediately picked up by the interpreter introduces nondeterministic behaviour of the website where the users accessing your website only see a subset of the files you were trying to upload.
Doesn’t that just reinforce one’s confidence in the fact that PHP developers are generally quite amature in nature?
Who says you have to upload your code directly to the deployment directory? Upload files, switch symlink. Done. You are talking about a deployment technique that has nothing to do with PHP.
Nah, I am speaking about the general/majority culture of how it is done in PHP.
Do you not see the comments in this specific thread? The guy a bit higher up the chain thinks my issue is with "FTP vs SFTP", rather than "the version of the files at a particular moment in time".
He doesn't even understand why a partial view of the files could be an issue.
And the general sentiment in PHP is that "you can change any file separately, by editing in online on the server - and that is a good thing".
It's pretty rare that this is even an option, since no one in their right mind would set up an FTP server with access to anything important.
SFTP? I don't see why not. No need to make things more complex than is necessary.
I don't remember any particular problems with code caching when I did PHP development, though maybe you use a different caching tool than I did. Also, Wordpress is its own beast, and is generally reviled by most everyone, expecially PHP programmers.