I'm in a dilemma to buy a laptop for my girlfriend. It's for her work, where most of the it's just web development in PHP/ASP.NET and would be running a web & db servers on it. the DBS would MySQL and SQL Server 2008. I have narrowed down my list for couple of laptops
Whichever one has the highest resolution. When programming, the more desktop real estate the better. I always used two monitors. 1080 should be a minimum. I wouldn't worry about CPU or ram to much. SQL server will need some power, but a single user shouldn't pose a modern CPU much.
Both get decent reviews for a mid-range budget laptop. Slight edge to the 4820TG.
The 5745G has a dedicated numberpad while the 4820TG does not. It could come down to the features like that. Is a number pad important to her work? I'd have a hard time working on a laptop without one.
Everything else being equal, unless a long battery life is especially important to her work, I think you can let her read those online reviews and pick the one she favors.
(gets you off the hook, you see)