I've painted cabinets twice. You want to spray the doors for sure, brush strokes are going to really stand out on flat surfaces. Take the doors down, sand them well, and prime them. You want to make them incredibly smooth, since the doors are the most visible part of the cabinetry. I put down tarps in the garage,and set up 2X4 platforms to put the doors on.
Buy the best sprayer you can afford. I bought a Wagner Power Painter, but not the budget model. Spent maybe $100 or so. Also, use enamel, a latex paint is not going to hold up in the kitchen. This means cleaning up with turpentine, but I kept a bucket and lid to soak parts in. I had 20+ doors to spray, and that takes a lot of prep! Plus, you have to let them dry, flip them, and paint the other side. And it takes several coats. You can get by with brushing the face frames. For the end panels of cabinets, I tented the kitchen with plastic and sprayed them. We also used beaded board to dress up the back side of an island, so I rolled these. With the grooves, it was a broken surface, and looks fine. But 10 feet of smooth cabinet siding woulds have looked bad, so I would have sprayed this if we hadn't resurfaced them.
I also do woodworking, so I cut and routed custom corner posts for all the baseboard, rather than having mitered joints. We brushed all the baseboard trim prior to installing. Then fil all the holes, sand, and paint ...
We had recessed box with fluorescent lamps, so I gutted that, installed recessed cans, and did a tin tile ceiling for an old time look. Also lots of custom trim to go with the tin tiles. And all new hinges and knobs. You can spend hundreds of $ on new hardware. Oh yeah, new sink, faucet, disposer. WATCH OUT! It is easy to get carried away on what was going to be a simple remodel.
I am not sure I'd do this again, because it is a tremendous amount of work, but it looks great, and has held up very well. You will not have as durable a finish as if they were factory painted, but for a nice remodel, it is worth it. Some dings are iunavoidable over time, such as on the edges of drawers and doors.
My wife wanted a French country kitchen, which means painted woodwork. We now have a chip or two here and there, but I question if there is any need to fix the dings. Stressed furniture with dings and wear marks is in vougue, I guess, so it is looking authentic!