DiscoverDev Root IT. Programming. Backend Python/Django Dev
Dev Root IT. Programming. Backend Python/Django Dev

Dev Root IT. Programming. Backend Python/Django Dev

Author: Nobody

Subscribed: 28Played: 217
Share

Description

LinkedIn - https://www.linkedin.com/in/alex-cher/
43 Episodes
Reverse
Live development on Twitch (streaming) - vk.cc/awe0iULinkedIn - https://www.linkedin.com/in/alex-cher/
LinkedIn - https://www.linkedin.com/in/alex-cher/
LinkedIn - https://www.linkedin.com/in/alex-cher/Model inheritance in Django works almost identically to the way normal class inheritance works in Python, but the basics at the beginning of the page should still be followed. That means the base class should subclass django.db.models.Model.The only decision you have to make is whether you want the parent models to be models in their own right (with their own database tables), or if the parents are just holders of common information that will only be visible through the child models.There are three styles of inheritance that are possible in Django.Often, you will just want to use the parent class to hold information that you don’t want to have to type out for each child model. This class isn’t going to ever be used in isolation, so Abstract base classes are what you’re after.If you’re subclassing an existing model (perhaps something from another application entirely) and want each model to have its own database table, Multi-table inheritance is the way to go.Finally, if you only want to modify the Python-level behavior of a model, without changing the models fields in any way, you can use Proxy models.Apple Podcasts - https://link.chtbl.com/Apple_PodcastsSpotify - https://link.chtbl.com/8_-EyCh1Google Podcasts - https://link.chtbl.com/kQr7HKmaCastbox - https://link.chtbl.com/rVlRcBZNhttps://docs.djangoproject.com/en/3.0/topics/db/models/#model-inheritance
Is Django a good choice for SAAS solution (users subdomains handling, scalability, multidatabase, speed)?Live development on Twitch (streaming) - vk.cc/awe0iULinkedIn - https://www.linkedin.com/in/alex-cher/https://www.quora.com/Is-Django-a-good-choice-for-SAAS-solution-users-subdomains-handling-scalability-multidatabase-speed
In this episode we will consider some of funny comments.Apple Podcasts - https://link.chtbl.com/Apple_PodcastsSpotify - https://link.chtbl.com/8_-EyCh1Google Podcasts - https://link.chtbl.com/kQr7HKmaCastbox - https://link.chtbl.com/rVlRcBZNStreamhttps://www.twitch.tv/devrootithttps://mixer.com/devrootit
Django FAQ

Django FAQ

2020-05-1404:15

https://code.djangoproject.com/wiki/NoSqlSupporthttps://docs.djangoproject.com/en/3.0/faq/ Live development on Twitch (streaming) - vk.cc/awe0iULinkedIn - https://www.linkedin.com/in/alex-cher/Apple Podcasts - https://link.chtbl.com/Apple_PodcastsSpotify - https://link.chtbl.com/8_-EyCh1Google Podcasts - https://link.chtbl.com/kQr7HKmaCastbox - https://link.chtbl.com/rVlRcBZN
Live development on Twitch (streaming) - vk.cc/awe0iULinkedIn - https://www.linkedin.com/in/alex-cher/1) I automated the Right Swipe on Tinder.It’s actually far simpler than you think.One fine lonely day, when I opened up the app, it proudly proclaimed to have launched a website too, quite similar to WhatsApp web. Yeah, that would indeed be more convenient.So having nothing better to do, I closed down the app and opened up the webpage to spend some more time looking at selfies of girls that I’m quite sure haven’t opened the app for at least one month...Apple Podcasts - https://link.chtbl.com/Apple_PodcastsSpotify - https://link.chtbl.com/8_-EyCh1Google Podcasts - https://link.chtbl.com/kQr7HKmaCastbox - https://link.chtbl.com/rVlRcBZNhttps://www.quora.com/What-are-the-best-Python-scripts-youve-ever-written
Live development on Twitch (streaming) - vk.cc/awe0iULinkedIn - https://www.linkedin.com/in/alex-cher/Often in development, there’s a lot of trial, error, and correction that goes into creating something that actually works the way it’s supposed to. That’s where version control comes in.Version control is like a savings program for your project. By tracking and logging the changes you make to your file or file sets over time, a version-control system gives you the power to review or even restore earlier versions. Version control takes snapshots of every revision to your project. You can then access these versions to compare or restore them as needed.https://blog.devmountain.com/git-vs-github-whats-the-difference/https://towardsdatascience.com/getting-started-with-git-and-github-6fcd0f2d4ac6
Django is full of shortcuts to make Web developers’ lives easier, but all those tools are of no use if you can’t easily deploy your sites. Since Django’s inception, ease of deployment has been a major goal.There are many options for deploying your Django application, based on your architecture or your particular business needs, but that discussion is outside the scope of what Django can give you as guidance.Django, being a web framework, needs a web server in order to operate. And since most web servers don’t natively speak Python, we need an interface to make that communication happen.https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/
Live development on Twitch (streaming) - vk.cc/awe0iULinkedIn - https://www.linkedin.com/in/alex-cher/In this episode we are going to consider the following interview questions:What is Django ORM?What is a Model in Django and what is the Model class?How does Django Templating Work?What are View functions? Can we directly import a function in URL?What is Jinja Templating?Apple Podcasts - https://link.chtbl.com/Apple_PodcastsSpotify - https://link.chtbl.com/8_-EyCh1Google Podcasts - https://link.chtbl.com/kQr7HKmaCastbox - https://link.chtbl.com/rVlRcBZNhttps://data-flair.training/blogs/django-interview-questions/https://jinja.palletsprojects.com/en/2.11.x/templates/
Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: requirements are turned into very specific test cases, then the code is improved so that the tests pass. This is opposed to software development that allows code to be added that is not proven to meet requirements.Apple Podcasts - https://link.chtbl.com/Apple_PodcastsSpotify - https://link.chtbl.com/8_-EyCh1Google Podcasts - https://link.chtbl.com/kQr7HKmaCastbox - https://link.chtbl.com/rVlRcBZNhttps://code.tutsplus.com/tutorials/beginning-test-driven-development-in-python--net-30137https://rubikscode.net/2019/03/04/test-driven-development-tdd-with-python/
Written as a series of self-contained sections and filled with entertaining anecdotes, thoughtful examples, and interesting analogies, The Pragmatic Programmer illustrates the best practices and major pitfalls of many different aspects of software development.Whether you're a new coder, an experienced programmer, or a manager responsible for software projects, use these lessons daily, and you'll quickly see improvements in personal productivity, accuracy, and job satisfaction. You'll learn skills and develop habits and attitudes that form the foundation for long-term success in your career. You'll become a Pragmatic Programmer.Apple Podcasts - https://link.chtbl.com/Apple_PodcastsSpotify - https://link.chtbl.com/8_-EyCh1Google Podcasts - https://link.chtbl.com/kQr7HKmaCastbox - https://link.chtbl.com/rVlRcBZNhttps://www.freecodecamp.org/news/thought-on-the-pragmatic-programmer/https://supergloo.com/summary-series/the-pragmatic-programmer-summary-chapter-1-pragmatic-philosophy/https://www.javacodegeeks.com/2011/12/pragmatic-programmer-review-summary.htmlhttps://github.com/HugoMatilla/The-Pragmatic-Programmer
This episode explains some of the fundamental philosophies Django’s developers have used in creating the framework.Apple Podcasts - https://link.chtbl.com/Apple_PodcastsSpotify - https://link.chtbl.com/8_-EyCh1Google Podcasts - https://link.chtbl.com/kQr7HKmaCastbox - https://link.chtbl.com/rVlRcBZN
Django Security Tips

Django Security Tips

2020-04-1604:58

Tip 1. Carefully handle user uploads If your web application allows users to upload files, you are opening yourself to an attack vector and the upload logic should, therefore, be handled carefully. It is important to validate all uploaded files to be sure they are what you expect (for instance, an image file and not a PHP script!) If your site accepts file uploads, it is strongly advised that you limit these uploads in your Web server configuration to a reasonable size in order to prevent denial of service (DOS) attacks.The other tips only in the audio version.Apple Podcasts - https://link.chtbl.com/Apple_PodcastsSpotify - https://link.chtbl.com/8_-EyCh1Google Podcasts - https://link.chtbl.com/kQr7HKmaCastbox - https://link.chtbl.com/rVlRcBZNRecommendation: https://www.freecodecamp.org/news/complete-back-end-system-with-serverless/ Sources: https://docs.djangoproject.com/en/3.0/topics/security/https://owasp.org/www-project-top-ten/OWASP_Top_Ten_2017/https://snyk.io/blog/django-security-tips/
Differences between SQL and NoSQL Database Apple Podcasts - https://link.chtbl.com/Apple_Podcasts Spotify - https://link.chtbl.com/8_-EyCh1 Google Podcasts - https://link.chtbl.com/kQr7HKma Castbox - https://link.chtbl.com/rVlRcBZN https://www.quora.com/What-are-the-differences-between-the-SQL-and-NoSQL-databases https://www.upwork.com/hiring/data/sql-vs-nosql-databases-whats-the-difference/
What I Learned from Reading "The Pragmatic Programmer" - https://www.freecodecamp.org/news/thought-on-the-pragmatic-programmer/ QuerySets of various models - https://schinckel.net/2020/03/09/querysets-of-various-models/ What is REST API? Django REST Framework [DRF] Apple Podcasts - https://lnkd.in/gEEHv_K Spotify -https://lnkd.in/gyHbCPZ Google Podcasts - https://lnkd.in/giT4XJM Castbox - https://lnkd.in/gydayhW Source: https://data-flair.training/blogs/django-interview-questions/ https://www.edureka.co/blog/interview-questions/django-interview-questions/ Apple Podcasts - https://link.chtbl.com/Apple_Podcasts Spotify - https://link.chtbl.com/8_-EyCh1 Google Podcasts - https://link.chtbl.com/kQr7HKma Castbox - https://link.chtbl.com/rVlRcBZN
One of Django's main benefits is the built-in models and object-relational mapper (ORM). It provides a quick to use, common interface for data operations for your models and can handle most queries pretty easily. It can also do some tricky SQL once you understand the syntax. Django’s database layer provides various ways to help developers get the most out of their databases. Apple Podcasts - https://link.chtbl.com/Apple_Podcasts Spotify - https://link.chtbl.com/8_-EyCh1 Google Podcasts - https://link.chtbl.com/kQr7HKma Castbox - https://link.chtbl.com/rVlRcBZN https://docs.djangoproject.com/en/3.0/ref/models/querysets/#django.db.models.query.QuerySet.prefetch_related https://concisecoder.io/2018/11/04/django-orm-optimization-tips/ https://medium.com/@hansonkd/performance-problems-in-the-django-orm-1f62b3d04785
If you are in the freelancing business, you will understand that it can sometimes be tricky. In your first chat with a non-technical potential client, there are a number of questions you should ask to see whether you'll be able to have a successful working relationship and outcome. By asking the following questions, you are making sure that you have gained the most useful information needed. Apple Podcasts - https://link.chtbl.com/Apple_Podcasts Spotify - https://link.chtbl.com/8_-EyCh1 Google Podcasts - https://link.chtbl.com/kQr7HKma Castbox - https://link.chtbl.com/rVlRcBZN
Right now people have more time to spend at home. Thus I decided to recommend you some great series and movies. Most of them are documentary but it doesn’t mean they are boring. Keep your mind in the process of learning something. You will not regret it. 1. Abstract: The Art of Design. IMDb 8.4/10 2. Our Planet. 9.3/10 3. Night on Earth (2020). 8.3/10 4. Inside Bill's Brain: Decoding Bill Gates 8.1/10 5. The Last Czars. 7.3/10 6. Life Overtakes Me. 6.4/10 7. The Most Unknown 6.6/10 8. Into the Universe with Stephen Hawking. 8.6/10 9. Vsauce. Youtube channels Apple Podcasts - https://link.chtbl.com/Apple_Podcasts Spotify - https://link.chtbl.com/8_-EyCh1 Google Podcasts - https://link.chtbl.com/kQr7HKma Castbox - https://link.chtbl.com/rVlRcBZN
What is Docker? How Does it Work and what’s the purpose? A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another. A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings. Apple Podcasts - https://link.chtbl.com/Apple_Podcasts Spotify - https://link.chtbl.com/8_-EyCh1 Google Podcasts - https://link.chtbl.com/kQr7HKma Castbox - https://link.chtbl.com/rVlRcBZN https://www.docker.com/
loading
Comments 
Download from Google Play
Download from App Store