Topic de oklemec :

Le dev y a 10 ans vs maintenant

  • 1

Y a 10 ans:
Ok je prends JQuery, Bootstrap, FileZilla, un VPS, Sublime Text, VIM et c'est parti https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg

Aujourd'hui:
Ok je prends JQuery https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg

euh non c'est démodé ça, le JS classique remplace JQuery ça sert à rien https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png

ok je prends du JS classique alors https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg

euh non il te faut un framework genre React Vue Angular https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
ça te facilite la vie en plus https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png

euh ok je prends React c'est le plus populaire https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg

ok tu prends Next j'imagine avec ? https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png

euh pourquoi? https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg

bah c'est Next.js quoi, un surplus à React c'est hyper utilisé, Twitch TikTok et tous ils l'utilisent en plus le SSR, le CSR etc https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png

Ok je prends Next.js https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
...
.....
Bon j'ai codé mon front end je vais faire le backend en Java https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
Java tu rigoles? Utilise Node.js https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
Ok si tu le dis https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
..
....
front/
back-end/

bon j'ai fait un test pour voir comment ça fonctionne c'est stylé en fait. https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg

oula qu'est-ce que tu n'as pas fait la? tu n'as plus besoin de back-end fréro avec le serverless, faut utiliser Vercel qui a créé Next ça s'intégre bien https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
Quoi tu veux me dire que je peux plus juste glisser sur filezilla mon .html après le build? https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
Sisi mais personne fait ça https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png

Ah ok je prends Vercel alors https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
..
....
Bon j'ai pas envie d'utiliser ton truc de serverless la https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
Pas de soucis, Next.js est un framework back-end https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
???? mais le front c'est le front c'est pour ça j'ai séparé https://image.noelshack.com/fichiers/2017/14/1491497159-fdp.png
non mec tu crées un folder /api tu fous tout dedans ça te fait ton Node.js sans spin-up ton VPS et hop c'est parti https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
par contre ça te rend dépendant à vie de vercel, si un jour ils rendent ça payant t'es baisé https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
quoi? mais pourquoi je ferais ça, ça veut dire que je suis vendor lock chez eux https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
bon bas les couille je lance mon back en Node.js que je fous sur mon VPS https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
hop hop hop https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png

quoi encore https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
..
...
bah ecoute plus personne deploy comme ça, il te faut un BAAS genre AWS avec un EC2, un S3, un load balancer https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png

m'enfou https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg

allez hop git clone https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
npm i https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
npm run start https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
hop j'edit le NGINX comme à l'époque https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg

voila voila c'est bon https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg

https://image.noelshack.com/fichiers/2017/15/1491781531-alerte.gif https://image.noelshack.com/fichiers/2017/15/1491781531-alerte.gif
ALERTE https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png

y a quoi https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
faut que t'utilise Docker pour dockerisé le tout dans des containers hein https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
pourquoi je ferais ça? c'est bon la non? https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
euh non avortin il se peut que tu veuilles redeploy ton appli quelque part d'autre, tu devras manuellement te retaper toutes les commandes + ta config NGINX tu l'as faite en prod c'est vraiment pas bon sur le long terme https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
ah https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
imagine tu veux redeploy tu fais comment?? https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
bah euh je fais git clone, npm i, npm run start, je c/c ma config nginx et voila quoi https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
non il te faut 4 containers https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
un pour l'api, un pour la db, un pour nginx, un pour le crontab de backup https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
j'ai que ça à foutre? je travaille dans la NSA moi? https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg
t'utilise TypeScript? https://image.noelshack.com/fichiers/2017/30/6/1501358551-gneugneu.png
quoi? https://image.noelshack.com/fichiers/2017/08/1487704373-quintero.jpg

https://image.noelshack.com/fichiers/2017/10/1488986247-risitas-suicidaire.png

Putain que je hais le développement Web. https://image.noelshack.com/fichiers/2020/33/4/1597311799-662ae4d5-6fe8-4fc3-8819-3e8f650fc8e7.png

Docker m'énerve aussi mais pour le coup je pense que je suis juste un boomer sur ce coup-là. https://image.noelshack.com/fichiers/2020/33/4/1597311799-2f67105b-1e45-4166-803f-201c34e98a3e.png

L'op bloqué à l'âge de pierre qui n'utilise pas terraform pour déployer ses cluster kubernates sur une infra cloud serverless :rire:

React ? Next ? C'est finito depuis au moins 2 semaines et 1 jour maintenant on go SolidStart pour déployer on the edge :)

Putain https://image.noelshack.com/fichiers/2017/16/1492948824-issou2.png

Et pendant ce temps t'as moi qui code en js et php en dur, jamais utilisé de framework https://image.noelshack.com/fichiers/2017/16/1492948824-issou2.png

Persoent ? Template + builder :)
  • 1

Données du topic

Auteur
oklemec
Date de création
12 juillet 2023 à 00:55:14
Nb. messages archivés
9
Nb. messages JVC
9
En ligne sur JvArchive 74