Using Database models in Python and Django

After creating your Django web application, you can start using Database models in Python and Django. There are the main steps to get your models and application working with a Database.

  1. Create new models for data processing
  2. Adding your models to the admin interface
  3. Playing with your models to create, edit, filter and delete information
  4. Upgrading your models with new attributes and methods
  5. Integrating data in your application.

In this guide, we continue from the previous post Web Applications using Python and Django.

Continue reading “Using Database models in Python and Django”

Web Applications using Python and Django

In this post we will Create Web Applications using Python and Django.

When it comes to web development back-ends, there are many alternatives, from PHP, Java and C# to GoLang and RubyPython also has many options to implement a powerful web application service. One of the most used web frameworks is Django.

Django provides a full featured web development framework, and automated tools for a straightforward development. In this post we create a full featured basic web applications using Python and Django, with the most common features for any web application:

  • Install Python and Django
  • Create the base Django Web application project
  • Create an application inside the Django project.
  • Create the main database and tables for administration
  • Run the web application locally

Then, in the next posts we will cover additional topics:

  • Create new models for data processing
  • Adding your models to the admin interface
  • Front-end web development with templates
  • Publish and deploy your application in Heroku

Continue reading “Web Applications using Python and Django”

How to change the Laravel public folder path

In this post, we will show how to change the Laravel public folder path (the default path for publishing public content, including the index). Actually, there is no configuration value to change this, but you can change some special files to change it to another location, and your application will continue working as expected.

Note: For Laravel 8, you can check this new post: Create a Laravel 8 application from scratch

Continue reading “How to change the Laravel public folder path”

Install Python and Web development tools

In this post you can learn how to install and configure Python and web development tools like Django, Tornado, Flask and Pyramid, to implement web applications.

Python is one of the most used programming languages. Above all, there are a lot of reasons to learn and use Python as a multi-purpose development tool:

  • Easy to Learn and Use: It is developer-oriented and high level.
  • Expressive: The syntax is more understandable and readable.
  • Interpreted: Easy to run and debug, suitable for beginners.
  • Cross-platform: Python is portable. You can install and run it in Windows, Linux, Unix and Mac. Also, there are several other ports.
  • Free and Open Source:The source-code is also available.
  • Object-Oriented: Python supports OOP with classes and objects.
  • Multi-paradigm: You can use procedural, object-oriented and functional programming paradigms.
  • Extensible: You can compile and integrate new libraries and tools using languages like C/C++.
  • Large Standard Library: Extensive functionality through a huge collection of modules and libraries through a package/module manager (pip) .
  • GUI Programming: You can implement Graphical user interfaces using Python, for desktop and web applications.
  • Integrated: You can easily integrate  Python with languages like C, C++, JAVA etc.

Continue reading “Install Python and Web development tools”

Using Node.js and Npm packages

Otherwise, After starting with Git, GitHub, and open source projects, you will find a lot of projects using Node.js and Npm packages. Node.js is not only a tool to create web application backends. Also, is used as a development platform for large scale projects to manage dependencies and  perform operations in the project lifecycle. His companion, Npm, is a package manager to make available a large ecosystem of modules and functionalities used in the development stage, in the project itself and in the development pipeline.

Continue reading “Using Node.js and Npm packages”

Install Java SDK on MacOS

You need to install Java SDK on MacOS to allow a lot of applications and development tools to run in your machine. This post describes the most important installation steps to get a working Java development environment.

Continue reading “Install Java SDK on MacOS”

Installation of PHP in Windows, MacOS and Linux

There are several steps for the installation of PHP in Windows MacOS and Linux. In this article we cover the most common installation procedure for each operating system. As a result, you can install and configure other tools and frameworks like Laravel.

Continue reading “Installation of PHP in Windows, MacOS and Linux”

Git for Beginners

This is a very basic guide of Git for beginners. Git is a version-control system for tracking changes in files associated to projects of different types. It is primarily used for source-code management in software development, but it can be used to keep track of changes in any set of files.

Without a version control system, you probably used to frequently save copies your work-in-progress in zip files. But when you feel that your work is a mess and you need to get back to a previous version of some files, how to deal with mixed changes in files? It’s a real pain to do that. Git and other version control systems like SVN are a great solution.

Continue reading “Git for Beginners”

Configure a MacBook for Development

After years working with Windows and Linux workstations, now I need to configure a MacBook for development. Some years before, a MacBook was a natural tool for Designers and Media producers. But now, many developers are using a MacBook for software development. The developer community behind MacBooks made possible to get the most useful developer tools available for Mac users. This is a my own list of steps to configure a MacBook for Development.

Continue reading “Configure a MacBook for Development”