forked from dbouwman/agsruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
573 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<loadpath> | ||
<pathentry path="" type="src"/> | ||
<pathentry path="org.rubypeople.rdt.launching.RUBY_CONTAINER" type="con"/> | ||
<pathentry path="GEM_LIB/activeresource-2.3.5/lib" type="var"/> | ||
<pathentry path="GEM_LIB/activerecord-2.3.5/lib" type="var"/> | ||
<pathentry path="GEM_LIB/actionpack-2.3.5/lib" type="var"/> | ||
<pathentry path="GEM_LIB/rake-0.8.7/lib" type="var"/> | ||
<pathentry path="GEM_LIB/activesupport-2.3.5/lib" type="var"/> | ||
<pathentry path="GEM_LIB/rails-2.3.5/lib" type="var"/> | ||
<pathentry path="GEM_LIB/actionmailer-2.3.5/lib" type="var"/> | ||
</loadpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>esruby</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.rubypeople.rdt.core.rubybuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.rubypeople.rdt.core.rubynature</nature> | ||
<nature>org.radrails.rails.core.railsnature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<div id="searchbar"> | ||
<div class="container"> | ||
<div class="span-24 last"> | ||
| ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="container"> | ||
<div class="span-24 append-bottom last"> | ||
|
||
<h2>About this Application</h2> | ||
<p>This application was created to explore the use of ArcGIS Server in conjunction with a Ruby on Rails application. </p> | ||
<p>While I learned quite a bit, I must say that I would not go aout of my way to work with ArcGIS Server using Ruby. This is likely | ||
because my Ruby chops are not that hot, and every single thing I did involved a lot of Google.</p> | ||
<p>On the upside, the Ruby community is great, and although there is a certain level of dislike to SOAP services, this project | ||
shows that it is possible (despite having to get up close and really personal with the underlying Xml).</p> | ||
<h2>About the code...</h2> | ||
<p>The code for this application will be pushed up to GitHub. I used the arcserver.rb project as a starting point for some of my code. I'm | ||
no planning on pushing that back into a fork of that project because what I ended up with is so very very tied to my project that it's not | ||
worth pushing back up. I suppose some refactoring could help clean things up a little, but I'm really tight for time, so feel free to pull out | ||
that code and push it into your own fork of arcserver.rb.</p> | ||
<h2>Contact me...</h2> | ||
<p>It's easiest to contact me via my blog: <a href="http://blog.davebouwman.com">http://blog.davebouwman.com</a></p> | ||
</div> | ||
<div class="span-5 append-1"> | ||
<h2>Ruby & Rails</h2> | ||
<ul> | ||
<li>Ruby v1.8.7</li> | ||
<li>Rails v2.3.5</li> | ||
</ul> | ||
</div> | ||
<div class="span-5 append-1"> | ||
<h2>Gems</h2> | ||
<ul> | ||
<li>HTTParty</li> | ||
<li>HandSoap</li> | ||
<li>shoulda</li> | ||
<li>mocha</li> | ||
<li>httpclient</li> | ||
<li>json</li> | ||
<li>test-unit</li> | ||
<li>nokogiri</li> | ||
</ul> | ||
</div> | ||
<div class="span-5 append-1"> | ||
<h2>Tools</h2> | ||
<ul> | ||
<li>RadRails</li> | ||
<li>NotePad++</li> | ||
<li>SoapUI</li> | ||
<li>ArcGIS Server</li> | ||
</ul> | ||
</div> | ||
<div class="span-5 append-1 last"> | ||
<h2>Thanks To...</h2> | ||
<ul> | ||
<li>Rails Guides</li> | ||
<li>arcservder.rb</li> | ||
<li>My Wife who put up with this project eating up evenings for much too long</li> | ||
</ul> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
|
||
|
||
<div id="searchbar"> | ||
<div class="container"> | ||
<div class="span-24 last"> | ||
<% form_remote_tag(:url => {:action => 'search',:method => 'get'}, | ||
:before => "Element.show('spinner');", | ||
:complete => "Element.hide('spinner');" | ||
) do %> | ||
<label for="search_type" class="search_prompt">Search for parcels where:</label> | ||
<%= select_tag(:search_type, options_for_select([['Owner','OWNER1'],['Tax Id','TLID']],'owner'))%> | ||
<span class="search_prompt">is</span> | ||
<%= text_field_tag(:search_criteria) %> | ||
<%= submit_tag "", :class =>"search_button" %> | ||
|
||
<% end-%> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="span-24 last"> | ||
<div class="notice" id='spinner' style="display:none;"> | ||
<span>Let's load some data!<%= image_tag "loading.gif", :style => 'display:block;'%></span> | ||
</div> | ||
</div> | ||
<div class="span-24 last"> | ||
<div id="results" class="span-21 prepend-top prepend-1 append-1 last"> | ||
<div class="span-7"> | ||
<span class="chunk">Get Ruby</span> | ||
<a href="http://ruby-lang.org"><img src="images/ruby.png" alt="get ruby"/></a> | ||
</div> | ||
|
||
<div class="span-7"> | ||
<span class="chunk">Get Rails</span> | ||
<a href="http://rubyonrails.org"><img src="images/rails.png" alt="get rails"/></a> | ||
</div> | ||
<div class="span-7 last"> | ||
<span class="chunk">Get Data</span> | ||
<a href="http://www.arcgisonline.com/home/"><img src="images/ags.png" alt="get data"/></a> | ||
</div> | ||
|
||
<div class="span-21 prepend-top last"> | ||
<h1 class="ga">Get your Mash-up Freak On!</h1> | ||
<p class="headline">Ruby is a fun language, and Rails streamlines the bejeesus out of | ||
web development. ArcGIS Server has API's that are <span style="text-decoration:line-through;">easy to consume</span> consumable! </p> | ||
<p class="headline">Come on, jump in! The water is warm!</p> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" > | ||
<head> | ||
<%= stylesheet_link_tag "blueprint/screen" %> | ||
<%= stylesheet_link_tag "site" %> | ||
<%= javascript_include_tag :defaults %> | ||
</head> | ||
|
||
|
||
<body> | ||
<div class="wrapper"> | ||
<div id="header"> | ||
<div class="container"> | ||
<div class="span-18"> | ||
<%= image_tag "logo-large.png", :class => 'left'%> | ||
</div> | ||
<div class="span-6 last"> | ||
<div id="nav_container"> | ||
<ul id="nav"> | ||
<li><a href="#"><h3>Code</h3></a></li> | ||
<li><%= link_to "<h3>About</h3>", {:controller => 'home', :action=>'about'} %></li> | ||
|
||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<%= yield %> | ||
<div class="push"></div> | ||
</div> | ||
<div id="footer"> | ||
<div class="container"> | ||
<div class="span-24 prepend-top last"> | ||
<div style="float:right;"> | ||
<a href="http://www.dtsagile.com"><img src="images/dtsagile-logo.png" alt="dtsagile"/></a> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" > | ||
<head> | ||
<%= stylesheet_link_tag "blueprint/screen" %> | ||
<%= stylesheet_link_tag "site" %> | ||
<%= javascript_include_tag :defaults %> | ||
</head> | ||
|
||
<body> | ||
<div class="wrapper"> | ||
<div id="header"> | ||
<div class="container"> | ||
<div class="span-18"> | ||
<%= image_tag "logo-large.png", :class => 'left'%> | ||
</div> | ||
<div class="span-6 last"> | ||
<div id="nav_container"> | ||
<ul id="nav"> | ||
<li><%= link_to "<h3>Search</h3>", :controller=>'home', :action=>'index' %></li> | ||
<li><a href="#"><h3>Code</h3></a></li> | ||
<li><%= link_to "<h3>About</h3>", :controller=>'home', :action=>'about' %></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<%= yield %> | ||
<div class="push"></div> | ||
</div> | ||
<div id="footer"> | ||
<div class="container"> | ||
<div class="span-24 prepend-top last"> | ||
<h2>Teh Footerz bes needing to hav some goodies.</h2> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.