|
Categories: Server
|
Tags: Developers, Visual WebGui Pipeline, JavaScript, 2. Intermediate, 3. Advanced, Optimizing Performance, Pre v6.3, v6.3, v6.4 and Later
Revision:
1
Posted:
07/June/2010
Updated:
11/Oct/2010
Status:
Publish
Types: Article
|
OverviewObscuring is the name of a compression mechanism that is used by default on the Visual WebGui framework's client resources. DetailsBasically what obscuring does is the following: - It removes unnecessary white spaces and comments from the CSS, JavaScript, and XSLT client resources before they are uploaded to the client.
- It Renames all JavaScript functions to coded names, that for example can begin with "sb" followed by the unique id number of this function.
This step also changes all the function calls to those functions to call the functions with their new names.
All of this dramatically reduces the size of the client resources, resulting in much shorter load times.
What this also does though (as a side effect) is that it makes the JavaScript file uploaded to the client virtually incomprehensible. In a development phase when client resources need to be viewed and interpreted visually, it is good practice to temporarily disable the obscuring mechanism. To learn how to disable the obscuring mechanism, please see the Disable Obscuring article. JavaScript intercommunicationObscured JavaScript functions can call JavaScript functions of other applications that are deployed on the same domain.
There is however an issue with JavaScript on external applications calling obscured functions. The reason is that when calling those functions you would use their non-obscured name, and when the function is obscured, it's name is changed to some other coded name. There is an issue on the subject, that you can see here. Within this issue we will add a client library that will allow access to the obscured JavaScript functions using their original names.
There is an article showing how to workaround the obscuring mechanism and still be able to communicate with obscured client resources from an external source (on the same domain). You can view this article here. ReferencesArticlesForumIssue tracker
About the author
Related Articles
|
Server
|
|
|
In this video we show the new ability to develop Visual WebGui application using Xaml in what is called Visual WebGui Sites. Visual WebGui sites lets you work as a web site editing code and design and simply refreshing the page to see the results.
Tags:
Architects, Developers, Windows & Dialogs, XAML, 1. Beginner, 2. Intermediate, 3. Advanced, v6.4 and Later, Visual WebGui Pipeline, C#, XML, Customization
|
|
|
Tags:
Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
The following code is the application that was used to introduce the new Visual WebGui Xaml concept.
Tags:
Architects, Developers, C#, XAML, 3. Advanced, Visual WebGui Pipeline, XML, 1. Beginner, 2. Intermediate, Customization, v6.4 and Later
|
|
|
Tags:
Developers, Events, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Developers, Visual WebGui Pipeline, 1. Beginner, 2. Intermediate, 3. Advanced, v6.4 and Later
|
|
|
Tags:
Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, ASP.NET, Pre v6.3, v6.3, v6.4 and Later
|
|
|
|