Some feedback on the website.

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 16 23:51:42 PST 2015


On 2015-12-17 00:43, BLM768 wrote:

> On the subject of "one's own ideas", here's mine, FWIW:
>
> First, my background thoughts. We seem to have four main "sections" of
> the site: the forums (built on DFeed), the wiki (built on MediaWiki),
> the language docs (DDoc), and the "main" site (in DDoc/HTML). The first
> three are using technologies which were explicitly designed for what
> they do, and they work quite nicely. The only thing left is the "main"
> site (the download page, articles, etc.), which doesn't fit into the
> models of the first two technologies and is somewhat clumsy for some
> people to edit because it's built on more than just "common" Web standards.

Exactly, this is spot on.

> I can think of a couple of ideas for making the main page more palatable
> to Web developers. One is to make as much of it as possible in plain old
> static HTML. Stuff like the articles rarely changes, after all.

This is an horrible idea. No sane person would use raw HTML. The only 
advantage is that it's HTML so there's documentation available.

> Another idea is to use a Web application framework. There's a significant
> advantage there: we can have one master "layout" template, and almost
> any content we want (forums, DDoc-generated HTML, static HTML, and so
> on) can be rendered in that template with relatively minimal code. There
> are lots of frameworks that shouldn't be hard to use. I'm sure that
> someone has already suggested doing it in vibe.d, and that probably got
> shot down due to a technical issue or something, but it would be
> interesting from a PR standpoint.

That's exactly what we should do. Ddoc already can do some of this, just 
not in a good way.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list