HTCW Podcast

Опубликовано: 10 Февраль 2025
на канале: How to code well
609
6

Changelog
Lots of JavaScript package upgrades have been made to the frontend of howtocodewell.net including TailwindCSS, PostCSS, Webpack and Node itself.
I’ve decided to use PostCSS over Less and I’m seeing much faster results when generating the CSS
The plan for next week is to look at composer package upgrades as well as progressing with the staging deployment
In my contracting space I have been doing a lot of PHP 5.6, 7.4 and Angular work

News/Articles
Being on call sucks by Bobbie Chen
https://bobbiechen.com/blog/2022/7/20...

Testing links in Cypress by Filip Hric
https://filiphric.com/testing-links-w...

Enabling typescript in Symfony Webpack encore
https://symfony.com/doc/current/front...

How to secure applications on Kubernetes (SSL TLS certificates) by AVM Consulting Blog
  / how-to-secure-applications-on-kubernetes-s...  

How to speed up Cypress automation tests by FeldsparTech
https://www.feldspartech.com/post/how...

How to speed up Cypress tests
In general
1. Discover how slow your tests are to start begin with
2. Don’t speed up your tests if you don’t need too
3. Work on the tests that take the longest. List all tests that take over x seconds/minutes and work on those
4. A small improvement can give you big gains in the long run
5. Only test what you need too and when you need too


Cypress
1. Group similar tests together into a single test
2. Separate tests that don’t need state, change of state or require a fixed state
3. Pay attention on the before and beforeEach hooks
4. Disable the video and screenshot creation on automatic builds
5. Enable video and screenshot creation on manual/nightly builds



/** How to code well programming courses */
Programming courses https://howtocodewell.net/courses
Linux Bash for beginners https://howtocodewell.net/course/linu...
PHP MySQLi https://howtocodewell.net/course/php-...
PHP CLI basics https://howtocodewell.net/course/php-...
PHP strings for beginners https://howtocodewell.net/course/php-...
Docker for beginners https://howtocodewell.net/course/html...
HTML for beginners https://howtocodewell.net/course/html...

/** How to code well podcast */
Archive https://howtocodewell.net/podcast
Spotify https://open.spotify.com/show/6zapPUK...

/** Support the show */
Patreon   / howtocodewell  
Buy me a coffee https://buymeacoffee.com/howtocodewell

/** Become a channel member */
Join    / @howtocodewell  
Member only videos    • Members-only videos  

/** Follow */
Twitter   / howtocodewell  
Instagram   / howtocodewell  
Facebook   / howtocodewell  
Contact form https://howtocodewell.net/contact

Disclaimer: Links included in this description might be affiliate links. If you purchase a product or service with links that I provide I may receive a small commission. There is no additional charge to you.

Thank you for supporting How to code well