Django for WordPress Developers

Visit Tutorial Page ( Report)
This course is an introduction to Django specifically targeted at WordPress or intermediate web developers. In this course we will walk through everything from the basic principles of python to developing a full e-commerce system using the Django framework. Some of the sections include: Discussing the differences and similarities between php and python Setting up a functional python workspace Creating a basic TODO app in python Installing and customising Django Creating a blog using Django Creating a CMS using Django Creating 3 different e-commerce stores using Django
  • php vs python
    • Requirements and Assumptions for the course

      What tools you will need for this course.

    • python vs php, philosophy and focus

      What the main philosophical differences between python and php are and how they relate to Django and WordPress.

    • Basic syntax differences between python and php

      A brief discussion about the main differences between php and python on a syntactical level.

    • A bit about Classes

      A very basic introduction to what a Class is on a programmatic level.

    • Creating a python Class

      A practical example of creating a Class in python.

    • Creating a php Class

      Recreating the class in php that we just created in python

    • Instantiating an object of a Class in python

      In this lecture we create multiple instances of the Cat() Class and assign different constructor parameters to each.

  • Create a TO-DO application in python
    • Creating the TO-DO app

      In this lecture we start creating our TO-DO application.

    • Lists and Dictionaries (arrays) in python

      In this lecture we will be looking at how python deals with arrays and how they can be applied to our TO-DO application.

    • Finishing our TO-DO app

      Add to final touches to creating, reading, updating and deleting to-do's from our TO-DO application.

  • Introduction to Django
    • Virtual Environments in python

      How to create and activate virtual environments in python.

    • Setting up the basics of Django

      Using pip to install Django and related packages

    • Creating our first Django app

      Using Django's shell command tool to create an application

    • Adding a blog to the admin area

      Creating a Post model and adding it to the admin area.

    • Creating model fields

      Adding attributes to our model Class to create some depth to our data.

    • Creating a Django view

      Creating the response that is rendered to the front-end based on the applications url routing.

    • Regular expressions in Django

      A brief discussion on regular expressions in the context of Django url routing.

    • The Django template engine

      Looking into how Django processes html as well as its own templating language.

    • Pulling model data into the front-end template

      Displaying Django model data on the front-end of the site using the view.

    • Archive and single views of our blog

      Creating a new single post view that is linked to the post archive page using Django url routing, views and templates.

  • Creating a Django Blog
    • Adding css, javascript and template partials to our site

      We look at how to add elements of the Bootstrap framework to our site.

    • Adding pagination to our view

      Using Django's pagination library to filter our Posts to make them pagination friendly. As well as actually create some pagination using the url routing system

    • Customising pagination from the front-end

      Linking our url pagination to variables that can be used on the front-end to navigate through our paginated pages, as well as give an indication of how many pages there are in total and which page we are currently on.

    • Creating a blog Category
    • Adding Categories to our Posts
    • Creating a Menu using Categories
    • Creating Category Archive Pages
    • Blog clean up and creating ManyToMany fields
    • Adding images to our blog Posts

      Adding image routing in Django is easier said than done, in this lecture we go over how it is done.

  • Creating a CMS with Mezzanine
    • Using the python package directory
    • Installing Mezzanine

      Mezzanine is a popular 3rd party Django package that works similarly to WordPress, in this lecture we go over how to install it.

    • Customising Mezzanine in the admin area
    • Customising the front-end of Mezzanine
    • Creating a Bootstrap theme for Mezzanine
    • Creating a Bootstrap theme for Mezzanine

      In this lecture we go over how to add task/asset management to our Django application

    • Cleaning up our styling mixins in Bootstrap
  • eCommerce for Django
    • An introduction to eCommerce
    • An overview of this section
    • Oscar eCommerce

      In this lecture we discuss how to install the robust eCommerce framework Oscar

    • Cartridge and Mezzanine eCommerce

      In this lecture we discuss Cartridge, the eCommerce plugin that is built on top of the Mezzanine CMS.

    • Saleor eCommerce

      Saleor is a robust and flexible eCommerce system that uses the right semantic techniques in Django. In this lecture we discuss how to install it and why it is a good option for eCommerce.

  • Finishing off Django for WordPress Developers
    • Onwards and Upwards!
Write Your Review