12 KiB
Table of Contents
- Learning web development
Learning web development
Goal of this training
This training provides an opinionated ramp-up program for web developers.
Prerequisites: not much, just general knowledge about computers and the Internet.
Principles
- Focus on the main stuff. A lot of things are learnt on the job anyway.
- Programming is not only about raw technical knowledge, it's also about best practices.
- Go wide and go deep.
- We learn by doing, so this training includes lots of exercises.
- A lot of videos are included, since they provide hands-on experiences. You can find a LOT more videos here: hellerve/programming-talks and talks that changed the way I think about programming
Note: this is just a short selection of stuff listed in charlax/professional-programming.
Meta: learning about learning
Feel free to checkout some of the articles about Learning and memorizing
- Create a learning plan with your learning priorities
- Consider using flashcards (see Anki for instance)
- Enjoy the learning experience!
Roadmap
- Start with a programming language.
- Do a first pass at the web development environment (see introductory resources below)
- HTTP and web architecture basics
- Git
- Docker
- Command line
- Text editor
- Write a full-fledged exercise, get it reviewed.
- Do the advanced topics
Approach
Pick a powerful text editor and learn its ins and outs
VSCode is a strong pick nowadays (I use and obviously prefer Vim :).
Make sure to spend a lot of time in your text editor, watch tutorials about advanced features, install extensions, learn all the main keyboard shortcuts, subscribe to mailing lists about it, etc.
You will spend most of your time within your text editor. Turn it into a powerful ally!
Learn the ins and outs of one programming language
A developer's main tool being the programming language, it is important to achieve high proficiency in at least one of them.
I'd recommend starting with Python or TypeScript. For Python, you can have a look at my repo charlax/python-education.
To ensure you have good command of the language, you should try out some of those exercises:
- Exercism (get free code reviews!)
- Small Python exercises from charlax/python-education
- danistefanovic/build-your-own-x (for instance: build a git in Python)
- Other list of exercises
Watch some videos related to your language:
Learn how to handle:
- Regexes
- Do exercises, for instance RegexOne or HackerRank.
- Functional programming
- Design patterns
- E.g. in Python
- faif/python-patterns
- Tests
- Crazy things in languages
- 🎞 Wat
If you have time, learn more programming languages, starting with some that are very different from your main one:
- Haskell
- Clojure
- Kotlin
- Rust
- Assembly
Topic-specific materials
Best practices, attitude
Read one of those:
- 📖 The Pragmatic Programmer: From Journeyman to Master: hands-on the most inspiring and useful book I've read about programming.
- 📖 Code Complete: A Practical Handbook of Software Construction: a nice addition to The Pragmatic Programmer, gives you the necessary framework to talk about code.
- Ten Principles for Growth as an Engineer, Dan Heller
Read the resources listed under Must-read articles.
Code architecture and design patterns
Introduction:
- Learn about OOP basics: inheritance, abstract/concrete, public/private
- Learn about DDD (domain driven design), SOLID, MVC, Clean Architecture
- An introduction to software design patterns. All those patterns are not useful in all languages, but they're applied in most software, so it's important to know about them.
- Builder
- Factory
- Singleton
- Adapter
- Facade
- Chain of Responsibility
- Command
- Observer
- State
- Strategy
- Visitor
- 🎞 Design Patterns in Plain English
Advanced:
- Wander in the Software Architecture Guide
- 🎞 On the Spectrum of Abstraction
- 🎞 Simple Made Easy
- 🎞 Zebras All the Way Down, Bryan Cantrill
DB and SQL
Introduction:
- Learn basic and advanced SQL: joins, indexes, subqueries.
- Install Postgres and play with it.
- Do those postgres exercises
Advanced:
- Learn about ORM
- 🎞 Watch this Python introduction to ORMs (with SQLAlchemy)
Dev environment, command line and Linux
Introduction:
- jlevy/the-art-of-command-line: master the command line, in one page
- Linux Productivity Tools
- Do shell exercises, for instance on Exercism, TLDP, HackerRank.
- Learn about Docker, follow the Official Docker Tutorial
Advanced:
- Install/use some of those tools: https://github.com/jondot/awesome-devenv
- Write your own dotfiles, taking inspiration from Awesome Dotfiles (you can checkout mines: https://github.com/charlax/dotfiles)
- 🎞 8 super heroic Linux commands that you probably aren't using
- 🎞 Containers From Scratch
Distributed systems and system architecture
Introduction:
- donnemartin/system-design-primer: learn how to design large-scale systems.
Advanced:
- Consider reading 📖 Designing Data-Intensive Applications.
- The Log: What every software engineer should know about real-time data's unifying abstraction
- 🎞 Mastering Chaos - A Netflix Guide to Microservices (by Netflix)
Concepts to look into:
- CAP theorem
- Weak/strong/eventual consistency
- Fail-over/replication
- Load balancer: active-active, active-passive
- Horizontal vs vertical scaling
- Reverse proxy, load balancer
- DB: RDBMS vs. NoSQL, replication, sharding, master-master, denormalization
- Cache: client caching in browsers, CDN, HTTP headers, object cache, db cache
- Asynchronism: message queues, back pressure
- Monitoring and alerting best practices
Network, protocols, HTTP
Introduction:
- How Does the Internet Work?
- vasanthk/how-web-works: what happens behind the scenes when we type www.google.com in a browser?
Advanced:
- Learn about the basics of TCP and UDP
- Learn the basics of the HTTP protocol: header, verb, status code, TLS, Rest APIs, etc.
- 🎞 Qu'est ce que le HTTP ?, Grafikart
- Learn about important web-related protocols: DNS, SMTP, SSH
Project management
Introduction:
Advanced:
- TechnicalDebt
- Checkout this section on charlax/engineering-management
Security
Introduction:
- Learn about the OWASP Top 10
Advanced:
- Consider reading 📖 Penetration Testing.
Version control (git)
Introduction:
- Resources to learn Git
- 🎞 Learn Git In 15 Minutes - YouTube
- 🎞 Introduction to Git with Scott Chacon of GitHub
Topics specific to Gens de Confiance
- Learn PHP
- 🎞 Formation Symfony 4 par l'exemple, Grafikart
- Learn Symfony (we recommend the docs + short videos)
- Read the docs
- Read the book
- 🎞 SymfonyCasts (some videos are behind paywal, but the text is always below)
- 🎞 Deep dive into Symfony 4 internals
- 🎞 SymfonyTv