Peel apples, cut into eighths, core them and cut them crosswise into slices. Rinse raisins cold and stew with 30 grams of sugar, apples and six tablespoons of water for five minutes. Let the compote cool down.
Knead the fat, flour, almonds, a pinch of salt, egg and remaining sugar. Cover and chill for one hour. Grease a springform pan (26 cm Ø). Roll out 2/3 of the dough on a floured work surface, place it in the mould and form a two to three centimetre high rim.
Prick the dough several times with a fork. Pour apple compote onto the dough. Roll out the remaining dough and cut it into centimetre wide strips with a dough wheel. Place twelve strips of dough in a grid pattern on the compote.
Whisk the egg yolk and milk together. Spread the dough with it. Bake the cake in the preheated oven (electric: 200 ° C / gas: level 3) for 30 to 40 minutes. Let it cool down on a cake rack.