Showing posts with label MySQL. Show all posts
Showing posts with label MySQL. Show all posts

6/03/2008

I installed Etomite on my test server last night. It's a fairly mature PHP and MySQL content management system. The install went smoothly. The installer tried, but could not create the database, so I did that manually with PHPMyAdmin. Then the installer completed its tasks in less than a minute.

At first glance, Etomite looks good. The admin interface is clean and is well organized. The default page template looks okay. It runs quickly. Adding a new page was fast, and it automatically appeared in the main public menu. It has some built-in search engine optimization features for each page.

I need to take a closer look at how to change templates, what variety of templates are available, how it behaves when adding different kinds of content.

But, so far, it looks worthwhile.

6/02/2008

I have had high hopes for the new version of Pivot, a blog engine that has a fairly long history. It has used flat files for storage, so it requires only PHP to work on any server.

I liked the test installation of version 1.45 I played with last year. But it was slow. The public pages were slow to load, and the administration pages were brutally slow.

The developers have been working on a major update for several months, and I tried version X alpha 3 earlier this spring. It was a improvement over version 1.45, but not enough to get me excited.

This weekend, I downloaded and installed version X2beta. One of the major changes to this new version is that it works with your choice of flat files or MySQL; an excellent choice to have. The install was effortless. The admin side work fast, and I was getting excited. But then I tried to view the home page of my test site, and couldn't. In the admin, I specified a certain content page as home. I double checked. I looked at all the user admin settings. I logged out. I tried another browser. I can't see the home page. No matter what I do, I see the admin login page. But I can't see any content.

Big disappointment. Guess I'll wait and see if the next beta, or the finished product, works correctly.

If it does, Pivot could be a player in my book. It offers many features. The new backend works fast, and is laid out logically and cleanly. In all, the admin interface is top notch. Now if I can just get a look at the public side!

4/21/2008

WordPress is one of the most-used blog script systems in the English-speaking world. A new version, 2.5, has just been released. You can get a copy to install on your own server at www.wordpress.org. A companion site, www.wordpress.com, based on the same technology, is a free blog host service not unlike Blogger.

I've messed around with earlier versions of WordPress during the last year, and like it. It has proven stable, it has a large number of available plug-ins, and there are hundreds of templates for it, some of them very nice. This new version of the script makes WordPress even better.

The administrative interface is clean and makes sense. It runs fast on both the admin and the public sides. You can modify the template files on the fly via the admin control panel. Swapping in a different template takes just seconds.

Wordpress requires PHP and MySQL. Installation is a snap. As with most MySQL scripts, you need to use PHPMyAdmin or some other method to create a MySQL database before you run the Wordpress installer. From the time I downloaded the version 2.5 installer to typing my first post spanned less than 15 minutes, including the entire installation process and trying three different templates.

Though WordPress was designed a blog engine, it works fine as a CMS, too. You can create and edit static pages, just like in any CMS. There's a plug-in available that forces a static page to appear as the home page, so you can relegate the core blog to a secondary position. Other plug ins mold WordPress into the CMS function even further; there's even a self-contained package of several plug ins that purports to make WordPress into a CMS.

I give a thumbs up to WordPress 2.5.

3/01/2008

The vast majority of CMS systems store data in a database, typically in the excellent and free MySQL database. This is a reliable data storage method that offers quick response. It is the route I recommend if you foresee your Web site growing to a large number of pages.

But if you plan to operate a typical small or medium sized Web site, you may want to opt for a CMS system that doesn't use a database. Since a database server installation adds another layer of complexity to your Web site, it can overly complicate matters. I'm a firm believer that technical simplicity is the best route. If a simple flat-file CMS system will get the job done, why stress yourself with setting up and running a database?

Virtually all paid PHP hosting plans include access to a database engine. But many free hosts don't.
So if you are setting up a site as cheaply as possible, a flat file system may be the way to go. And there are some great Open Source CMS scripts out there, some robust enough to operate a top-class business Web site.

My favorite of the moment is MuCMS, short for Matt's Micro Content Management System. It requires only that the server it is installed on have PHP. The script itself is otherwise free standing, with no other dependencies. It has some traits that I find very attractive.

It stores each content page in a separate text file, so when someone calls for a certain page, all the script has to do is direct that user to that page. That's a much simpler process than the typical database-backed CMS, which in the same instance would process the request, send a message to the database engine, which would then need to process that request, find the requested information in the database table, send it back to the CMS system, which then would add the design wrapper information, then send the result back to the user.

MuCMS does its simplification magic by doing most of the work at the time the administrator creates the page. All the required information including the content and the design wrapper, at that time is bundled into a plain, straight HTML page and stored. By the time the user asks for that page, all the work is already done, so all the server needs to do then is send it on its way. That is very efficient, because normally, you create or edit a page one time and then it may be requested hundreds or thousands of times. I've noticed that add-ons are available for some maintream database CMS scripts that mimic this trait - they perform the PHP and database actions once and store the result in an HTML file for later recall. A server has to work much less to send an HTML file than it does to perform database manipulations, so the result is a quicker and more responsive Web site.

In addition to speed an efficiency, MuCMS has a clean, attractive admin interface, a couple of very nice bundled front end templates, built-in statistics package, built-in site search and a few other bells and whistles. Installation is not quite as easy as some more popular content management systems, but if you have a bare minimum of understanding of server paths, you can have it up and running in 10 minutes. Setting up the main menu also requires a basic knowledge of HTML, but again, takes just a minute or two to set up. I tested MuCMS with several dozen pages, and it performed fine. The admin interface slowed down slightly as the page number grew, but the public delivery did not.

A very interesting CMS offering is Drake, currently being renamed to Lanius, which was originally a development fork or offshoot of Limbo, which was itself a development fork of Mambo. Mambo used a MySQL database, and stopped being actively developed somewhere around 2004. Limbo used flat files for data storage. Drake offers the end user a choice of either. You can even create a site using one data storage method, create a backup, and restore it to the other. This is a great feature, since if you become dissatisfied with the method you are using, you can change to other without touching the structure or appearance of your site! I tested Drake on a free host and found that it worked faster using the built-in Gladius (flat file) storage system than MySQL. That's probably because the MySQL server software was on a different computer than my site - the extra complexity slowed things down. On a paid host where the MySQL software might be on the same machine as the site itself, the database probably would perform better.

I like Drake, and think it holds much promise as development continues under the Lanius name. Right now, it is handicapped, like many or even most CMS systems because the administration interface makes it difficult for average users. This is one of my pet peeves with most content management systems in common use. You set up a CMS once, then use it to add or edit content repeatedly. But open up a typical CMS control panel, and you are presented with a morass of menu options devoted to setup. Drake has a very complete admin page, but it's hard to find where to add or edit content. It's there, but it's hard to find.