Padroneggiare il moderno design del sito back-end: la tua guida definitiva per il 2023

Se ti abboni a un servizio da un link in questa pagina, Reeves and Sons Limited potrebbe guadagnare una commissione. Vedi il nostro Dichiarazione etica.

Nella corsa per portare il tuo sito Web in cima alle classifiche di Google, la maggior parte dell'attenzione di un tipico team di sviluppo sarà sulle funzionalità di progettazione del front-end intese a far risaltare il sito rispetto ai suoi concorrenti.

This makes perfect sense, and indeed the front end of the site design is where most of the action is. What doesn’t help, however, is to neglect the back end from anything other than the most cursory consideration. Even worse would be to intentionally incorporate features into the back end that don’t provide any measurable benefit, or could even work to your detriment.

The problem is that many of the ideas that were applied to early website back end design haven’t been updated to reflect changes in the operating environment. Just because an old DC-9 will fly doesn’t mean it’s still the best way to travel across the Atlantic, and the same logic can be applied to the technology that drives our websites.

La tua architettura back-end fa la differenza per il tuo ranking di Google

Google si preoccupa di molte cose quando si tratta dell'esperienza dell'utente e può essere distinto dall'internoformation Google prevede che si preoccupino più di questo che dell'interfaccia utente del tuo sito.

In other words, when it comes down to what Google cares about most, how your site functions is far more important than how it looks. One of the key criteria involved in Google’s assessment of a site is page loading time, and it’s easy enough to understand that some architectures are more efficient than others.

Scelte hardware del server

The first link in a very long chain of decisions is the server itself. It’s difficult to choose a specific hardware configuration to recommend as the best because there are just so many possibilities. The market leader is Hewlett-Packard, with approximately 52 percent of the market share for new server purchases, but this could be more to do with pricing than with efficiency.

Se hai i soldi per farlo, il secondo concorrente classificato, IBM, potrebbe effettivamente fornire il miglior valore in termini di ciò che ottieni per quello che paghi. L'IBM è ovviamente in circolazione da moltissimo tempo, e una cosa su cui questo produttore è molto bravo sta costruendo hardware altamente efficiente e affidabile.

For smaller companies, the hardware is not such a big consideration because they won’t be supplying their own web servers, or even leasing dedicated servers. That means they don’t have the luxury of choice that blue chip companies can afford.

Windows o Linux?

The operating system you choose, on the other hand, can have a critical effect on the overall efficiency of your site. That isn’t always the priority for IT managers. Their job does not usually depend on how the company website performs. They will often have more concern for how quickly and easily any new technology can be set up and deployed.

Non c'è dubbio che l'impostazione di un server Windows è di solito molto più semplice di un server Linux, anche se il divario si restringe continuamente. D'altra parte, si potrebbe sostenere che la creazione di un server è un lavoro per un esperto, quindi non dovrebbe importare quanto sia facile da fare.

The simplest way to understand the difference is that by default a Windows server has a lot of extra things running on it that don’t need to be running on a Linux server. That means Linux can dedicate more system resources to the task of actually serving the website, whereas Windows must set aside a portion of resources for its own internal consumption.

illustrazione per gentile concessione di

Questo è un fattore importante nel motivo per cui Linux è il sistema operativo di server web più popolare con un ampio margine, insieme al suo basso costo e buona sicurezza.

Considerando tutti i fattori rilevanti, sembrerebbe che l'esecuzione di Linux su un server IBM sia la scelta migliore. Otterrete i benefici dell'efficienza dalla migliore architettura software e hardware e costerà meno del pagamento delle licenze di Windows.

Linux è anche "a prova di futuro", il che significa che può sempre essere aggiornato per adattarsi ai cambiamenti nella tecnologia senza costi aggiuntivi. D'altra parte, si può fare affidamento su Windows per supportare la più ampia gamma di hardware (quando i produttori scrivono correttamente i driver), ma questo è praticamente irrilevante quando si tratta di server.

HD format

The file system used for storage on your server is also significant. If you’re running a Windows server, the choice is very easy, because you can only logically use NTFS. If you’re running a Linux server you have a choice of Ext4, XFS, and NTFS (along with a slew of others, but they aren’t important).

Ext4 is hands down better than NTFS because it is highly efficient and doesn’t suffer from file fragmentation (which is why you don’t have to defrag it). XFS has good speed gains for very large media files, but is not efficient for storing large numbers of small files. Both Ext4 and XFS have better built in file security than NTFS. XFS has comparatively poor recovery if it becomes corrupted.

Based on this, we’d suggest that Ext4 on Linux on IBM would be the configuration that will suit most webmasters the best, and lo-and-behold, that is exactly what the most popular configuration is.

Software server

Le opzioni principali per il software server sono Apache e Microsoft IIS. Quest'ultimo funzionerà solo su un server Windows, il quale verrà eseguito praticamente su qualsiasi cosa. Ci sono altre scelte disponibili, ma probabilmente non saranno la scelta migliore finché non acquisiranno più quote di mercato.

Apache è di gran lunga il sistema di server più popolare. Può fare tutto ciò che serve, non costa nulla ed è molto facile da capire. IIS è simile ma ci sono alcuni rapporti che indicano che potrebbe essere leggermente migliore.

Sulla base di questo, non vi è un chiaro vincitore, ma IIS potrebbe avere un leggero vantaggio sulle prestazioni. Questo vantaggio è compensato dal fatto che limita l'utente a uno specifico sistema operativo e, in via indiretta, costerà di più a causa delle commissioni di licenza richieste per quel sistema operativo.

Linguaggio di programmazione e scelte di database

Ci sono diverse migliaia di linguaggi di programmazione tra cui scegliere, il che è sorprendente. Esistono oggi più linguaggi di programmazione per computer che lingue parlate, secondo alcune fonti. Quindi come fai a sapere quali scegliere?

Well the simplest answer to that is the programming languages your developers are most familiar with, because that will get you the fastest results in terms of development time. In the unlikely scenario that you’re planning to fire your whole development team and start from scratch, there’s another way to choose the best languages.

Quel metodo è di guardare ciò che i migliori siti web stanno usando e copiare il loro metodo. Se quei siti, con i milioni di transazioni che elaborano ogni giorno, possono far fronte usando le lingue che fanno, il tuo sito sicuramente farà fronte anche a qualunque carico venga posto su di esso.

Ecco una lista dei migliori siti web secondo Alexa, e i linguaggi di programmazione che autorappresentano come usando:

  1. Google: C, C ++, Java, PHP, MySQL
  2. Facebook: C ++, PHP, MySQL
  3. YouTube: C, Java, MySQL
  4. Yahoo: C, C ++, Java, PHP, MySQL
  5. MSN: ASP.net, SQL Server
  6. Microsoft Live: ASP.net, SQL Server
  7. Wikipedia: PHP, MySQL
  8. Amazon: C ++, Java, J2EE
  9. WordPress: PHP, MySQL

A parte i siti MSN e Microsoft Live di proprietà di Microsoft, nessuno degli altri siti tra i siti principali utilizza ASP.net o SQL Server. Ciò potrebbe riflettere che queste entità non ritengono che le tecnologie siano le migliori per soddisfare le loro esigenze.

Sulla base dei risultati fino ad ora, sembrerebbe che le migliori scelte per 2018 sarebbero Ext4 su Linux su IBM con Apache, usando C, C ++, Java, PHP e MySQL.

illustrazione per gentile concessione di

Filosofia di sviluppo

Avendo determinato la configurazione hardware e software che più probabilmente darà i migliori risultati, sarai sulla buona strada per migliorare l'efficienza del tuo sito web. Un sito Web più efficiente significa tempi di caricamento più rapidi e tempi di caricamento rapidi rendono felice Google.

Now it’s time to make sure your website isn’t committing any of the cardinal sins that back end developers are often in the habit of building into a site. These are practices that once may have had some value, but now have been rendered virtually obsolete by changes in browser technology and user habits.

Questi problemi hanno il potenziale di rallentare il tuo sito web al di là di qualsiasi vantaggio che possono offrire, possono danneggiare la tua reputazione e possono abbassare i livelli di fiducia per i consumatori che visitano il tuo sito.

In nessun ordine particolare, ecco i più comuni sviluppatori di extra inutili inclusi in siti che sono stati resi virtualmente inutili da includere:

  1. Script di sicurezza inutili. If you’re doing things like trying to block right-clicking or other similar gimmicks, all you are doing is inconveniencing legitimate users while doing nothing at all to block malicious users or prevent people doing the actions you’re trying to prevent.
  2. Monitoraggio. It no longer works reliably. There are too many technologies users have that provide automatically faked tracking data, so the data is unreliable. You can’t make sound business decisions based on unreliable data.
  3. Avversione al plug-in. The logic here is reasonable enough. Sites that rely on advertising revenue want to protect their content from ad-free access. The problem is that again, it no longer can be counted on to work. So your efforts to block these users by detecting their plug-in status is not the right solution. It is too easy to circumvent. The right solution is to deliver ethical advertising that the plug-ins won’t block.
  4. Selezione della lingua basata sulla regione. Devi lasciare che l'utente selezioni la lingua, o almeno fornisca un modo per superare le selezioni fatte automaticamente se il tuo sito è disponibile in più di una lingua.

Conclusioni

Alcuni dei problemi descritti sopra possono avere un effetto importante sulle prestazioni e sul posizionamento del tuo sito, mentre altri sono meno gravi ma continuano a destare preoccupazione perché causano fastidi inutili agli utenti.

Fissare il back-end del tuo sito è principalmente una questione di fare scelte di selezione del server appropriate per il sito.

L'hardware dovrebbe essere il meglio che ti puoi permettere, perché ci si può aspettare che fornisca prestazioni migliori.

Il sistema operativo e il software del server Web devono essere adeguati alle proprie esigenze.

La scelta dei linguaggi di programmazione e delle soluzioni di database dovrebbe essere idealmente illimitata, scelta in conferenza con i tuoi sviluppatori, o dovrebbe essere selezionata tra le migliori e più popolari soluzioni scelte dai principali fornitori di siti web.

Dovresti evitare pratiche di sviluppo che potrebbero danneggiare la relazione tra la tua organizzazione e gli utenti del sito che visitano il tuo sito web.

Seguendo questi semplici passaggi, dai al tuo sito le migliori possibilità di prosperare.

immagine di cortesia per gentile concessione di

Bogdan Rancea

Bogdan è membro fondatore di Inspired Mag, avendo accumulato quasi 6 anni di esperienza in questo periodo. Nel tempo libero ama studiare musica classica ed esplorare le arti visive. È piuttosto ossessionato dai fissaggi. Possiede già 5.

Commenti Risposte 0

Lascia un Commento

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati con *

Valutazione *

Questo sito utilizza Akismet per ridurre lo spam. Scopri come vengono elaborati i dati dei tuoi commenti.