Select to view content in your preferred language

create a webapp in arcgis 10.0 using javascript

1758
7
05-01-2019 02:53 AM
SuhailSalim
Emerging Contributor

I need to develop a web application using java script in Arcgis 10.0, If any one don't mind point me the way to learn to  in arcgis 10.0. cos most of the info I have are misleading.  

 

Am i Spamming ? if i post to each group ?

I am desperate 

0 Kudos
7 Replies
DanPatterson_Retired
MVP Emeritus
SuhailSalim
Emerging Contributor

i am tryin..!! to do....share ..thingy !!

0 Kudos
SuhailSalim
Emerging Contributor

done!!

0 Kudos
BillChappell
Frequent Contributor

Are you talking about ArcGIS Desktop or Server?  Desktop needs server to create services that you can use ArcGIS JavaScript[pt API with. If you don't have ArcServer, you need something else to create services. It's a 2 part problem, the first is the data services and the second is the JavaScript web pages to display the services.

For the data services, you can use ArcServer, ArcGIS On-line to host them, or KOOP which can create GeoJSON and/or FeatureLayer services. There is also methods to turn your Shapefiles into GeoJSON and use the GeoJSON files in your JavaScript web app.

For the app, you can use Esri's ArcGIS JavaScript API, Leaflet JS with the Esri plugin, or even ArcGIS on-line. 

You have plenty of good options, Esri, open-Source, or a Hybrid, it all depends on your familiarity, budget, and skill set. 

SuhailSalim
Emerging Contributor

Bill,

thanks for the reply. I am using ArcGIS desktop 10.0, I cannot use arc server (the application use arc server)for some reasons. my application is designed using flex, since Adobe closing all of it, they fear the application won't work. hence they decided to change the application into javascript. They think that changing the application to javascript would fix their future issue(coding). 

Never tried or heard of koop, I will give it a try.

So what do you suggest to me ..like where should I start, I can't talk them out to update. Like what should i do?

0 Kudos
BillChappell
Frequent Contributor

Okay here is my 2 cents worth. I work for a state Dept of Health and teach advanced GIS at a local college (python/JavaScript). As a developer I work within the framework they have, which is basically a hybrid approach.

We can not use ArcGIS.com because of the health information and almost all my apps are intranet only. ArcGIS.com is an easy way to take shapefiles and get a FeatureLayer without ArcServer but it carries a cost. Koop (https://github.com/koopjs/koop) was introduced to us at a Esri function, it looks like a great option for us as it lets us live in both worlds (Esri/Open-source)

We use ArcMap for almost all internal GIS maps and data edits. We have a few services up on ArcServer but there is a strong open source push here to stretch budgets. We lean toward the Hybrid approach.

Many times I will take Shapefiles and use QGIS to convert them to GeoJSON. Until Esri makes a good working tool/method to make GeoJSON, QGIS is my best option. If my data is CSV there are many CSV2GeoJSON on-line converters. Then I take the GeoJSON files and use it in Leaflet. (This is for static data that doesn’t change.)

For Dynamic data we store it in Oracle or PostGIS, some simple PHP converts this to GeoJSON and we use this as a source for our apps. Many other state agencies serve their data using ArcServer and some of our federal partners also do this.

Now for our applications, since the open-source angle is pushed, I use Leaflet. There is an Esri plug in to use their basemaps and ArcServer Services in it. This help us use our GeoJSON with the other services we need to use.

I also teach advanced GIS, I basically have 8 weeks to teach the web mapping portion. To teach Envi and Geography students JavaScript in this time is tough. Using ArcGIS JS API is impossible to students who are not programmers, Leaflet JS is simple and gets them started, and it they like it they can then jump to the AMD/DOJO world later. At the same time I have 3000+ line apps that work great in Leaflet, that show it’s more then a lightweight app.

I really do like the hybrid approach, I teach ArcGIS Pro for intro classes, and use the Esri products daily. However I use the tools that make my job easier and work within the constraints I have.

Good Luck,

Bill

Bill Chappell, GISP

ITS Group - GIS Developer

800 North Pearl Street- Room 222

Menands, NY 12204

William.Chappell@Its.ny.gov<mailto:William.Chappell@Its.ny.gov>

<https://www.certmetrics.com/esri/public/badge.aspx?t=c&d=2013-01-16&i=14&ci=ESRI00102621>

GeoNet <https://community.esri.com/?et=watches.email.thread>

Re: create a webapp in arcgis 10.0 using javascript

reply from Suhail Salim<https://community.esri.com/people/suhailbinsalim?et=watches.email.thread> in Web Developers - View the full discussion<https://community.esri.com/message/849778-re-create-a-webapp-in-arcgis-100-using-javascript?commentID=849778&et=watches.email.thread#comment-849778>

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi Suhail,

Please see my reply to your other similar topic thread,

https://community.esri.com/thread/233001-arcgis-100-web-app-in-js 

Please do not repeat/duplicate posts.

Thanks,

0 Kudos