I've done commercial contract work on sites built on both WordPress and Drupal.
The WP one was pretty weird, actually: we only used WP's admin as a content management system, because the various people within the organisation who would be producing content were already familiar with it from other internal uses of it. The usual public-facing parts of WP weren't used at all. The content was then extracted over HTTP via a JSON API (provided by a WordPress plugin) by a Node task running as a cron job and rendered into static HTML using server-side jQuery (yes, really), as well as being used to plug the same content into a PhoneGap (now Cordova) mobile app
I was not responsible for coming up with this unusual workflow, which I suspect reflected the desire of a certain person at the client's to just do some stuff with these various technologies. (I did try to shoehorn XSLT in there, because I like XSLT, but sadly it proved to be impractical to fit it in anywhere

)
The Drupal stuff was more straightforward commercial sites, where my involvement was mainly limited to putting together HTML templates, CSS, and JS for the front end.