New to ARcGIS API for JavaScript - Where do I start?

744
1
11-28-2012 07:30 AM
by Anonymous User
Not applicable
Original User: helenchu

Hi all:

I'm brand new at this thing and I'd like to give it a try.  I need a little help to set it up. 
1/  Which development environments should I use? 

�?�Configure Aptana Studio 2
�?�Configure Aptana Studio 3
�?�Configure Notepad++
�?�Configure Visual Web Developer Express

2/ What is dojo?  is it another development enviroment just like the above?
3/ Are there any other good reads/samples other than these two pages?
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/intro_agstemplate.ht...
http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/...

Thanks so much for your help.
0 Kudos
1 Reply
by Anonymous User
Not applicable
Original User: odoe

Your second link is for an older version of the API (1.6), don't use that.
I would start with reviewing all the ESRI provided info in the Concepts section.
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm
Just get familiar with it. Going over the samples and trying things out is incredibly helpful.

This also varies on your background, if you have done some development in another language before, which is quite helpful, but not a hard requirement.

Editors are really a personal preference. Aptana seems to be a popular choice. If you come from a .NET background, then Visual Studio might be easier. Both have plugins for intellisense if that's your thing. Notepad++/vim don't have intellisense, but I think force you to really delve deep into the docs when you need to (personal opinion). I would say try a few and use what ever helps you be more productive.

Dojo is a javascript framework, one of many, but the one that the ArcGIS JavaScript API is built on. The two are joined at the hip, so it would be quite worth the time to read up on it.

There are some Dojo books out there and they still have some good info, but since 1.7, the Dojo site is probably the number 1 resource. The docs have improved greatly since last year, it used to be a trainwreck, but today are incredibly well written.

I would emphasize these two.
Configuring Dojo with dojoConfig
Defining Modules

*edit - I just finished reading this one while looking at the docs and I think this covers some new "dojoness" real well.
Modern Dojo

And I think the ArcGIS JS docs refer to this one too, which you'll need to use in your config.
Using Custom Modules with a CDN

This does not include regular JavaScript pages out there for general JS help.
In that regard, if you are new to JavaScript, nettuts+ has a quick rundown on some material and suggestions.
http://net.tutsplus.com/tutorials/javascript-ajax/the-best-way-to-learn-javascript/
0 Kudos