Benx Shen's Library tagged → View Popular
21 Jul 08
John Resig - DOM DocumentFragments
-
Browser
Normal (ms)
Fragment (ms) Firefox 3.0.1
90
47 Safari 3.1.2
156
44 Opera 9.51
208
95 IE 6
401
140 IE 7
230
61 IE 8b1
120
40 -
As it turns out: A method that is largely ignored in modern web development can provide some serious (2-3x) performance improvements to your DOM manipulation.
21 Oct 07
Ubuntu tip: Turning Ubuntu into Kubuntu or Xubuntu - WinMatrix
-
1. If you've installed the default Gnome version of Ubuntu, just open a terminal by hitting Alt-F2 on your keyboard and typing "gnome-terminal"
2. To enable Kubuntu, type "sudo apt-get install kubuntu-desktop," enter your password when prompted, and answer yes to any questions that pop up.
3. To enable Xubuntu, type "sudo apt-get install xubuntu-destop"
4. If you're already using Kubuntu or Xubuntu and want to enable Gnome, type "sudo apt-get install gnome-desktop"
20 Sep 07
Raible Designs | Proposed Tomcat Enhancement: Add flag to escape JSP's EL by default
-
Hello all,
I'm working for a client that's using a proprietary Servlet/JSP-based framework that runs on Tomcat. They have their own custom JSP compiler and they're looking to move to a standard JSP compiler. One of the things their compiler supports is automatic escaping of XML in expressions. For example, ${foo} would be escaped so <body> -> <body>. JSP EL does not do this. It *doesn't* escape by default and instead requires you to wrap your expressions with <c:out/> if you want escaping.
I'd like to ask what developers think about adding a flag (similar to trimSpaces in conf/web.xml) that allows users to change the escaping behavior from false to true?
I think this is a good option to have as it allows security-conscious organizations to paranoid and escape all content by default.
Thanks,
Matt
06 Jun 07
Named Parameters for PreparedStatement - Java World
-
這篇文章提供了 NamedPreparedStatement 的實作。這麼一來,SQL指令就可以有更高的可讀性,而且不會被一大堆的 '?' 和 index 給搞混了!Cool~~~
- benxshen on 2007-06-06
17 Nov 06
Streampad blog » Blog Archive » Back button now in use! (Getting history working in Safari)
25 Sep 06
Ajaxian » Transparent Messages in JavaScript
- 這裡介紹了如何使用「半透明訊息區塊」來取代生硬的 alter 警告對話框。基本上,這牽涉到一些比較「人性化」的介面設計。試試看他的範例吧,很不錯喔! - benxshen on 2006-09-25
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in tip
Related Lists on Diigo
-
TIP
Items: 21 | Visits: 40
Created by: sys_wizard hetare
-
photoshop
Items: 85 | Visits: 543
Created by: Rika Y
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
