I'm building a very simple dehydrator that utilises a 12v PC fan, and a 275w heat lamp bulb. To begin with, I'm just going to have a standard AC extension cable going into a dual outlet splitter. A cheap 12v DC power supply in one outlet, and the other outlet going to the heat lamp (Well, the socket the heat lamp is screwed into). While this will work fine for my uses, it will be very hacked together, and I feel like I can take it as a learning opportunity.
My initial thought is to have an IEC socket input, like a standard PC power cable, then have that going to a power supply, which will give a 220v AC output line and 12v DC output line. However, I don't know if I'm able to have a power supply output both DC and AC, or should I split the AC input before the power supply and only have a DC supply?
I'm only just beginning to learn electronics (I have a basic understanding, after watching Dave for a little while, and reading material online), so forgive me if there is something obvious I'm missing. Is this something that I should try not messing with right now?