|
|
| About site: Programming/Languages/Ruby/Software/Rails - RailRoad |
Return to Computers also Computers |
| About site: http://railroad.rubyforge.org/ |
Title: Programming/Languages/Ruby/Software/Rails - RailRoad Provides a class diagram generator. |
| Alexa statistic for http://railroad.rubyforge.org/ |
Please visit: http://railroad.rubyforge.org/
|
| Related sites for http://railroad.rubyforge.org/ |
| Mac_Fancy Search engine and directory of Mac links. | | Sudeep\'s_Review Student presents his experience studying for and passing the CCNA and recommends resource to others. | | Visavi_Software Specializes in software development for OPC communications, customized HMIs, and .NET technologies for industrial automation. | | Handykey_Corporation Sells combination of chording keyboard and mouse, called Twiddler, that weighs 4 ounces and fits in the palm of a hand. | | Carrot2 A search results clustering framework. Includes clustering components and a stand-alone meta search component. | | SQLinForm A free web-based Java tool to format any SQL statement independent from their Database. It can also prepare SQL statements for Java, C#, VB, ASP. | | TCVP Modular multimedia player, transcoder and streamer for Linux, AAC support through FAAC and FAAD2. | | Little_Multi_Clock An intuitive application to automatically synchronize a time clock with one of the U.S. atomic time clocks and it provides useful tools and options in working with accurate times. | | TSS2000 XP Styles, logon screens, desktop images, boot screens, and skins for Winamp and Icq. Site accepts submission from Authors. | | RFC_2718 Guidelines for New URL Schemes. L. Masinter, H. Alvestrand, D. Zigmond, R. Petke. November 1999. | | Tech-X_Corp_ Developer of free and commercial C++ class libraries, high-performance C++ applications, distributed solutions via JAVA/CORBA/C++, JAVA applets and Python tools. | | Mouse_Tracks A multiuser information database that keeps track of information technology assets, resources, and purchasing efforts. [Windows 98/Me/2000/NT/XP] | | Digital_Development Can help in building personal web sites, to very large and detailed e-commerce online business. | | Web_Studio_3VW Offers site design, programming including CGI, graphics, promotion, domain name registration, and maintenance. [Russian or English] | | Art_of_Computers Offers web site design, maintenance, and search engine submission services. Based in Tucson, Arizona, United States. | | RegServer Free component to register COM component programmatically. By Christoph Wille. | | SpamFiend Managed spam and virus filtering service utilizing MX redirection to filter your domain. Allows policy-based attachment blocking. | | SunSteam_Co-Branded_Search Offers cobranded search engine results for linking from web sites. | | Digital_Envoy IP Intelligence solutions that utilize IP addresses to non-invasively uncover information about online users such as location, domain name and connection speed for applications including online advert | | RFC_2463 Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification. A. Conta, S. Deering. December 1998. |
|
This is websites2007.org cache of m/ as retrieved on 2008.10.10 websites2007.org's cache is the snapshot that we took of the page as we crawled the web. The page may have changed since that time.
|
RailRoad diagrams generator RailRoad Ruby on Rails diagrams generator What is? Usage Examples Development Download Credits [EspaĂąol] What isRailRoad? RailRoad is a class diagrams generator for Ruby on Rails applications. It's a Ruby script that loads the application classes and analyzes its properties (attributes, methods) and relationships (inheritance, model associations like has_many, etc.) The output is a graph description in the DOT language, suitable to be handled with tools like Graphviz. RailRoad can produce: Model diagrams, showing both inheritance hierarchy and models associations. You can choose to show the model "content columns" and its types. Controller diagrams, showing inheritance hierarchy. You can include the controllers' methods, grouped by its visibility (public, protected, private.) State machine diagramas (for use with the "acts_as_state_machine" plugin.) From the author: This is not an original idea. Rdoc generates DOT graphs from Ruby code, and there are some other tools intended to produce the same diagrams that RailRoad generates. It's just that none of these programs suited my needs so... I decided to make it myself (and play a little more with the Ruby's introspection capabilities.) Usage Run RailRoad on the Rails application's root directory. You can redirect its output to a .dot file or pipe it to the dot or neato utilities to produce a graphic. Model diagrams are intended to be processed using dot and controller diagrams are best processed using neato. railroad [options] command Common options -b, --brief Generate compact diagram (no attributes nor methods) -e, --exclude file1[,fileN] Exclude given files -i, --inheritance Include inheritance relations -l, --label Add a label with diagram information (type, date, migration, version) -o, --output FILE Write diagram to file FILE -r, --root PATH Set PATH as the application root -v, --verbose Enable verbose output (produce messages to STDOUT) Models diagram options -a, --all Include all models (not only ActiveRecord::Base derived) --hide-magic Hide magic field names --hide-types Hide attributes type -j, --join Concentrate edges -m, --modules Include modules -p, --plugins-models Include plugins models -t, --transitive Include transitive associations (through inheritance) Controllers diagram options --hide-public Hide public methods --hide-protected Hide protected methods --hide-private Hide private methods Other options -h, --help Show this message --version Show version and copyright Commands (You must supply one of these) -M, --models Generate models diagram -C, --controllers Generate controllers diagram -A, --aasm Generate "acts as state machine" diagram Examples railroad -o models.dot -M Produces a models diagram to the file 'models.dot' railroad -a -i -o full_models.dot -M Models diagram with all classes showing inheritance relations railroad -M | dot -Tsvg > models.svg Model diagram in SVG format railroad -C | neato -Tpng > controllers.png Controller diagram in PNG format railroad -h Shows usage help Processing DOT files To produce a PNG image from model diagram generated by RailRoad you can issue the following command: dot -Tpng models.dot > models.png If you want to do the same with a controller diagram, use neato instead of dot: neato -Tpng controllers.dot > controllers.png If you want to produce SVG (vectorial, scalable, editable) files, you can do the following: dot -Tsvg models.dot > models.svgneato -Tsvg controllers.dot > controllers.svg Important: There is a bug in Graphviz tools when generating SVG files that cause a text overflow. You can solve this problem editing (with a text editor, not a graphical SVG editor) the file and replacing around line 12 "font-size:14.00;" by "font-size:11.00;", or by issuing the following command (see "man sed"): sed -i 's/font-size:14.00/font-size:11.00/g' file.svg Note: For viewing and editing SVG there is an excellent opensource tool called Inkscape (similar to Adobe Illustrator.) For DOT processing you can also use Omnigraffle (on Mac OS X). Simple SVG generation In Unix-like operating systems, you can define the following shell scripts: models2svg #!/bin/bashrailroad $* -M | \dot -Tsvg | \sed 's/font-size:14.00/font-size:11.00/g' controllers2svg #!/bin/bashrailroad $* -C | \neato -Tsvg | \sed 's/font-size:14.00/font-size:11.00/g' And then generate SVG files by issuing commands like: models2svg -i -l -a -m > models.svgcontrollers2svg -i -l > controllers.svg (Notice that the command, -M or -C, is not necessary.) RailRoad as a rake task (Thanks to Thomas Ritz for the code.) In your Rails application, put the following rake tasks into 'lib/task/diagrams.rake': namespace :doc do namespace :diagram do task :models do sh "railroad -i -l -a -m -M | dot -Tsvg | sed 's/font-size:14.00/font-size:11.00/g' > doc/models.svg" end task :controllers do sh "railroad -i -l -C | neato -Tsvg | sed 's/font-size:14.00/font-size:11.00/g' > doc/controllers.svg" end end task :diagrams => %w(diagram:models diagram:controllers)end Then, 'rake doc:diagrams' produces 'doc/models.svg' and 'doc/controllers.svg'. Requirements RailRoad has been tested with Ruby 1.8.5 and Rails 1.1.6 to 1.2.3 applications. There is no additional requirements (nevertheless, all your Rails application requirements must be installed). In order to view/export the DOT diagrams, you'll need the processing tools from Graphviz. Development The development has started at the end of March 2006. RailRoad has been tested in the personal Rails developments of its author as well as in many "big" opensourced Rails applications (like Typo) with satisfactory results. But that the output produced by RailRoad suits its author needs, doesn't guarantee that it will make you happy too. If you have some bug report (or some kind of suggestion), please visit the project's page at RubyForge. Feedback is not only encouraged but greatly appreciated. If you want to support RailRoad's development, you can Samplediagrams This are some example diagrams produced RailRoad. (Maybe not from the last version.) From the author: I know the diagrams don't look pretty much like UML diagrams, but I prefer something closer to BON. Depot The Depot application is a well known example from the book "Agile Web Development with Rails". (What a better way of start testing RailRoad?) Models diagramYou can also see it in SVG format. Controllers diagramYou can also see it in SVG format. rTPlan rTPlan is an application for project task planning. Its release 0.4.0 has 6 models, 11 controllers and 550 code LOC. Models diagramYou can also see it in SVG format. Controllers diagramYou can also see it in SVG format. Typo Typo is a weblog system (one of the most successful opensource applications) developed with Rails. And it's also a big program: 26 controllers, 59 models and 5469 code LOC for the release 4.1. The models diagrams are generated without the "--all" option, for omitting non-ActiveRecord::Base derived classes (just to get a clearer diagram.) Models diagramYou can also see it in SVG format. Controllers diagramYou can also see it in SVG format. For complex systems, RailRoad can also generate brief diagrams. Models diagram(brief version) Controllers diagram(brief version) For complex model diagrams, you can also omit the inheritance relations (not issuing the "--inheritance" flag). Models diagram(brief version, no inheritance) DownloadRailRoad If you're using gem, you can install RailRoad by issuing: gem install railroad You can also get the full sources from the project repository at RubyForge. Credits andLicense RailRoad is developed by Javier Smaldone (as part of his experiments with RoR). The program is licensed under the GNU General Public License (as free software). © 2007 - Javier Smaldone. Logo by Agencia Usina Valid XHTML 1.1 |
|
| |
Provides | a | class | diagram | generator. |
|
http://railroad.rubyforge.org/
RailRoad 2008 October
dvd rental
dvd
Provides a class diagram generator.
Rules
|
© 2008 Internet Explorer 5+ or Netscape 6+
|
|
Recommended Sites: 1.
Arts -
Business -
Computers -
Games -
Health -
Home -
Kids and Teens -
News -
Recreation -
Reference -
Regional -
Science -
Shopping -
Society -
Sports -
World
Miss Gallery
- Top Anime Hentai
- DVD rental by mail
- Buy Anything On eBay - Free Credit Report - Equity Release - Loans - Hsbc
|