|
POST
|
One thing I'd like to see is a write up of things that dojo does poorly and could be improved by switching to jQuery. I'm not advocating that Esri switch to jQuery, but here are some reasons I prefer to use jQuery over Dojo. jQuery has better documentation than Dojo. Not just jQuery and Dojo's own websites, but it's easier to find outside tutorials for accomplishing a task with jQuery than with Dojo using a search engine. Most things are more complicated in Dojo than jQuery. For example, try going through the both the jQuery Mobile and Dojo Mobile tutorials. I found that it is much easier for me to create my own widgets in jQuery (using the jQuery UI Widget Factory) than it is to create "dijits". The Dojo UI controls are weird. When you create a Dojo UI Button, it changes the HTML button element into a span element. When you create a jQuery UI Button, it remains an HTML button. When I create controls for developers who have no GIS experience, I currently create them using jQuery UI Widget Factory using a minimal amount of Dojo as required for the ArcGIS JS API.
... View more
12-27-2012
08:47 AM
|
0
|
0
|
1739
|
|
POST
|
You guys will probably want to promote the Visual Studio 2012 integration idea on the ArcGIS Ideas site.
... View more
12-12-2012
02:21 PM
|
0
|
0
|
3851
|
|
POST
|
I think that call is how the ArcGIS JS API determines if the ArcGIS Server supports CORS. http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_esri_request.html
... View more
11-20-2012
12:44 PM
|
0
|
0
|
1019
|
|
POST
|
You don't need a driver to access the ArcGIS JavaScript API.
... View more
11-20-2012
12:26 PM
|
0
|
0
|
803
|
|
POST
|
The first thing I would do is run the JavaScript code through JSLint or JSHint to catch any errors. Some errors will be ignored by one browser but not another.
... View more
11-20-2012
12:24 PM
|
0
|
0
|
1055
|
|
POST
|
Note that the browser's local storage capacity is limited. In that sample the local storage fills up quite quickly. (You can see this using the debugging tools in Chrome or using Firebug with Firefox. Both are accessed using the F12 key.) In order to take advantage of CORS, both the web browser and the ArcGIS Server will also need to support it. The ArcGIS JavaScript API will actually use CORS if it is possible, and fall back on other methods if not. This page describes this in more detail: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_esri_request.html.
... View more
11-19-2012
11:14 AM
|
0
|
0
|
670
|
|
POST
|
If you're using Aptana, try enabling JSLint validation. It will help you track down a lot of simple issues like that. There is also a JSLint extension for Visual Studio available through NuGet.
... View more
11-14-2012
10:40 AM
|
0
|
0
|
577
|