<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JavaScript replacing ArcObjects in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-replacing-arcobjects/m-p/33137#M2682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can the JavaScript API be a complete replacement for the following ArcObjects classes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.carto.FeatureLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.carto.IFeatureLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.Feature;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IFeature;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IFeatureClass;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IFeatureCursor;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IQueryFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.ISpatialFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.QueryFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.SpatialFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geometry.Polygon;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm faced with converting some ArcObjects projects in ArcGIS Server to either JavaScript or push the functionality into SOE's.&amp;nbsp; Just curious if JavaScript is mature enough for the things we would normally do using FeatureCursors and FeatureClasses with respect to accessing the attribute data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Aug 2013 19:28:59 GMT</pubDate>
    <dc:creator>LeoDonahue</dc:creator>
    <dc:date>2013-08-22T19:28:59Z</dc:date>
    <item>
      <title>JavaScript replacing ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-replacing-arcobjects/m-p/33137#M2682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can the JavaScript API be a complete replacement for the following ArcObjects classes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.carto.FeatureLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.carto.IFeatureLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.Feature;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IFeature;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IFeatureClass;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IFeatureCursor;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IQueryFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.ISpatialFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.QueryFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.SpatialFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geometry.Polygon;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm faced with converting some ArcObjects projects in ArcGIS Server to either JavaScript or push the functionality into SOE's.&amp;nbsp; Just curious if JavaScript is mature enough for the things we would normally do using FeatureCursors and FeatureClasses with respect to accessing the attribute data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 19:28:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-replacing-arcobjects/m-p/33137#M2682</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-08-22T19:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript replacing ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-replacing-arcobjects/m-p/33138#M2683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As to accessing the attributes, Javascript API should meet most of your needs. Check QueryTask, FeatureLayer.queryFeatures etc. Here are many query related samples available: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/en/javascript/jssamples/#search/query" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/en/javascript/jssamples/#search/query&lt;/A&gt;&lt;SPAN&gt;. One thing for sure, JS API can never completely reach the ability ArcObjects can. That's why SOE is needed sometime. But JS API is well designed to meet most of your online mapping needs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As to your specific question, here are the counterpart classes I can think of to match the ability of the listed ArcObjects classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#0000CD&amp;quot;;"&gt;esri.layers.FeatureLayer&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.carto.FeatureLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.carto.IFeatureLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#0000CD&amp;quot;;"&gt;esri.Graphic&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.Feature;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IFeature;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// no good match from JS API. But you should be able to accomplish most of the abilities by &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// combining the power of &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#0000CD&amp;quot;;"&gt;esri.Graphic, esri.layers.FeatureLayer, esri.layers.GraphicsLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IFeatureClass;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#0000CD&amp;quot;;"&gt;FeatureSet&lt;/SPAN&gt;&lt;SPAN&gt;: object returned from the queryTask, featureLayer.queryFeatures, and featureLayer.selectFeatures.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IFeatureCursor;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#0000CD&amp;quot;;"&gt;esri.tasks.Query&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.IQueryFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.ISpatialFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.QueryFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geodatabase.SpatialFilter;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#0000CD&amp;quot;;"&gt;esri.geometry.Polygon&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geometry.Polygon;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 02:32:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-replacing-arcobjects/m-p/33138#M2683</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-08-23T02:32:26Z</dc:date>
    </item>
  </channel>
</rss>

