<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Along with what others have said:<br>
<a href="http://www.jsonlint.com/"><br>
</a>
<ul>
<li><a href="http://www.jsonlint.com/">http://www.jsonlint.com/</a>
- for validating any JSON that comes from a server</li>
<li>Fiddler - for rerunning Ajax calls</li>
<li><a href="http://code.google.com/closure/">http://code.google.com/closure/</a>
- for minifying production code (and as another check of code
quality)</li>
<li>making sure gzip is set up on your server. </li>
<li>The ExtJS docs - <a
href="http://dev.sencha.com/deploy/dev/docs/">http://dev.sencha.com/deploy/dev/doc</a><a
href="http://dev.sencha.com/deploy/dev/docs/">s/</a></li>
<li>Also I am testing a trial version of <a
href="http://www.illuminations-for-developers.com/product/debugger/">http://www.illuminations-for-developers.com/product/debugger/</a></li>
</ul>
Plus writing: <br>
<br>
debugger;<br>
<br>
In JavaScript files to automatically create a breakpoint in FireFox
to check what exactly is happening. <br>
<br>
Regards,<br>
<br>
Seth G. <br>
<br>
<a href="http://geographika.co.uk">http://geographika.co.uk</a><br>
<br>
On 24/01/2011 16:23, Matt Priour wrote:
<blockquote cite="mid:9669697AFFD8430FBDD78995739BEDB8@Lenovo"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<meta content="MSHTML 6.00.6002.18332" name="GENERATOR">
<div><font face="Arial" size="2">1. Develop with full library,
& I tend to use the full debug versions. Yes, it makes
your code load much slower and the 20-30s page reload times
can get tiresome, but if you encounter an error, using the
debug versions will let you find where you are going wrong.</font></div>
<div> </div>
<div><font face="Arial" size="2">2. IE8 & IE9 have built-in
debugger that is very similar to the WebKit (Safari / Chrome)
Developer Tools. If you want even more control and want a full
featured debug environment, Visual Studio Web Developer
Express is an EXCELLENT debugger. VS WebDev Express is
available for free from Microsoft (along with all their other
"Express" products). I wish there was a way to get it to
attach to non-IE browsers because it is a truly awesome
debugger. You can use the VS debugger in IE7 & (good god,
no!!!) IE6 as well which don't have an integrated debugger.</font></div>
<div> </div>
<div><font face="Arial" size="2">Hope that helps</font></div>
<div> </div>
<div><font face="Arial" size="2">Matt Priour</font></div>
<div><font face="Arial" size="2">Kestrel Computer Consulting</font></div>
<div style="font: 10pt Tahoma;">
<div><br>
</div>
<div style="background: none repeat scroll 0% 0% rgb(245, 245,
245);">
<div style=""><b>From:</b> <a moz-do-not-send="true"
title="robertdbuckley@yahoo.com"
href="mailto:robertdbuckley@yahoo.com">Robert Buckley</a>
</div>
<div><b>Sent:</b> Monday, January 24, 2011 2:23 AM</div>
<div><b>To:</b> <a moz-do-not-send="true"
title="users@geoext.org" href="mailto:users@geoext.org">users@geoext.org</a>
</div>
<div><b>Subject:</b> [Users] Advice regarding optimization and
debugging</div>
</div>
</div>
<div><br>
</div>
<div style="font-size: 8pt; font-family:
arial,helvetica,sans-serif;">Good Morning,<br>
<br>
Could someone please offer some advice regarding...<br>
<br>
<br>
1. How to successfully reduce the loading time of a
geoext/openlayers project.<br>
I am aware that the loading time of these libraries takes up to
between 5 - 10 seconds. Therefore... should I look through my
code after the project is completed and note which controls have
been used and then create a customized openlayers js library or
do you generally plan a project with the tools and controls
already defined and create the openlayers.js before you start
programming? In my experience (which is very limited) I start
programming with the whole openlayers/geoext/ext libraries so
that when I need to add something which was not planned before
hand, I don´t have to worry about loading new code into the js
library. Assuming this is the way most programmers start, which
method do you use to remove unused scripts?<br>
<br>
2. Debugging a project.<br>
I am using Aptana (free version) and firefox with firebug to
develop. This combination works great....until I open the
project with Internet Explorer and discover that nothing
works! Does anyone have any tips regarding writing code which
can be used to simultaneously debug in Firefox and IE? I find
that most errors are forgotten commas, but occasionally there
are undfined objects which show up in the ie developer tool bar
as errors in the openlayers.js code. These errors are the worst
as there is not direct link to the code in my own scripts? Does
anyone have any IE debugging tools which help? How do you get
around these problems? Anyone used Chrome to debug?<br>
<br>
<br>
Thanks for any replies/comments/suggestions,<br>
<br>
Yours,<br>
<br>
Robert Buckley<br>
<br>
<div><br>
</div>
</div>
<br>
<p>
</p>
<hr>
_______________________________________________<br>
Users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>