I have got the default.aspx page written so that it now uses XHTML 1.0
transitional. In doing this I have some proposed changes to the way
Flexwiki layout is managed. I have started a page at FlexWiki for
discussion of what this layout is and does.

http://www.flexwiki.com/default.aspx/FlexWiki/XhtmlLayout.html

I would really like to get Derek's input, but all others are more than
welcome to comment as this may break something I have not considered.
I do hope it will enable more flexibility especially with the
ContainerPresentation by Derek.

Samples of the layout (without a top or bottom border can be viewed at
the links below):

http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/OdsLinks.html

http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/FormattingRulesContinuous1.html

I have changed the default.aspx.cs so that it uses StringBuilder and a
single Response.Write, rather than hundreds of Response.Write
statements. Also the supporting javascript files have been extracted
into 3 now js files. This leaves just 3 small js functions that are
created inside the default.aspx.cs code. In doing so the default.aspx
page became a single line of code holding just the Page directive
code.

I took the menu js out of formatter.cs, but have not touched the rest
of formatter.cs yet. It looks like it could also benefit from
StingBuilder.

Generally the improvement in throughput on my server averages about
25% with 1000ms savings on each page.

None of the remaining pages will require a great deal of effort to convert.

The problem of testing these changes remains. Has anyone had any
ASP.NET 2.0 experience with NUnitASP 2.0? I was using it until it
broke when VS 2005 was released, but now they claim it will work
correctly, at least for the aspx.cs code functions.

John Davidson

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to