Esri International User Conference | San Diego, CA Technical Workshops | Building a Mapping Application Start-to-Finish Sathya Prasad July 12, 2011.

Slides:



Advertisements
Similar presentations
Esri International User Conference | San Diego, CA July 14, 2011 Troubleshooting ArcGIS Web APIs (JavaScript, Flex, Silverlight) from a Support Perspective.
Advertisements

Publishing GIS Services to ArcGIS for Server
Testing Web Applications & Services Testing Web Applications & Web Services.
Web Toolkit Julie George & Ronald Lopez 1. Requirements  Java SDK version 1.5 or later  Apache Ant is also necessary to run command line arguments 
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS API for Microsoft Silverlight – Advanced Topics Morten Nielsen
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California ArcGIS Viewer for Flex—
It’s always better live. MSDN Events Developing ASP.NET AJAX Controls with Silverlight.
Microsoft ® Official Course Introducing Apps for SharePoint SharePoint Practice Microsoft SharePoint 2013.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS Viewer for Flex An Introduction Canserina Kurnia and Derek Law July 12,
Creating a Hello App Using Google App Engine. What are Google apps? Apps is an abbreviation for application. An app is a piece of software. It can run.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 2013 Technical Preview and published July Introducing.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS for SharePoint, An Introduction Art Haddad Rich Zwaap.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS Runtime Euan Cameron Mary Harvey Ralf Gottschalk Road Ahead.
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
Chapter 6 DOJO TOOLKITS. Objectives Discuss XML DOM Discuss JSON Discuss Ajax Response in XML, HTML, JSON, and Other Data Type.
Presented by…. Group 2 1. Programming language 2Introduction.
Sharing Geographic Content
Kay Herzam Herzam IT Consulting What‘s new in ASP.NET MS TechTalk.
ArcGIS Online for Organizations
Pittsburgh Java User Group– Dec Java PureFaces: A JSF Framework Extension.
Lecture 8 – Platform as a Service. Introduction We have discussed the SPI model of Cloud Computing – IaaS – PaaS – SaaS.
RIA & Adobe Flex Yunhui Fu 11/05/2008. What’s RIA RIA (Rich Internet Applications) –web applications which look and perform like desktop applications.
Drupal Training Syllabus Chaitanya Lakshmi
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Introduction to ArcGIS API for JavaScript
Build a Free Website1 Build A Website For Free 2 ND Edition By Mark Bell.
Esri International User Conference | San Diego, CA Technical Workshops | Windows Phone – Developing Applications Kylie Donia and Eager Ip July 13, 2011.
Java Mobile Apps with GWT & PhoneGap Josh Marinacci, webOS Developer Advocate.
ALVIN CHAO GRIDS & PIECES : MINIMIZE LOAD TIME & INCREASE ACCESSIBILITY WITH RSS & CSS.
Extending ArcGIS for Server
Adapting web pages for mobile devices Fredrik Andersson Hannes Nevalainen.
Enabling High-Quality Printing in Web Applications
Cross Site Integration “mashups” cross site scripting.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California ArcGIS Viewer for Flex.
Introduction to Web AppBuilder for ArcGIS: JavaScript Apps Made Easy
Extend the Operations Dashboard with Custom Widgets (and more)
PERFORMANCE ENHANCEMENT IN ASP.NET By Hassan Tariq Session #1.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
Configuring the Briefing Book Application in your Community Lindsay Thomas.
ArcGIS Online: Sharing your Content Ben Ramseth John Thieling.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
Restricted © Siemens AG All rights reserved A Developer’s Insights Into Performance Optimizations for Mobile Web Apps CT DC AA EM LP2 | June 2015.
Website Design Best Practices. Topics  Navigation  Readability  Portability  Frameworks for Web Design  Model View Architecture MVC  SEO  Performance.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Publishing GIS Services to ArcGIS Server
APP DESIGN AND DEVELOPMENT WITH THE IONIC FRAMEWORK Chuck Leone
Build Cross-Platform Mobile Apps Using Visual Studio A Telerik webinar by Jeffrey T. Fritz March 27, 2014 AND.
Sharing Maps and Layers to Portal for ArcGIS Melanie Summers, Tom Shippee, Ty Fitzpatrick.
Google Maps API v3: Built First for Mobile Susannah Raub Google June 24, 2010.
Essential tools for implementing and testing websites
Developing GIS WebParts in SharePoint
Google Web Toolkit Tutorial
Platform as a Service.
Michael Robertson Yuta Takayama Google Closure Tools.
Web App Builder and Me Ken Carrier – Senior GIS Specialist – City of Hamilton & Joe Guzi – GIS Systems Analyst – Stark County.
PHP Training at GoLogica in Bangalore
Introduction to SharePoint Framework (SPFx)
Web scraping tools, an introduction
Introduction to SharePoint Framework
Module P3 Practical: Building a webapp in nodejs and
And I have to create mobile apps too?
Office 365 Development.
HTML5 Level I CyberAdvantage
Chengyu Sun California State University, Los Angeles
04 | Apps and SharePoint Chris Johnson | SharePoint Guru
ArcGIS Online Best Practices for Publishing & Sharing
ArcGIS Online – The Road Ahead
HTML5 Level I CyberAdvantage
Introduction to Portal for ArcGIS
#01# ASP.NET Core Overview Design by: TEDU Trainer: Bach Ngoc Toan
Presentation transcript:

Esri International User Conference | San Diego, CA Technical Workshops | Building a Mapping Application Start-to-Finish Sathya Prasad July 12, 2011

Introductions Sathya Prasad - Applications Prototype Lab, Esri Redlands - sathyaprasad - Nick Doiron - Summer Intern, Esri Redlands - Student, Carnegie Mellon -

Topics Covered Web App development (Mashup) - Dojo - HTML + JavaScript + CSS - ArcGIS API for JavaScript ArcGIS.com webmaps Social Feeds and API’s

Agenda What How - Demos - App code + Dojo gems Demos - More apps Deployment Future

Requirements Client side web app - HTML + JavaScript + CSS Use ArcGIS API for JavaScript for mapping Framework - Dojo/DojoX/Dijits for core and UI Highly customizable and configurable apps Mobile web app - Dojox Mobile GIS content - Integrate with ArcGIS.com

Requirements Social Media layers - Twitter, Flickr, YouTube, Wikipedia, News feeds, etc. Build reusable social media layers - Social library, fully functional, self-contained Add heat map at client side In 2 weeks or less - Design, content, coding

Initial Design

Demo Finished Web App Mobile App

Anatomy of the App HTML - Index.html CSS - Layout.css, IE.css JS - App.js - Twitter.js, flickr.js, youtube.js (social layers) - Heatlayer.js

Social Layers – Library Social.twitter Social.flickr Social.youtube Social.wikipedia ……. Easy to add Have common methods & properties Uses feature layer

Tools used Coding - Aptana Studio + code assist plugin - Notepad ++ UI - JavaScript + CSS + Dojo/Dijits Browser - Chrome Firefox 5.0 Debugging - Chrome Developer Tools - Firefox firebug extension

API’s used Mapping: ArcGIS API for JavaScript - Compact version Bundled Dojo version ArcGIS.com web maps Social Media - Twitter API - Youtube Data API - Flickr API - GeoRSS feeds

Testing tools Manual Testing Browsers - Chrome 13, Firefox 5, IE 9 (with compatibility modes) Deployment - Fiddler for http headers

Demo ArcGIS.com Webmap URL params App Code Debugging

Dojo Gems Dojo.hitch Dojo.query Dojo.forEach, Dojo.map, Dojo.some Dojo.connect Dojo.declare Dojo.mixin

Deployment Optimizing - Minifying - Gzip and cache headers Hosting - Local or on-premise webservers - Amazon S3 buckets - Google AppEngine - Amazon BeanStalk

Optimizing Minifying and Obfuscating (optional) - YUI Compressor - Google Closure tools - Dojo Build FileOriginal SizeMinifiedCompressed Index.html9.69 KB--3 KB App.js19 KB12 KB4 KB Layout.css8 KB6 KB2 KB

Options to Run your app Simple HTML based - Client side Include in server side solutions - Java Web App (WAR file) - PHP/RoR etc …. - ASP.Net MVC

Deploying Options On-premise - Local Webservers Cloud based - Amazon EC2 - Hosting providers - PaaS (AppEngine. Azure)

Local Webservers / Amazon EC2 / Hosting Providers IIS, Tomcat, Apache etc… Enable - Gzip compression - css,html and javascript (Not for images) - Cache headers for fairly static resources - css, images and javascript

Hosting: Amazon S3 bucket Mark S3 bucket as static website Upload your files Configure HTTP headers Configure index and error pages 1.amazonaws.com/socialmap 1.amazonaws.com/socialmap Cannot use traditional server-side proxy for cross domain access - JSONP and YQL proxy works Does not GZIP content - Upload Gzip’d files and add header

YQL Proxy var contentType = "xml"; //can be xml or json or html var url = " M5.xml"; var requestHandle = dojo.io.script.get({ url: " content: { "format": "json", "diagnostics": true, "debug" : false, "q": "select * from " + contentType + " where url='"+ url + "'" }, callbackParamName: "callback", timeout: 10000, load: requestSucceeded, error: requestFailed }); Link

App Engine Create a new application on appengine.google.com Install Eclipse + Google Plugin for Eclipse Create a new appspot project Add your files Deploy to your account

Demo Other Apps

Future – Things we didn’t get to do HTML 5 template - With Modernizer for older browsers - With local storage for caching map tiles Adding analytics Add Graphics Optimize further - Using image sprites

Questions? Download Link Session Feedback (Online only) -