Eduardo Zepeda's latests posts
Why should you use Django Framework?
- django
- opinions
Why use Django in a world where everything is Javascript? Is it really worth learning a Python Framework in an ecosystem that insists on Frameworks written in Javascript? Well, I think so, and here are some of the reasons why you should use Django. And, in order not to lose objec...
Read more
Throttling on Nginx
- software architecture
- linux and devops
Ngnix throttling allows us to limit the number of requests to a certain user. This is useful to prevent excessive requests from a user from keeping the system busy. On the other hand, it is also a way to deter brute force password attempts or even DDOS attacks.
If you are loo...
Read more
How to make a switch in Python?
- python
Python 3.10 was announced and it comes with something that many developers were missing from other languages: the switch statement. Yes, that piece of code that evaluates an expression and compares it with multiple cases to decide what to execute. Python did not have it implement...
Read more
5 cool React libraries you should know about
- react
After several weeks posting about Django I wrote a short post about React, about libraries, because man does not live by Python alone. These are some of the libraries that I consider most useful in React. For obvious reasons are excluded React-router, Redux and others too well kn...
Read more
What is Django genericForeignkey for?
- django
You want to use Django to relate one model to another using a foreign key, but the model you want to relate is a different one for each database entry. Django offers a solution to your problem, a generic foreign key called genericForeignKey and the ContentType model, which I talk...
Read more
What does the ContentType application do in Django?
- django
Did you know that Django keeps track of each of the models you create for your project in a model called ContentType? Read on to learn about it.
Sorry for taking so long to write! I’ve been busy moving the frontend of my blog to Frontity, a React framework for Wordpress...
Read more
How to create a command in django?
- django
You have used Django before, haven’t you? So, you already used some Django command, it could have been makemigrations, migrate, startproject, startapp or some other. But have you ever created any? Maybe you haven’t. Read on to learn how.
How to create a command in...
Read more
Digital Ocean, analysis and my experience as a user
- software architecture
- opinions
Are you choosing a hosting service but don’t know which one to choose? Surely you have already had contact with Digital Ocean’s advertising but you want to hear a real opinion of what they have to offer. I’ve been using Digital Ocean for my personal projects for...
Read more
How to scale a Django app to serve one million users?
- software architecture
- django
Wish your Django app could handle a million hits? This post is a compilation of articles, books, and videos I’ve read on how to take a Django application to its maximum capabilities, I’ve even implemented some of these recommendations myself.
It’s also a goo...
Read more
Python vs Javascript which language is better in 2024?
- javascript
- python
Updated to 2024: If you’ve used only Python or only Javascript, you’re probably a little curious to know what the other one looks like. I’ve used both and I can tell you a bit about the differences and some things in common that both languages have, so you can f...
Read more