okay..here's the scene. a man is standing in front of window. suddenly some rays come through the window and the screen gets white slowly. during the same shot, the room gets back to the screen as it was but the man will be seen nowhere.
so, shall i do it post? or shall i use some lights to do it in production? I' gonna use dSLR to shoot.
I would do a combination practical and post production effects. Not certain I totally follow your plan, let me see:
Man in front of window, normally exposed (we can see him nicely along with the room, window back-lights him and could be either blown out (white, no detail) or exposed so we can see outside as well as our hero.
Light "rays" (in quotes here cause that can me a lot of things stream in through the window behind our hero - this takes him into silhouette briefly (correct?) before the entire screen burns to white and the FLASH!
Back to our normally exposed empty room?
lmk if that is sort of what you are thinking.
My initial guess is that you want a great big light source outside, as it is ramped up during your effect, iris pull to silhouette the figure. This is your main shot. Your first plate is the shot without the man, with the room normally lit (the end) and your other plate is the window with bright light without the man in front, might even do the iris pull with him in frame and without to give you some wiggle room.
If you want the effect of "Rays" you will want a hazer of some sort so that the light that spills around your silouetted figure will have that volumetric effect you are seeking.
As far as details on how to proceed from there: composite the shots to taste and clean up the results. I'm no expert but at first guess that's how I would propose shooting it with whoever my effects guy might be.
Then we'd work out the kinks because he would say - Okay, but if there is any match moving we have to do X Y and Z. Or something.
There are probably easier/faster post-only ways, but I'm a believer in practical effects whenever possible working in conjunction with post effects.