an AIO type pc is really only usefull for an office/web browsing machine that you dont plan on upgrading. if your pc requirements are very low then this is a cheap way to go.
however, if you plan on doing anything else you want a box period. even if your needs are low i would still suggest a box since if you did want to upgrade later you can.
think about it like a car where the tires go bald and you cant replace them because they are welded on. the only thing you can do is get a new one. a box pc is like a regular car where you could just put new tires on and get some extra mileage on it even if the car is old and less than ideal