I need to create a basic dynamic website for my wife's small law firm (blog entries with comments, some static info, a contact gateway, access to an existing html article archive) and I'd like to use a small-footprint CMS to do it. Everything I've done before - the firm's client management (calendaring, task management and billing) application and it's existing static website - has been hand coded, originally in ASP, but I moved everything over to PHP a few years ago. So I'm very familiar with procedural PHP (and mysql of course), but 开发者_Python百科I'm having a great deal of difficulty grasping OO syntax. Since I'm not a full-time developer and have neither the need nor the desire to really tackle OO, I'd like to avoid the issue by finding a CMS written in procedural PHP or that has a plugin library in procedural PHP. I guess Drupal is one answer, but I'd really prefer something a little more lightweight.
WordPress is procedural (and maybe some OO, but sparsely spread), open source, PHP and MySQL based, and includes a myriad of plugins. The basic install is minimalist compared to other CMS, and most Web hostings have installers for it (through Fantastico, etc.) And the better part is that, when upgrades are available, you can do everything directly from the admin panel (no FTP file uploads, etc.)
For e-Commerce, check out the plugin from Instinct.
A lesser known alternative is Cotonti, a PHP/MySQL CMS which is largely procedural with the exception of it's template engine. The Genoa branch is 507KB zipped (WordPress is 4.1MB). The new "Siena" branch is 1.4MB zipped and includes a PDO database layer and caching mechanism which are both object oriented, although it's unlikely you'll ever have to dive into these.
精彩评论