Project

General

Profile

Actions

Feature #48

closed

Incremental bootstrap

Added by Koen Deforche over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/12/2009
Due date:
% Done:

0%

Estimated time:

Description

Add an alternate bootstrap method, next to the current one.

This bootstrap method first renders as plain HTML, and when JavaScript/AJAX is available, upgrades to the AJAX version.

This address a number of issues/annoyances/improvements:

  • Support for google ads, and other things that are needed within the HTML page at load time
  • Requires only 1 round trip to render the page (even if only after the second request AJAX functionality becomes available)
  • Avoid IE problems with loading stylesheets dynamically

The implementation would require that:

  • createAppliation() will have a WEnvironment that indicates no support for JavaScript or AJAX
  • We add a virtual void WWidget::enableJavaScript() method which allows a widget to react to the fact that AJAX is available
  • The built-in widgets need to react properly, including taking into account DomElement wrapped buttons.
Actions #1

Updated by Koen Deforche over 15 years ago

This relates (and probably replaces) the hybrid bootstrap method originally proposed by Anthony roger Buck.

At least it addresses the same issues as there is no more need for the automatic refresh which is not standards compliant XHTML inside a tag.

Actions #2

Updated by Koen Deforche over 15 years ago

  • Status changed from New to Closed

Implemented in latest git (and being tested on www.webtoolkit.eu/wt).

This bootstrap can be enabled using the setting.

Actions

Also available in: Atom PDF