hosting:newwebsiteplan
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
hosting:newwebsiteplan [2018/08/21 13:12] – created jim | hosting:newwebsiteplan [2023/03/13 15:14] (current) – jim | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Thoughts on a plan for a new website ====== | ====== Thoughts on a plan for a new website ====== | ||
+ | |||
+ | (This page is the original notes for what turned eventually into the current main website. It is now of historic interested only. I will note that a COTS membership system turned out to be rather more of a challenge than anticipated, | ||
First, let's quickly summarise some problems with the current website. | First, let's quickly summarise some problems with the current website. | ||
Line 19: | Line 21: | ||
The above problems has been clear for some time, but it has proved difficult to move forward. The problem, it seems to me, is that the problem has been considered in terms of a replacement of the current site, and a replacement is a non-trivial job. It's difficult to see how it can be approached incrementally. | The above problems has been clear for some time, but it has proved difficult to move forward. The problem, it seems to me, is that the problem has been considered in terms of a replacement of the current site, and a replacement is a non-trivial job. It's difficult to see how it can be approached incrementally. | ||
- | This is amplified by the all-volunteer nature of ACCU. Without engaging in a serious procurement exercise, we need to be able to utilise members' | + | This is amplified by the all-volunteer nature of ACCU. Without engaging in a serious procurement exercise, we need to be able to utilise members' |
===== A Modest Proposal ===== | ===== A Modest Proposal ===== | ||
+ | |||
+ | It seems to me that the way to make progress on this is to outline a process that allows incremental progress. What I have in mind is as follows: | ||
+ | |||
+ | - Make the current site available at '' | ||
+ | - Build a new site at '' | ||
+ | - Once the new site is ready for deployment, move it to '' | ||
+ | - Look at replacing the membership management system with a COTS offering. The current system requires interfacing with credit card handlers and is limited in its facilties. This might be a good opportunity to move to something more flexible. We would need to be able to access some sort of member logon to enable us to provide member-only website content. | ||
+ | - Over time, migrate content from '' | ||
+ | |||
+ | ==== New site technology ==== | ||
+ | |||
+ | The next question is what sort of underlying technology to use to implement the new website. I think it should be static, as far as possible, to keep hosting as efficient and simple as possible. | ||
+ | |||
+ | For entirely static content, the ACCU Conference website uses a static website generator and source files in [[http:// | ||
+ | |||
+ | * In the main, website content can be added using a knowledge of text markup. One can bikeshed indefinitely on markup formats; AsciiDoc has the benefit of providing a comprehensive range of document markup, being originally intended to produce DocBook, and a single standard. | ||
+ | * Content can be added to the website by means of a pull request to the website editors. This is a workflow with which the vast majority of ACCU members will be very familiar. | ||
+ | * Selection of a popular static site generator will give access to a wide range of pre-designed templates - and hopefully designers familiar with generating those templates. | ||
+ | * Content is saved in a format reflective of the website URLs. The totality of the website content is therefore easy to discern. | ||
+ | * Content is also easy to extract. To move instead to a currently popular CMS such as WordPress seems to me to mean that content will have to be extracted from an opaque database only to be reinserted into another opaque database. | ||
+ | |||
+ | It's not the system currently used for the conference website, but there is some agreement that [[https:// | ||
+ | |||
+ | I do not at the moment have a clear vision of how to handle website sections that require some sort of authentication. | ||
+ | |||
+ | ==== Proof of concept ==== | ||
+ | |||
+ | I intend to implement a proof of concept site using the scheme described in the first two steps above. | ||
+ | |||
+ | ===== Progress 31/8/2018 ===== | ||
+ | |||
+ | I've implemented a proof of concept site at [[https:// | ||
+ | |||
+ | For the moment the source code in at https:// | ||
+ | |||
+ | I've used the Hugo theme ' | ||
+ | |||
+ | I've also distinguished further (mostly in my head at the moment) the different ways of linking to the old site. | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | What's there has taken me about a day. I'm finding AsciiDoc a very convenient and quick way to add content. | ||
+ | |||
+ | ==== Members-only content ==== | ||
+ | |||
+ | I said above I've not been sure how to handle members-only content. | ||
+ | |||
+ | As far as I'm aware, with the exception of site editor and special users like membership secretary and book review manager, the site manages access distinguishing between everybody and ACCU members only. | ||
+ | |||
+ | For members-only content, there has to be some sort of dynamic session management and access control. | ||
+ | My current bright idea (ha!) is as follows: | ||
+ | |||
+ | * Have members-only content under ''/ | ||
+ | * The content there to be generated by Hugo like everything else. | ||
+ | * Content to be held in a '' | ||
+ | * Apache routes anything under ''/ | ||
+ | * The dynamic engine would then manage user login and, if logged in, serve the statically generated content. This keeps the dynamic engine complexity and required functionality to a minimum. | ||
+ | * This assumes only member/ | ||
+ | |||
+ | ==== Preserving URLs ==== | ||
+ | |||
+ | URLs on the existing site are generally of the form ''/ | ||
+ | the file structure under its source '' | ||
+ | |||
+ | ===== However ===== | ||
+ | |||
+ | Since writing the above, I have looked closer at some of the URL structures. There' | ||
+ | |||
+ | I don't think these are sustainable. I propose instead to move to a more rational arrangement, | ||
+ | |||
+ | For journals this will require modifications to the index generation process. But since the index is generated by a program at the moment, I think this is doable. | ||
+ | |||
+ | There' | ||
+ | |||
hosting/newwebsiteplan.1534857144.txt.gz · Last modified: 2018/08/21 13:12 by jim