I teach a programming fundamentals class in our undergraduate Multimedia programme, and I'm considering doing most of the course within a content management system. In some ways this is a bit absurd, but I think working in a CMS is useful experience for the students, and too often I see students thinking they should start websites from scratch instead of leveraging the power and functionality of a CMS.
My first instinct is to use WordPress, in part because I think it's a good compromise of power and ease (it will be relatively easy for students to install and start using), and in part because I think it's likely to be the most useful platform for them to learn (at least in a first instance). The trouble is that it doesn't seem especially well-suited to experimenting with PHP and Javascript, particularly at the post level (the template level is another story). It looks like it's possible to configure the editor to accept additional tags and plugins to allow PHP, but it seems quite awkward. Maybe I just wasn't able to find the right documentation for WordPress 3.
For my own stuff I've used Drupal more extensively, and it seems better suited for experimenting with in-post code, but I'm not sure I want to throw Drupal at students who are just beginning to grapple with code and CMS.
For the benefits of syntax colouring, debugging, and so on, I'll probably have students write most of their code in an external editor, but I'm keen on having them post their work in a way that can be experienced directly in the CMS. I realize that in-post coding is not the most common scenario, but am I missing obvious something in WordPress? Should I be considering something else (that will also be useful to students)?
BTW, the overall objectives for the course are to have them develop strategies for solving programming problems and to gain experience building dynamic websites. Many will be starting with little to no programming experience.
Any insights or advice would be greatly appreciated.
Signed,
Pedagogically Conflicted (again)