Author: Andres
Publisher: Andres Cruz
ISBN:
Category: Computers
Page: 229
View: 607
Django is a framework with many options, it allows us to create applications with the language of the moment Python, a modular programming language, with an impeccable syntax that we can also use in a web environment. It offers us a modular scheme between projects and applications, an important set of packages to extend the already complete framework and with this, the creation of scalable projects. It is a framework that, by using Python, brings us its benefits of a clean, clear, precise syntax, a modular and scalable environment through packages. This book is for anyone who wants to start developing with Django; you may come from another framework or even PHP; in both cases, it is a great idea to learn from one of the most advanced and complete web frameworks you can find. For those who want to know the framework and who know other web frameworks, but do not have the necessary knowledge to venture into these. For people who want to improve a skill in web development, who want to grow as a developer and who want to keep climbing their way with other frameworks similar to this one. For those who want to learn or improve a skill and with this, increase their chances of employment or to carry out a personal project. Book chapters Chapter 1: In this chapter we are going to present the necessary software to create projects in Django, what happens from Python, to preparing the environment. Chapter 2: In this chapter we are going to install Python, create a project and applications and get to know the folder structure of the framework. Chapter 3: In this chapter, we are going to create a simple CRUD application and learn about all the elements of the framework that this implies, such as handling forms, templates, views and models. Chapter 4: In this chapter, we're going to work with Django Admin to provide an interface for managing site content; that is, the typical CRUDs. Chapter 5: In this chapter, we are going to introduce the use of forms in Django, definition, validations, saving and structure in general. Chapter 6: In this chapter, we are going to present the different functionalities that templates have in Django. Chapter 7: In this chapter, we are going to introduce some functions that we can use with QuerySets when building queries. Chapter 8: In this chapter, we are going to build a Rest API with the Django Rest Framework. Chapter 9: In this chapter, we are going to consume the above Rest Api with an app in Vue 3 and NaiveUI; lists, forms will be created and integrated with Tailwind.css Chapter 10: In this chapter, we are going to learn about class-based views by performing the typical operations that are needed in modern web development. Chapter 11: In this chapter, we are going to learn how to work with files in Django; specifically reading and generating excel and CSV and generating PDFs. Chapter 12: In this chapter, we are going to show the code of an application created with Alpine.js to create a to do list component. Chapter 13: In this chapter, we are going to adapt the Alpine.js application introduced in the previous chapter, to work in conjunction with Django.