Categories
Technology Weblogging

Progress Report

I am in the midst of converting Wordform’s architecture into supporting multiple weblogs. The procedure I worked out, over coffee at Border’s, is the following:

Pull the SQL statements out of all the application files and incorporate them into one file. The reason for this is to help me identify all of the SQL bits the application is using, and make sure none are missed. This also makes it easier to make changes to the underlying SQL in the future — as all of the database accesses will be in one spot.

Update the database. I’m adding blog identifier to most of the tables, but I’m also splitting the options table into a weblog information table and an options table, and adding some foreign key relationships. At this time, I’m using a default weblog identifier until the program pieces are in place to add weblogs.

Modify the program to set a default blog identifier, and then adjust all the functions accordingly.

Once the backend components are in place, I’ll front end pieces. The first will be to add a section to pick a weblog from an existing list, or choose to create a weblog in the what used to be Dashboard. Picking an existing weblog will set the globally accessible weblog identifier within the administration tool.

Creating a new weblog is a bit tricky with PHP, because the application doesn’t have general write permissions. A new .htaccess file, index.php, and word-contents subdirectory need to be created in the new location of the weblog. Either the create weblog routine will provide the how-tos, or more likely, have the person make the subdirectory writeable temporarily.

Other than the tricky bits, the rest of the weblog creation is simple — just data collection.

The base installation of Wordform is very simple, meeting the needs of most users. The multiple weblog capability is being added to the code, but the actual front-end pieces are being create as a Wordform extension — pages that can be dropped into the tool’s administrative interface. The capability for this also requires several backend code changes.

First, the post status and comment status are being pulled in from the database, to make these adjustable via extension or plugin. Next, the menu data that runs the top navigation tags for the application is also being pulled in from a database, again so these can be easily updated with administration extensions. Finally, the former dashboard is being modified in a couple of different ways.

First, the list of extensions is displayed, with an option to uninstall each. (Unlike plugins, administration extensions can be installed or unintalled, but can’t be turned on and off). Next, the main area of the page is dynamic, just like the weblog posts themselves. With this, extension developers can create content for this area for hooking their extension in as needed. For instance, with the multi-weblog extension, the extension will add code to list the weblogs, allowing the person to select from the list. This list will be filtered to just those who have been given access to the weblog.

The multiple weblog extension itself will consist of a couple of files that are copied to the administration subdirectory, and loading one page that makes the appropriate database updates. Refreshing the admin site in the browser will then show the new extension in place, with all the appropriate backend goodies in place to use it.

My plan is to have these bits in place by New Years and then release a first cut of the code. All of this should be sufficient enough to make Wordform a unique product by that time.

Categories
Technology Weblogging

FYI

In case you’re curious, or see odd behavior now and again with this weblog, I’m making the code changes for Wordform directly on the source running this site.

By working on a ‘live’ site, I get to test the changes as they’re made. More than that, this forces me to be very careful with my changes — to make sure that I don’t remove one bit of code until another is in place to replace it. This, in turn, ensures that I’m less likely to introduce bugs, though there may be an odd–but soon fixed–break now and again.

Besides — it makes life more interesting.

Categories
Technology Weblogging

Progress Report

I am in the midst of converting Wordform’s architecture into supporting multiple weblogs. The procedure I worked out, over coffee at Border’s, is the following:

Pull the SQL statements out of all the application files and incorporate them into one file. The reason for this is to help me identify all of the SQL bits the application is using, and make sure none are missed. This also makes it easier to make changes to the underlying SQL in the future — as all of the database accesses will be in one spot.

Update the database. I’m adding blog identifier to most of the tables, but I’m also splitting the options table into a weblog information table and an options table, and adding some foreign key relationships. At this time, I’m using a default weblog identifier until the program pieces are in place to add weblogs.

Modify the program to set a default blog identifier, and then adjust all the functions accordingly.

Once the backend components are in place, I’ll front end pieces. The first will be to add a section to pick a weblog from an existing list, or choose to create a weblog in the what used to be Dashboard. Picking an existing weblog will set the globally accessible weblog identifier within the administration tool.

Creating a new weblog is a bit tricky with PHP, because the application doesn’t have general write permissions. A new .htaccess file, index.php, and word-contents subdirectory need to be created in the new location of the weblog. Either the create weblog routine will provide the how-tos, or more likely, have the person make the subdirectory writeable temporarily.

Other than the tricky bits, the rest of the weblog creation is simple — just data collection.

The base installation of Wordform is very simple, meeting the needs of most users. The multiple weblog capability is being added to the code, but the actual front-end pieces are being create as a Wordform extension — pages that can be dropped into the tool’s administrative interface. The capability for this also requires several backend code changes.

First, the post status and comment status are being pulled in from the database, to make these adjustable via extension or plugin. Next, the menu data that runs the top navigation tags for the application is also being pulled in from a database, again so these can be easily updated with administration extensions. Finally, the former dashboard is being modified in a couple of different ways.

First, the list of extensions is displayed, with an option to uninstall each. (Unlike plugins, administration extensions can be installed or unintalled, but can’t be turned on and off). Next, the main area of the page is dynamic, just like the weblog posts themselves. With this, extension developers can create content for this area for hooking their extension in as needed. For instance, with the multi-weblog extension, the extension will add code to list the weblogs, allowing the person to select from the list. This list will be filtered to just those who have been given access to the weblog.

The multiple weblog extension itself will consist of a couple of files that are copied to the administration subdirectory, and loading one page that makes the appropriate database updates. Refreshing the admin site in the browser will then show the new extension in place, with all the appropriate backend goodies in place to use it.

My plan is to have these bits in place by New Years and then release a first cut of the code. All of this should be sufficient enough to make Wordform a unique product by that time.

Categories
Weblogging

While I was recovering

…from this weekend, a couple of neighborhood type things came up.

First, Mr. Delacour has finally gotten off of pot. Oh, excuse me, I have that wrong (need more bananas) — he’s gotten off the pot and rejoined the land of the, urh, well, us. Whatever us is.

Oh yeah! Apple Mac OS X using webloggers! You gotta love us — we’re viral.

As Jeneane has pointed out, Blog Sisters got a nice mention in the Time article that features a bunch of other bloggers. The Time article also definitively stated: Most Bloggers are Women.

Good. Glad we got that out of the way.

Doug’s weblog has been nominated for funniest Canadian weblog. In fact, I noticed a few webloggers I know on the list, so have already made my votes. I can vote, even though I’m from the States right?

Categories
Just Shelley

What the bluebirds and the cardinals say

The St. Louis metropolitan area lost its last chance for a White Christmas when the major storm headed our way was actually pushed to the south of us by our cold, blustery weather.

A few years back, I would have been disappointed, but now I’m philosophical, having learned to let go of all holiday expectations. Now I see the lack of snow giving me an opportunity to spend Christmas out in the hills. My holiday icicles will be splashes of stream frozen in mid-air, my bright spots of color red cardinals in among the few southern green pines. There will be no church and no yule pudding, and my Christmas dinner will be sandwiches made with the Honey Baked ham I splurged on earlier in the week.

Big ham, too. We had salad and ham on Monday and ham and crunchy bread and artichoke and spinach dip on Tuesday and tonight we had the ham with sweet potato souffle and steamed broccoli, cauliflower, and carrots. This will work through tomorrow, and Friday it will be ham and cheese omelets and Texas bread.

Saturday then will be sandwiches on the hill, with the pecan and apricot fruitcake my Mom sent, left over veggies with dip, and hot tomato soup in a thermos, and maybe a small bottle of wine–just enough for a glass, as I’m driving.

By Saturday night, we’ll be down to the bone, which I’ll use to make navy bean and ham soup; combined with fresh cornbread, this will serve for a few meals in the coming week. I’ll have a glass of eggnog and a bit of fudge a friend of roommate’s sent home and I’m saving, and watch a good movie on TV–after calling a few friends and family and giving them my love.

I’ve been reading the various debates about religion and Christmas that have been argued here and there among some of the more popular webloggers. Who would have imagined that such passion and acrimony could result from something as simple as what holiday we celebrate, and what greetings we give each other. We had a red and blue election, must we now have a red and blue holiday season, too?

Happy Holidays, Happy Chanukah, Seasons Greetings, Merry Christmas, Happy Kwanzaa–it doesn’t matter what you say to me, as long as there’s a smile in there somewhere. I’m a sucker for genuine expressions of affection.

I think these people should consider putting away their aggregators and their iPods, turning off their computers, and join me on my hill for the day. I’ll share my sandwiches and soup and we can sit quietly, and hear what the cardinals and bluebirds call the day.

Happy “whoit, whoit, whir-a-chee!” everyone.