ppl

Mocking External Resources

2 minute read Modified:

+------------------------------------------------------+
|                                                      |
|                                                      |
|                                                      |
|                                                      |
|                                                      |
|                                                      |
|                                                      |
|                Beautiful Hero Image of               |
|                    Mock Objects                      |
|                                                      |
|                                                      |
|                                                      |
|                                                      |
|                                                      |
|                                                      |
|                                                      |
+------------------------------------------------------+

Hello! Previously on TDD post we have briefly touched on the subject of mocking. Django already provides tools to mock client request and database connection. Do we need more?

Factory Boy

4 minute read Modified:

Drawing of The Factory from The Story of Mankind
The Factory
Hendrik Willem Van Loon

Good Morning! Ever wonder how much ez life you can have if you don't have to instantiate and type tiresomely each parameters one by one of that one Django Model with 17++ null=False fields for your cute little unit tests? Sorry, that's a strange thing to ask. Regardless, I have found the solution to those miserable musing of mine. I'm pleased to introduce you to factory_boy.

Staging vs Prod and More...

5 minute read Modified:

First launch of Space Shuttle Columbia
What can still go wrong?
NASA

Hi! This time, I want to talk more about software environments. Even though our code has been tested using TDD, there are still many more factors that we have to take into account when we are deploying our application, whether it goes to staging or straight to production environment. Previously I had touched on the subject briefly in my clean code post. However, that's only limited to the application level. There are also other system configuration that's invisible to the application.

Persona for Application Design

3 minute read Modified:

Persona 5 game logo
Persona 5 game logo
Vulphere

Hello! This time on PPL series of posts I would like to talk about the use of persona in application design. But before we jump into the topic itself, please cut me some slack for using the Persona 5 game logo for this post hero image. This is the first image I found on Wikimedia Commons by searching for "Persona", okay. I didn't make the deliberate attempt to reference Persona the game by Atlus. Now that it's cleard up, let's get to the main dish, shall we?

Clean Code 101

5 minute read Modified:

Photograph of Veil Nebula
Veil Nebula (NGC 6960), in the constellation Cygnus
Ken Crawford

Here is another post in PPL series. In this post I will try to explain "Clean Code" concept and some tips on how to apply it.

Building Docker Container Image

5 minute read Modified:

Hi! We are back to another post in PPL series. Here, I will explain about how our team build small and efficient docker image that is used to ship and deploy our server side application. Our server side application is Django-based app. So this article can also serve as reference on how to build another similar python based server side application. I will skip most of the container vs VM explanation. So, you are expected to be already familiar with docker fundamental concepts such as container, container image, its layers, and container registry.

Testing and Test Driven Development

5 minute read Modified:

Sequential Software Testing Life Cycle Created by Software Testing Engineer
Software Testing Life Cycle
Perfect Happiness

Hi! Now, I'm back again to another post on PPL series. This time I will share my thoughts about testing and Test Driven Development (TDD) on my software engineering project. This post will only dive a little as to show how we implemented it. So, don't put so much expectation, mkay?

Agile Software Development and Scrum

4 minute read Modified:

2015 Koenigsegg Agera N
Koenigsegg Agera sounds like Agile
Edvvc

Hi! This time on the PPL series of posts I will explain about Agile. As I have previously mentioned on my other post, in this course we are required to implement an agile software development methodology, Scrum. As of now, I dont think we have pulled this of to the level where I want it to be. Hopefully, I will add more updates and improvements about our process.

git log --all --graph --oneline

11 minute read Modified:

Giovan growing his little trees
Little Tree
Metal Wire Bonsai
Metal Bonsai

You may be wondering, "Hey? Why do you give this post a git command as the title?". The reasons's are clicks, views, and sweet-sweet engagement metrics! I hope by using weird idiosyncratic nerdy title will get people to read this post. So, what do I really want to talk about here? You're already 1 minute in reading the post but still has no clue what the heck this is all about. This series of article (yup, there will be more) is written for my Software Engineering course and this one will primarily explain git.