With the rack in the middle position, preheat the oven to 350 °F (175 °C).
Cook the pasta according to the minimum time suggested by the manufacturer, or about 5 minutes in boiling water. Rinse under cold water and drain well.
Put the pasta in a bowl and mix in gradually in the order the cheese, beatten eggs, yogourt or sour cream, sugar, raisins (if desired), wheat semolina, vanilla, and salt. Mix until you get a homogeneous composition.
Grease a pan with 1 tbsp of butter and line with the flour. Pour in the pasta mixture and grease the top with the other tbsp of butter to give the pudding a golden color.