Results matching “drupal” from Ye Olde Rad Blog III

Feliz año nuevo. Most Content Management Systems (such as Drupal & MODx) work in conjunction with (require) a database. So do blogs (such as Movable Type) & forums (such as SMF).

MySQL is the world's most popular database software for web-based applications (.. such as CMS's & blogs & forums). It's what I use. It's the only database system I've ever used.

cPanel / Web Host ManagerThe Rad VPS (« physically located downtown Chicago) uses the cPanel/WHM control panel to help administer the site. cPanel makes it stupid-easy to create a new MySQL database.

You simply » enter a descriptive name for your new DATABASE (such as » rad_modx) and click the button labeled 'Create Database.' cPanel talks to MySQL and creates the database for you. Viola! Done. Too easy.

To use your new DATABASE, you'll also need to create a USER (such as » rad_modx, conveniently same as the database_name). Give this USER a password and click the button labeled » 'Create User.' Voila! Done creating new USER.

Lastly you need to assign a particular USER to a particular DATABASE. You do this by selecting both from their respective drop-down menus (one lists all available DATABASES, the other all possible USERS) and clicking the button labeled 'Add.'

Then you assign to this USER the appropriate PRIVILEDGES (normally ALL) necessary to perform the database functions. Click the button labeled 'Make Changes' and you're done. Voila! As if this weren't easy enough, cPanel even has a wizard to walk you thru these steps.

MySQL Database ManagementSo, in order to configure a database to work with a particular web application (such as Drupal or MODx), you need 3 pieces of info:

  1. database_name
  2. user_name
  3. user_password

Couldn't be easier. Tho I sometimes forget the final step of actually assigning the USER to the DATABASE (after creating both). Creating new DATABASES is not something I do on a regular basis.

RADIFIED currently uses 5 databases. Three for the blogs » 1-each for the 3 different versions of Movable Type I have installed .. based on v263 (installed 2003), v335 (installed 2007) & v432 (installed 2008). Another for Drupal (2008). And 1 for MODx Revolution (beta5), which I installed a few days ago.

The Rad forum, which uses YaBB, doesn't use a database. (At least not yet.) Might be worth noting here that Movable Type, Drupal, MODx & YaBB are all OPEN SOURCE (better than free) .. as is MySQL.

While installing MODx a few days ago, I noticed they include an option to test your database connection & credentials .. to see if MODx can access it okay.

Created a dedicated 'Guides' page. See here » Radified Guides. Been meaning to do that for .. eons. This will allow me to off-load the guides listed here on the home-page, so I can clean it up.

MODx Content Management System (CMS)I indented & right-aligned every other link .. to make them easier to read. What do you think? When the links were all lined-up together & left-aligned, they seemed too .. similar.

Eventually I'd like to include a representative graphic for each guide/link. But for now, I just wanted to create a page that contains a repository of the links to all our guides.

On a related note, I've been looking more deeply into MODx, the Content Management System (CMS). They are fixin' to release a new version (complete-rewrite, from the ground up, based on PHP5) .. called » REVOLUTION. (Current version is called » EVOLUTION.)

Drupal would be cool, but it's way too sophisticated for what I need. I don't want/need a PhD in CMS's. Here's a MODx site, for example. (I used to live in Lancaster, PA .. the heart of Amish country. Nice people there.)

I'd like to become intimately familiar with a good CMS .. as another skill to add to my digital toolkit. Only way to do that is » use one daily.

The good people at MODx claim a 'Release Candidate' version of REVOLUTION will be coming » "Winter 2009" (.. which is now). [ Notice how the words 'Summer 2009' have been lined-out. ] UPDATE » They just changed the RC date to "Spring 2010". Hmmm.

The MODx site is running REVOLUTION. I'm in no hurry, tho. Rather make a good decision than a hasty one.

The White House (Gasp!) Goes Drupal

|

The White House re-launched its website on Drupal. Can you believe that? Not sure why this blows my mind. In searching the web however, I see many others have also sat up and taken notice.

George Washington at the White House running on DrupalNo doubt the White House has content to manage. Sure.

But I think the reason it's so unexpected is that Drupal is simply too cool & cutting edge for the White House .. which we normally associate with stodginess and somnolent formality.

Then there's the fact that Drupal is not an American product. It was born in Belgium, at the University of Ghent (.. as a message board for fellow-students enrolled there).

And you know how RADICAL college students can be. Downright revolutionary at times.

It could also be that we associate politicians with being less-than-honest about their true intentions .. while Drupal is open source, and therefore completely transparent. (Imagine how people might feel if Hitler were caught parading around town wearing a scarf knitted by Mother Teresa.)

Dare I mention how the government TAKES your money .. without even a thank-you note, and gives it to people who have much too much already. While Drupal, released under GPL, is better than free (as in 'free beer'), cuz it's also open source (free as in 'freedom').

The whole thing feels grossly incongruent .. as tho two vastly different worlds have collided. Matter and anti-matter. Good omen, tho .. for both the White House and Drupal.

One of the concepts that keeps popping up in my study of Programming languages is » expressiveness. Loosely defined, expressiveness is » the ability to say a lot with a little (my own definition).

ShakespeareWhere Programming languages are concerned, expressiveness might be the ability to DO a lot with a little.

Related terms » Meaningful. Concise. Simplicity (as it applies to the elimination of unnecessary complexity). Elegance. Efficiency.

No doubt, you know an 'expressive' person or two. But sheer volume of words does not an expressive person make.

Some people can talk for hours without really saying anything (.. at least not anything meaningful). While others can speak volumes with a simple glance.

In programming, the notion of expressiveness is often touted as a plus, associated with "higher level" languages. I could be wrong, but the idea I get is » the more expressive (a language is) the better. Notice the statement that begins the second paragraph here:

"My contention is that expressive power is the absolutely most important property to focus on right now."

This from a developer with an admitted "unhealthy interest in programming languages," who's currently developing his own. Since the learning process often involves relating new information to things we already know, that's what I've been doing.

As chance would have it, I was watching Hamlet last night (the Kenneth Branagh version). Didn't take long to realize much of what was being said wasn't getting thru. ( "Say what?" )

So I enabled English subtitles and started vigorously working the pause button .. in order to read & digest the Elizabethan chatter. Much better.

Saying Much with Little

Note how the phrase » 'To be or not to be' is exceedingly simple. Yet it carries much meaning beneath the surface (.. especially that 'not-to-be' part).

The ability to "say much with few words" is a primary reason cited when discussing Shakespeare's literary prowess. In other words, it's not just what he says, but the way in which he says it .. that makes his writing so .. descriptive, enchanting.

Been researching MODx, a Content Management System (CMS) .. similar to Drupal and Joomla .. tho considerably more 'flexible.'

MODx

Being a publisher-of-content myself means I'm always on-the-lookout for cool, new publishing tools. Movable Type has been my tool-of-choice since 2003, but I'm always open to trying new things.

The thing I don't like about Movable Type is that it's difficult to customize. You're limited to one of their pre-designed templates. Even minor tweaking is a nightmare. And it suks when your site looks like so many others.

Before we discuss CMS'es, you should know that Drupal won the Packt Publishing award for best Open Source CMS two years running (both 2007 & 2008). These awards were chosen by guys who know their CMS'es. Tho the judges admit:

There isn't necessarily one CMS that is "the best," but rather the best is the one that best fits a user's needs.

It's unlikely the judges actually used all the CMS'es themselves, since there are so many. Joomla came in second. It's probably the single most popular CMS out there.

No Desire to Rule the World

|

There's a scene in The Gladiator (Best Picture, 2000) where Marcus Aurelius (Roman Emperor, 160-180 A.D.) shares with Maximus (his General) that he's dying, and tells him he wants Maximus to replace him and lead Rome after his death.

Marcus Aurelius | Roman Emperor 161-180 A.D.

"I want you to become protector of Rome after I die .. to give power back to the people, and end the corruption that has crippled it. [long pause] Would you accept this great honor I have offered you?"

Maximus responds: "With all my heart, no."

The ancient emperor grabs Maximus by the head and implores, "That is why it must be you!"

The implication here is that the very desire for this power (» ruler of the most powerful empire on the planet) disqualifies one for the job. (A political catch-22, if you will.)

Indeed, it has been my experience, working in large organizations, that people who crave power the most tend to suk the worst at exercising authority.

Maximus for President!

Realize I'm making coarse generalizations, but certainly, anyone who wants to be president (or even a senator) would've long since passed the threshold of any power-craving test we could concoct.

I see less of a problem however, with the people themselves than with the system that puts them there. Most agree our current system of government does not attract the best and brightest minds our nation has to offer.

Along these lines .. I must ask » what is it that drives a person to desire such lofty positions of authority? .. especiallly when approval ratings sit at all-time lows, and few trust a politician to do what he/she says. And does mere presence of this desire prognosticate anything (as Marcus implies) about the likelihood of their becoming a noble, effective leader?

Upgraded my copy of Movable Type blogging software today (I use » Movable Type Open Source) .. to » v4.12, released last month.

Upgraded Ye Olde Rad Blog to Movable Type Open Source v4.12

Despite using Movable Type since 2003 (beginning with v2.63), this is the first time I've upgraded.

Previous "upgrades" were actually new installations, such as MT v3.35 (in April 2007) and v4.1 (last January), while leaving the old installations of Ye Olde Rad Blog untouched.

Upgrades make me nervous, cuz there's always a chance something might go wrong, and cause me to LOSE all the entries. (MTOS currently hosts ~50 entries.)

Now, with the new VPS, upgrades are easier, cuz I can use the Linux command line, which lets me overwrite old files with a single command. Very powerful .. but dangerous .. if I make a mistake (such as a simple type-o).

WiredTree VPS Plans: 256-MB + 512-MB RAM

Today I paid for our second month of hosting at our new web host .. WiredTree (using half the refund I received from cancelling my annual subscription with Lunarpages).

During our first month of service, I've been closely monitoring resource usage .. at our new VPS server. So I have a good idea where we stand.

Everything in the world of Virtual Privates Servers, I learned, boils down to memory usage (RAM). Our hosting plan dedicates 384-MB to the site. (256-MB standard plan, plus a 128-MB upgrade).

If we exceed 384-MB, we would have to purcha$e more memory .. at a rate of $7.50/month per additional 64-MB RAM.

Here's what I found » the highest amount of RAM we've used thus far is 366-MB (see here), which equals 95% of our allowable limit. Kinda close, but this was only a short-term transient (1 hour).

Our highest *sustained* memory use is ~325-MB (lasting a few days), so that number might be more meaningful (85% max). Our average memory use tends to be in the range of 270-to-290 MB (75%)...

.. which is actually pretty comfortable. And it's not uncommon, following a reboot, for our usage to drop down to the 220-240 area, tho these low numbers tend to creep up over time (as Apache caches more pages).

Find recent content on the main index or look in the archives to find all content.