Learning to program is the beginning of your journey to building your own apps . If your goal is to eventually build a complete website, you'll save lots of time by understanding the world of website frameworks.
Let's think of building a website like opening a grocery store. To open a grocery store, some of the first things you'll do are:
For programmers, using a website framework is like setting up an empty grocery store. With just a few commands, you can easily construct the key infrastructure pieces of the website - just like empty shelves waiting to be filled in.
Continuing with our grocery store example, some of the activities you'll do next are:
For programmers, these activities are equivalent to coding website features (in fact, an e-commerce website uses the same activities as above!). This is where programming languages come into play, and each website framework is based on a different language. The Django framework uses the Python language, the Ruby on Rails framework uses the Ruby language, the ASP.NET framework uses the C# language... and there are many, many more.
Once you have your grocery store working, you'll want to make it inviting for your customers, since no one likes to shop in an ugly environment. For example, you'll be:
To make websites look inviting and usable, you'll be using the HTML, CSS, and JavaScript languages. These fit nicely into the website frameworks, alongside your core programming language above (e.g. Python or Ruby).
Congratulations! You now have a complete grocery store website!
Once you have a basic grasp of programming languages, website frameworks will help you create websites much faster than if you were to write everything from scratch. Here are our favorite courses for getting started!
Do you have other website frameworks you like to use? Let us know in the comments!