About Myself
15 Years of Experience in the GIS Industry
Independent Contractor
Recent Projects:– Survey Parcel Tool for the Louisiana Department of
Transportation
– Lease Document Generation Tool for an Asset Management Company
– Address Editing Tool for Tarrant County 911
– Web Developer for 1519GIS.com
SCAUG 2015 Geogeeks Online
Overview
April 2015 Geogeeks Online
ArcGIS
ArcGIS API for JavaScript
Easily embed maps and tasks in web applications Supported in major browsers Optimized for mobile platforms Tons of samples and public apps available Integrated with ArcGIS Server Tasks Can be integrated with ArcGIS Online Easy to add widgets Supports HTML5 and CSS3 Compatible with other JavaScript frameworks (jQuery)
https://developers.arcgis.com/javascript/
April 2015 Geogeeks Online
Example JavaScript Apps
Esri's Application Boilerplate– Live Demo:http://esri.github.io/application-boilerplate-js/application_boilerplate/– Download from GitHub:https://github.com/Esri/application-boilerplate-js
Esri's Basic Viewer App– Live Demo:
http://www.arcgis.com/apps/OnePane/basicviewer/index.html?webmap=f5b13dbed07c46cdb783cf361833aa6b
– Download from GitHub:https://github.com/Esri/basic-viewer-template
Esri's WebApp Builderhttp://doc.arcgis.com/en/web-appbuilder
April 2015 Geogeeks Online
The Django Framework
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Open Source Follows the model–view–controller
architectural pattern.
April 2015 Geogeeks Online
Django Powered Sites
Currently used by over 4600 websites.
Some that you probably know:
April 2015 Geogeeks Online
Why We Love Python
Open-source (It’s Free!!!) Cross-platform High-level dynamic object-oriented programming
language Supports structured programming - can be used for
procedural programming and limited support of functional programming
It's designed to be easy to program and easy to read Small core with large standard library and designed to
be highly extensible Language of choice for the open-source GIS world
Geogeeks OnlineApril 2015
Model–View–Controller Architectural Pattern
Simply put, MVC is way of developing software so that the code for defining and accessing data (the model) is separate from request-routing logic (the controller), which in turn is separate from the user interface (the view). - The Django Book
The idea is to maintain a loose coupling between the various components.
The Django Web Application is split across at least 4 components:1. models.py (Model)2. views.py (View)3. urls.py (Controller)4. html_template.html (HTML Templates)
MVC Design Pattern
April 2015 Geogeeks Online
Django Features
Database Abstraction Pretty URL's Platform Independence Theme Separation Built-in Admin Interface Tested Modules (user authorization, session
protection, and more) Cache System International Support Development Web Server
April 2015 Geogeeks Online
Functionality via Django
Increased Functionality Enabled by Django: Implement user-based authentication and
authorization Automatically generate and send emails/texts to
registered users and admin staff Export feature attributes to a downloadable csv
file Turn functionality on and off for individual
sites/users Store user-specific bookmarks in maps
April 2015 Geogeeks Online
Rackspace Cloud Server 15 GB Memory v1 Dallas (DFW)
Windows Server 2012 R2 (Fully Patched)
Apache 2.4.12 win64 VC10
Tomcat 7 Django 1.7 (Python
2.7.9)
ArcGIS Server 10.3 SSL Enabled Web Adaptor Python 2.7.8
PostgreSQL 9.3.5 (64-bit)
PostGIS 2.1 Aptana Studio 3 (IDE) Git
April 2015 Geogeeks Online
Demo Site Environment
Web App Components
ArcGIS API for JavaScript 3.12 (Dojo 1.10.2)
jQuery v2.1.0
Bootstrap v3.1.0
Google’s reCAPTCHA
April 2015 Geogeeks Online
Web App Tour
Demo Sitehttps://www.gisnuts.spatial.services
Tour:1. Site Registration and Authentication2. JavaScript Apps3. Contact Us Form4. Database5. Create Blank Web Map6. Add Layer to Map7. Create Webmap from ArcGIS Online Map ID8. Add Secure Layer9. Add Secure Print Service10. Show Louisiana State Office Closures Map11. Show Geoprocessing Task
April 2015 Geogeeks Online
Questions?
Geogeeks Online
Leslie H. Morgan, [email protected]
Twitter: @GISNuts
LinkedIn: Leslie Morgan
Thanks for Attending
April 2015