You can use aluminium foil instead of parchment paper but my personal preference is parchment paper. Parchment paper is non-stick and allows the cake to breathe instead of trapping too much moisture inside, especially when the cake is still warm. Aluminium foil is less forgiving and might dent the outside of the cake if there are any creases or dents in the foil.