Skip to content

Instantly share code, notes, and snippets.

@andrejIka
Last active July 1, 2021 07:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrejIka/6efb70d5b5a70cd7c0aaa4457fbc238e to your computer and use it in GitHub Desktop.
Save andrejIka/6efb70d5b5a70cd7c0aaa4457fbc238e to your computer and use it in GitHub Desktop.
Best wordpress project ever

Use

  • custom class for queue
  • custom written wp-object class for caching, use redis
  • OOP - currently not everything is oop, twig not able to oop
  • mariadb
  • purge redis cache on post save - Put this on cron
  • PSR-4 autoload classes
  • timber everywhere
  • maximum symfony packages
  • npm jquery - import jquery from npm
  • typescript?
  • digitalocean+nginx+varnish+redis
  • tune php//nginx/mysql for maximum performance
  • apache load benchmark
  • change admin logo/wp footer
  • admin recaptcha/hidelogin/2 factor auth
  • custom own developer plugin
  • document the code with the diagrams
  • db export/import from certain file
  • save to image like post id/name
  • ajax search autocomplete - IPM
  • wp background processing queue
  • backbone media api
  • rest api instead of ajax
  • corporate email delivery to me or sender without spam folder
  • php multithreading
  • async php
  • everything dynamic in transients
  • woocommerce with all customized hooks for practice
  • ui tests
  • sendgrid mass sending
  • all as php requirements ?
  • webpack not laravel mix but own config, fully custom
  • js es6 with include, take best practices from roots
  • .gitignore all unusual for repo wp-includes, uploads, wp-admin - All projects?
  • plugins as classes
  • rsync task from copy from remote uploads images to local
  • huge plugins are paid
  • path to images like wp-content/image/ with redirects to custom folder. Not all images in one folder
  • docker-compose.yml image there
  • dockerize the app
  • phpunit tests
  • stress test for load
  • hacking the wp core
  • all scripts are lazy-loaded, in some places microservices on python/nodejs with queue
  • bg jobs like gearman, rabbitmq or cavalcade
  • extended cron
  • Tune nginx for performance and ddos protection
  • stress test for load performance
  • security pentest
  • owasp top 10 testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment