From Apple To Raspberry Pi: An Example of Implementing a Python MVC (Part 2)

In the last part we implemented the view and controller for the Popper's Penguins application. Now we add the model.  Along the way, we will make a delegate method for the model and change our target actions to add our data to a list. Add the Model Class We want to keep a list of our penguin …

From Apple To Raspberry Pi: An Example of Implementing a Python MVC (Part 1)

I gave a template for MVC in the last post, This time I'm going to use it in the Popper's Penguins application. We'll re-organize what we already did with views and controllers to match the template.  We'll add the model in the next installment of this series. Changing the View Let's start by modifying the …