Comments on: DOMTool http://muffinresearch.co.uk/archives/2006/11/28/domtool/ the personal blog of Stuart Colville covering modern web development techniques and best practices Tue, 06 Jan 2009 12:51:46 +0000 http://wordpress.org/?v=2.6.5 By: Luis Alarcón, Blog » Blog Archive » 21 herramientas útiles para un desarrollo web más eficiente http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64720 Luis Alarcón, Blog » Blog Archive » 21 herramientas útiles para un desarrollo web más eficiente Tue, 09 Dec 2008 04:52:39 +0000 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64720 [...] DOMTool fue creado para reducir el tiempo que tarda el código en estructuras DOM. DOM tiene opciones tan simples como copiar su código HTML en el DOMTool y a continuación, hacer clic en un botón. [...] [...] DOMTool fue creado para reducir el tiempo que tarda el código en estructuras DOM. DOM tiene opciones tan simples como copiar su código HTML en el DOMTool y a continuación, hacer clic en un botón. [...]

]]>
By: Seo Peru :: Recursos para Webmaster http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64499 Seo Peru :: Recursos para Webmaster Fri, 25 Jul 2008 15:29:26 +0000 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64499 [...] DOMTool DOMTool fue creado para reducir el tiempo que tarda el cdigo en estructuras DOM. DOM tiene opciones tan [...] [...] DOMTool DOMTool fue creado para reducir el tiempo que tarda el cdigo en estructuras DOM. DOM tiene opciones tan [...]

]]>
By: 20个有用的工具让你的web开发更有效率(1) | 老黑专用 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64442 20个有用的工具让你的web开发更有效率(1) | 老黑专用 Mon, 30 Jun 2008 08:58:55 +0000 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64442 [...] 9. DOMTool [...] [...] 9. DOMTool [...]

]]>
By: 20个让你web开发更具效率的工具(上) - 踏破’BLOG http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64350 20个让你web开发更具效率的工具(上) - 踏破’BLOG Thu, 29 May 2008 01:57:09 +0000 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64350 [...] 9. DOMTool [...] [...] 9. DOMTool [...]

]]>
By: Stuart Colville http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64329 Stuart Colville Sat, 17 May 2008 09:27:35 +0000 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64329 @Craig: looks exactly what Rajesh is looking for, nice work. @Rajesh: Yes there's several utilities as part of framworks that are designed to do just that. However, the point of DOMTool was to provide a way to output the specific lines of code (albeit unoptimised) so that <em>you<em> the developer has full control over your code rather than handing off to a wrapper function to do it for you. Also parsing structures on the fly to then inject them using DOM methods will be slower due to the extra step involved. Again this is why offline conversion made sense. @Craig: looks exactly what Rajesh is looking for, nice work.

@Rajesh: Yes there’s several utilities as part of framworks that are designed to do just that. However, the point of DOMTool was to provide a way to output the specific lines of code (albeit unoptimised) so that you the developer has full control over your code rather than handing off to a wrapper function to do it for you. Also parsing structures on the fly to then inject them using DOM methods will be slower due to the extra step involved. Again this is why offline conversion made sense.

]]>
By: Craig http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64328 Craig Sat, 17 May 2008 08:36:50 +0000 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64328 I developed a JS function called BetterInnerHTML that does just that - you pass an HTML string, like you would with innerHTML, but it uses DOM node creation methods to create the content. It's therefore as easy to use as innerHTML but doesn't have the problems. It's just 1Kb of code and available here: <a href="http://www.optimalworks.net/resources/betterinnerhtml/" rel="nofollow">http://www.optimalworks.net/resources/betterinnerhtml/</a> more details here: <a href="http://www.optimalworks.net/blog/2007/web-development/javascript/innerhtml-alternative" rel="nofollow">http://www.optimalworks.net/blog/2007/web-development/javascript/innerhtml-alternative</a> I developed a JS function called BetterInnerHTML that does just that - you pass an HTML string, like you would with innerHTML, but it uses DOM node creation methods to create the content. It’s therefore as easy to use as innerHTML but doesn’t have the problems.

It’s just 1Kb of code and available here:
http://www.optimalworks.net/resources/betterinnerhtml/

more details here:
http://www.optimalworks.net/blog/2007/web-development/javascript/innerhtml-alternative

]]>
By: 20 Useful Tools to Make Web Development More Efficient | Six Revisions http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64325 20 Useful Tools to Make Web Development More Efficient | Six Revisions Thu, 15 May 2008 01:31:50 +0000 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-64325 [...] 9. DOMTool [...] [...] 9. DOMTool [...]

]]>
By: Rajesh http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-37743 Rajesh Mon, 07 May 2007 07:04:13 +0000 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-37743 Is there a packaged version of this tool that can be used within an application on-the-fly for converting HTML blocks into DOM statements? Something like ... var theHTML = "[p][strong]this is a test[/strong][/p]"; var theDOM = DOMTool(theHTML); eval(theDOM); Or maybe just... DOMTool(theHTML); which could automatically call eval() at the end. How about that? Is there a packaged version of this tool that can be used within an application on-the-fly for converting HTML blocks into DOM statements? Something like …

var theHTML = “[p][strong]this is a test[/strong][/p]“;
var theDOM = DOMTool(theHTML);
eval(theDOM);

Or maybe just…

DOMTool(theHTML);

which could automatically call eval() at the end. How about that?

]]>
By: wendelmaques » ModalBox 1.5 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-36692 wendelmaques » ModalBox 1.5 Fri, 13 Apr 2007 01:03:56 +0000 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-36692 [...] domtool pode ser usada para receber conteúdo HTML e criar uma estrutura DOM. [...] [...] domtool pode ser usada para receber conteúdo HTML e criar uma estrutura DOM. [...]

]]>
By: 煎蛋 » 网络最佳之2007年2月号 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-31627 煎蛋 » 网络最佳之2007年2月号 Fri, 16 Mar 2007 04:58:08 +0000 http://muffinresearch.co.uk/archives/2006/11/28/domtool/#comment-31627 [...] 快速高亮效果 Weebly - 傻瓜式建站 DOMTool:HTML 源码工具 WriteMaps:站点地图工具 Spotplex:blog 即时评测 WordPress Feed [...] [...] 快速高亮效果 Weebly - 傻瓜式建站 DOMTool:HTML 源码工具 WriteMaps:站点地图工具 Spotplex:blog 即时评测 WordPress Feed [...]

]]>