Heat a stew pot large enough for 1000g of meat.
Add about 2 tablespoons of cooking oil.
When oil is hot, add garlic, saute until fragrant then add diced onions and cook until soft and a bit brown.
Add the pork ribs and cook until the meat starting to brown and caramelize.
Add pineapple bits including the juice, add 1-2 cups of water. Add tomato paste, red chili flakes, if using and throw in green chilies and dried parsley flakes (optional) and mix until incorporated.
Season with patis (fish sauce) and/or sea salt and ground black pepper.
Bring to a boil then lower the heat and let the stew simmer on low heat for about an hour or until the spare ribs are tender and the liquid is greatly reduced to a nice, sticky but still runny sauce.
Taste to see if seasoning is right, adjust if needed. Turn off heat. It's done.
Serve with steamed rice. Enjoy:)