欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2/Agda, C++/Lisp/Haskell
Enterprise Ruby
来自开放百科 - 灰狐
(版本间的差异)
第43行: | 第43行: | ||
$ ruby script/generate controller intro | $ ruby script/generate controller intro | ||
vi app/views/intro/map.rhtml | vi app/views/intro/map.rhtml | ||
− | + | <html> | |
<head> | <head> | ||
<script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.7&appid=pPDCgjnV34FJ3TxysU9K.FpFYQ3A_QYJ4VrAJQuyFcFv91Hf0r3PU5tr3SYBhMvOoM__"> | <script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.7&appid=pPDCgjnV34FJ3TxysU9K.FpFYQ3A_QYJ4VrAJQuyFcFv91Hf0r3PU5tr3SYBhMvOoM__"> | ||
第66行: | 第66行: | ||
<div id="map" style="width: 500px; height: 500px"></div> | <div id="map" style="width: 500px; height: 500px"></div> | ||
</body> | </body> | ||
− | </html | + | </html> |
http://localhost:3000/intro/map | http://localhost:3000/intro/map | ||
from Rails GIS Hacks | from Rails GIS Hacks |
2008年4月29日 (二) 13:21的版本
Ruby的企业级应用.
期待看到企业级市场 Java, Python, Ruby 三足鼎立的局面.
此外, Huihoo对Ruby的应用提供支持与服务: Huihoo Ruby Applications
目录 |
相关项目
- ActiveWarehouse
- RubyWorks
- RedMine
- OpenWFEru
- Rools
- Ruby Reports
- Ferret
- Capistrano
- Classified Ads
- XLsuite
- RForce
Web Services
Amazon Web Services
eBay Web Services
GIS & Map
- GeoRuby
- GeoKit
- YM4R
- Beginning Google Maps Applications with Rails and Ajax: http://book.earthcode.com/
Yahoo Map:
$ rails yahoo $ cd yahoo $ ruby script/generate controller intro vi app/views/intro/map.rhtml <html> <head> <script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.7&appid=pPDCgjnV34FJ3TxysU9K.FpFYQ3A_QYJ4VrAJQuyFcFv91Hf0r3PU5tr3SYBhMvOoM__"> </script>
<script type="text/javascript"> function load () { // Create a map object var map = new YMap(document.getElementById('map')); // Add map type control map.addTypeControl(); // Set map type to either of: YAHOO_MAP_SAT, // YAHOO_MAP_HYB, YAHOO_MAP_REG map.setMapType(YAHOO_MAP_HYB); // Display the map centered on a geocoded location map.drawZoomAndCenter("Berlin", 3); } </script> </head>
<body onload="load()">
</body> </html> http://localhost:3000/intro/map
from Rails GIS Hacks
相关链接
- Enterprise Ruby On Rails - http://defendem.com/read/book/1
- Enterprise Integration with Ruby - http://www.pragmaticprogrammer.com/titles/fr_eir/
- Enterprise Ruby Studio - http://pragmaticstudio.com/ruby/
分享您的观点