246: Season Opener Rapidfire 82

01:04:43   Download

We’re talking 2016 and 2017 along with some questions from you: should you use a Javascript library that hasn’t been updated in awhile? Streamlining WordPress development for a team? What’s up with text-stroke? And how to handle traffic if you’re running a music festival website in Finland – or anywhere else in the world?

Comment Bag

  • No comments were pulled out of the bag this episode.

Q & A

  • 12:12 What in your minds seems the most awesomely efficient and streamlined WordPress dev process for small teams like us?
  • 31:57 I’m calling in to ask about a framework called Express.js. I noticed that they hadn’t been updated in a while, like 4-5 years. The codebase is also relatively stale. Is it a good thing that there haven’t been updates in a while? This means stability, but in the JavaScript world, it very rare.
  • 46:45 I was surprised to find that the text-stroke css property is still non-standard. Why has text-stroke not made it into a standard track despite being introduced a decade ago!?
  • 56:40 I’m building a website for an event that has around 500 k visitors every year. Every year the site crashes on the first event day, because servers can’t handle 100k visitors a day. Now I’m rebuilding this site on WordPress. Do you have any tips how to handle this kind of traffic?

Links

ShopTalk Show Law Declarations

  • There were no laws declared during this episode.

Sponsor:

Rollbar 44:52

One of the frustrating things about being a developer, is dealing with errors. 😥

  • Relying on users to report errors
  • Digging thru log files trying to debug issues
  • Or a million alerts flooding your inbox ruining your day

Rollbar’s full-stack error monitoring, gives you the context, insights and control you need to find and fix bugs faster. Rollbar works with all major languages & frameworks. It’s easy to install. Start tracking errors in 8 mins.

❤ by engineers at Heroku, Twilio, Kayak, Zendesk, Twitch & more.

Go to rollbar.com/shoptalkshow and get the Bootstrap Plan free for 90 days.

Job Mention

  • I just so happened to have done a deep dive into Vagrant, Docker and WordPress and wrote a blog article about it:
    http://www.space-rocket.com/cloud-native-wordpress-local-development-setup/

    TLDR: Use Docker Mac/Windows client instead. Here is a docker-compose.yml, once you have the Docker client installed, it works like a charm (it takes a couple seconds to boot at first):

    version: ‘2’

    services:
    db:
    container_name: mariadb
    image: mariadb:latest
    volumes:
    – ./env/mariadb/data:/var/lib/mysql
    restart: always
    environment:
    MYSQL_ROOT_PASSWORD: wordpress
    MYSQL_DATABASE: wordpress
    MYSQL_USER: wordpress
    MYSQL_PASSWORD: wordpress

    wordpress:
    container_name: wordpress
    depends_on:
    – db
    image: wordpress:latest
    ports:
    – “8080:80”
    restart: always
    environment:
    WORDPRESS_DB_HOST: db:3306
    WORDPRESS_DB_USER: wordpress
    WORDPRESS_DB_PASSWORD: wordpress
    volumes:
    – ./wordpress:/var/www/html
    volumes:
    db_data:

    Then run:
    docker-compose up -d

    You can see the status of the build by typing:
    docker logs wordpress
    (it will not connect to the db till Docker is done installing Mariadb)

    I recommend just using the Docker Mac/WIndows client. Vagrant has some serious issues with NFS mounting local volumes to Docker containers. Its not really a problem with LAMP stack, but becomes hell when dealing with Node.js.

  • Paweł

    About express.js. It’s a routing/content library for node.js applications. What does that mean? You can define what should happen when communication to your server is done. It’s really easy to create REST api, static content servers, web handlers, web sockets, etc.
    From experience I would say that it’s solid. You can use it in new or old projects and it works.

  • red

    Wow why must everyone must be so FUCKING PC!

    What was Chris saying “Gendered version of racism” WTF of a brain melt was this?

    I mean call me racist now but what is this fucking forced quotas BULLSHIT! So go on start with 50% blacks, go on get 50% blacks on the show just to feel good about yourself, then you can tap yourself in a shoulder for being PC on “diversity”

    Really idiotic you get people on that you want to get on for what you want to talk about, because they fit the topics, are most experienced or whatever. You do not think about race, you not force it and just get lots of black people, women … in just for the sake of a stupid quota.

    Same goes for companies, the laws and PC brainwashing is so far out now that there are companies who hire women for jobs where better educated, more experienced … men are applying but they take women in just to meed quotas! This is what they got now with their stupid 3rd wave feminism. Its not about equality, its long past that. They have their privileged treatment now and they are caching in on it. But let me guess you think its great. Now you ended up with unfair treatment, thankfully more and more people get it.