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.
#2

Updated by Koen Deforche over 15 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF