显示标签为“IE8”的博文。显示所有博文
显示标签为“IE8”的博文。显示所有博文

2009年4月11日星期六

April 12th-13th Links:SOLID,ASP.NET MVC,SQL SERVER

.NET

ASP.NET

Design Pattern

JQuery

SQL SERVER
    The RANK() Function in SQL SERVER returns the position of a value within the partition of a result set, with gaps in the ranking where there are ties.
    The DENSE_RANK() function in SQL Server returns the position of a value within the partition of a result set,leaving no gaps in the ranking where there are ties.

Other

2009年4月10日星期五

April 10th-11th Links:Velocity,C#,SQL SERVER,ReSharper

.NET
    How to optimize passing complex data to the server

ASP.NET
    1) Favicon
    2) Titles And Meta Data
    Your page title is more important element for SEO and is also important so that users know what's on the page.Make sure it changes on every page and relate to that page's content.
    3) Cross-Bowser Checks
    4) Proofread
    5) Links
    6) Graceful Degradation
    7) Validation
    8) RSS Link
    The common conversion is to put a small RSS icon in the browser's address bar.
    9) Analytics
    10) Sitemap
    Adding a sitemap.xml file to your root directory allows the major search engines to easily index your website
    11) Defensive Design
    The most commonly overlooked defensive design element is the 404 page.
    12) Optimize

C#

Javascript

Velocity
    1) High Availability
    2) Notifications
    3) Local Caching
    4) Management & Monitoriting
    5) Better Integration

WEB

IE
    1) IE8 Opens More Connections Per Host Name
    2) IE8 Has a New Process Model
    3) All IE8 Tabls,Window and Pop-ups Belong To Same Browser Session
    4) The IE8 Process Model is Configurable
    5) Compatibility Workarounds for IE8
    6) New Built-in Developer Tools For IE9
    7) How to Use HttpWatch with IE8

ReSharper

SQL SERVER
    1. Logical Query Processing Phases- Order of Statement Excution
    1) FROM -> ON -> OUTER -> WHERE -> GROUP BY-> CUBE|ROLLUP->HAVING->SELECT->DISTINCT->ORDER BY->TOP

Other
    neXpert is an add-on to Fiddler which automates the classic performance best practice checks and produces a HTML report on the issues found in a Fiddler capture.
    3.4 Great Tools to use visual Studio

2008年10月11日星期六

IE8 Beta2 AJAX 的更新(一)(IE8 Beta2 Hand-on Lab)

Windows Internet Explorer 8 Beta2的一个主要目标是去提高开发者的开发效率,IE8开发人员通过提供跨浏览器以及一些强大的应用程序API去达成这个目标。
IE8 beta2 提供了一个简单但是强大的跨浏览器,跨页面,以及server之间的交互的应用程序模块给AJAX的开发者使用。你能够使用它们建立一个快速的并且更加实用的页面,给用户一个更好的体验。另外,IE8 beta2 APIs 是基于 W3C(World Wide Web Consortium)HTML5.0  或者 WWG(Web Applications Working Group)标准的。
下面我将分别介绍新的AJAX特性,它将帮你应用这些新的技术到你的网站中去。下面是新的特性的简介。
1. 跨域通信是ajax开发和混合应用程序的一个主要部分。IE8 Beat2提供了两个安全和简单的跨域的特性用于两个不同域之间的通信。
1)XDomainRequest(Cross-domain Request):开发者可以创建一个跨网站的数据集合脚本。它与XMLHttpRequest对象差不多,但是却拥有更简单的程序模式,这种请求被叫做xDomainRequest,它以更简单的方式以一种匿名的requests给第三方的支持XDR的网站。只需要仅仅的三行代码就能帮你实现一个基本的跨网站的请求。这种请求是简单,安全并且是快速的。
2) XDM(Cross-document Messageing):IE8 APIs中提供了一个简单的安全,标准的方法用于在来自两个不同域通过IFRAMEs之间的documents相互通信。
2. XMLHttpRequest Enhancements:XMLHttprequst提升给了你一个对于提高性能和管理你页面状态的一个更好的控制。它包括了一个timeout属性,这个属性能帮助你在需要的时候取消当前的request,允许开发者管理更好的请求。
3.Ajax Navigations:在ajax项目中,浏览器的向前,向后按钮一直是开发者的心病,需要额外的代码或框构去实行,现在,IE8 beta2通过一个简单的方法就在ajax中实现向前向后按钮。它使用设定window.location.hash的值更新浏览器的组件跟Address bar一样,在页面中,引发一个event去关注组件并且创建一个返回按钮的事件和浏览器历史。
4. DOM Storage:这是一个通过key/value保存和获取数据的方法。它允许页面去在机器上缓存一个text,通过提供一个对每一个cache数据的访问而减少网络潜在的影响。它的一些革新就是围绕着网络连接和没有连接的情况。例如:使用Dom Storage在与一个新的网络连接联系在一起的event能够cache数据,当event发现计算机掉线的时候。另外,在客户端保存数据,可以减少多次发现一样的数据到客户端。
5.Connectivity events:它允许网站去检查当用户连接到网络并且收到连接改变的通知。另外,每一个host在宽带的连接情况下允许6个连接和一个脚本属性使能够达到下载的平衡而大大提高了浏览器的性能。
6.ToStaticHtml,to JSON,and FromJSON:当使用xDomainRequest或者Cross-document Mesaging后你应该做什么呢?在今天日益提高的脚本注入(script injection)和跨站脚本攻击(XSS-Cross-site Scripting attacks,IE8 Security可参考Comprehensive Protection文章),ToStaticHTML提供了一个强大的方法对你的String去清除潜在的危险内容。
以上只是IE8 beta2中ajax future的简介,针对每个详细的介绍及例子我会后续的文章中给出,请大家关注!谢谢!