This has been a very long time coming. I've been looking to get the Boston Cube running again for a while and there's always been a lot of more pressing things to do. This should be the first of a series of articles as I explore Joomla 4, although as you'll see they won't all be published immediately as for that I need a site to publish on. A bit of a chicky-egg situation to say the the least.
In the beginning
There was nothing. Which exploded.
Fast forward a few billion years and through an interesting sequence of events I ended up living and working in Boston, Massachusetts and figured that as this was the dot-com bubble I should create a website about it. Which back that was quite a cool thing to do, (and that may be a future topic) and it was around for a few years, then become dormant and eventually it was left as just a single holding page, at least publicly.
Last year I had a look at Wordpress for a friend who wanted to set up their own commercial site but it seemed that to do anything it meant diving into a sea of extensions and having seen a constant drip of security issues with Wordpress I was not entirely convinced. To be honest I was quite relieved when he got an agency to create the whole site for him - they did a much better job than a couple of techies would ever have achieved. I had also considered trying to resurrect the CubeEngine but given the number of website engines around that just seemed silly. So a couple of evenings researching some options as a break from dealing with a Samba 4 DC Dynamic DNS issue (which will also be the subject of future articles) in the GeekLab and here we are on the basis that:
- I already have a webhosting account and domain that looks like it should be sufficient
- Joomla can be used for free - it's an open source project and no mandatory charges to get going.
- It seems well established
- It also seems to have a reputation for being relatively secure
- There's some convincing documentation around
Now whether Joomla is a good choice for what I have in mind is another question and right now I don't know the answer to. Lets find out.
The Story So Far
I've had a play with a sandpit site, enough to convince me this is worth a shot and now have a bare Development instance to start working with, so that's solved the egg half of things.
On the Sandpit site I created a few simple articles and had a play with some menus and categories to get some idea of how they can work, and also some ideas on a process for the initial site deployment so if that's not solved the chicken half of the conundrum we've at least got a bundle of feathers and some string that we can make look like one. At a distance. If you've been drinking.
Content in a Jooma site is based on a number of different components and there does seem to be some interesting effects between them. Joomla is a Content Management System (CMS) so inevitably this means there's a way of working and you don't have full control. But this also means other people have done the technical hard part for you.
The basic unit of content is the article and each article is assigned to a category that you chose. Articles can have a status but also an access setting, and to start with I'm setting everything to Registered so they're not publicly visible - you'll need to login to see them - apart from things such as the initial holding page which I want to everyone to see which will be set to Public. Articles are accessed via a menu, and that might be an individual named article or a list of articles in a category. There's a whole lot of more to Joomla of course and I'll be delving into that in future articles.
And this is another chicky-egg problem as to make content available you need to sort out categories and menus, but until you have some articles it's kinda hard to know what the categories and menus should look like, especially if you're new to this approach. That's another advantage of writing these articles at the start as by the time I'm ready to go live I should also have been through the publishing process a few times and have a few written and a whole bunch of ideas too.
If you're going to be following along then be aware than right now I have minimal clue and fully expect to take some wrong turns and backtrack so if you're following too close behind then it's at your own risk. Best leave some braking distance eh?
The Plan. Version 1.0
Plans are good. I like plans. Sometimes I can come up with dozens in a day. Only time will tell if this is a sensible plan, and of course you'll just have to take me on trust that this is the one I first started out with, since none if this is going to publicly readable until at least Step 10 is complete.
- Create a Sandpit to evaluate Joomla and see what it can do. ✅
- Build a Development Joomla instance. ✅
- Create some initial content to work with as registered articles. These will eventually get published as public articles as a "live" account of how it happened.✅
- Replicate the current holding page for bostoncube.com as a public page in Joomla.✅
- Build a Test Joomla instance.✅
- Copy everything on the Development instance to the Test instance to prove it can be done.✅
- Do some testing to make sure it all works still, apply any fixes in Development and try again as needed.✅
- Backup the current bostoncube.com site for safety, create the Production instance on the hosting account and copy everything to it.✅
- Maybe a few cycles building and refining initial content.✅
- Make the Production articles public.
- Recycle the Development and Test environments for upgrade testing.
So this might seem a little bit of overkill, but this is a tried and tested approach for Joomla (says some other sites I've read) and since my day job is working with big corporate IT systems that have this baked into the heart of their working processes this seems natural to me. Lets walk though it.
We could of course do all this live in the Production environment, after all this is not a critical line of business application and that would save a lot of effort. But I'd rather not work entirely in public on this - if it all goes wrong I can just delete everything and walk away - and there are a few other parts on the live site I do not want to disturb.
We have four separate environments in use during this project. Hey, I've my GeekLab to host things on so I might as well use it. And yes, there will be some articles on that too.
Sandpit: A disposable site for experimenting with. Templates and extensions can't be removed so I don't want to add anything that isn't destined for release. There could well be a lot of sandbox systems being created and destroyed.
Development: This will be the main working Joomla instance, all changes will happen here untill the final go-live.
Test: A second instance to try out the process for making the site live on the hosting account, as best we can.
Production: The real live hosting environment, currently at Mythic Beasts.
In an ideal world the Test instance will be a duplicate of production, but I can't recreate that in my lab but I should be able to come close enough for what I need. The whole point is I can go through the processes required to upload the site knowing that in the worst case I just restore the Test instance back to how it was and can have another go. I think there might also be a way to do a practice run to a sub-site on hosting account - think of it a a Pre-Production instance - but I can worry about that later. So that's possibly a five-tier landscape.
Once we're running live there all new articles will be created directly on the production site. The Development and Sandpit instances can then be deleted. The Test instance should be shut down but retained and used for checking out any Joomla upgrades, and to also serve as the source for any Sandboxes for trying out new stuff.