wiki:Notes/Ruby

Ruby

Is it better enough ? Is it worth the effort ?

Ruby 1.9, new level of performance ? Memory consumption ? Impressive benchmarks but are they indicative, typical or are they too closed-loppy ( and therefore tunable ) ?

https://www.ruby-lang.org/en/

http://ruby-doc.org//

http://en.wikipedia.org/wiki/Ruby_%28programming_language%29

See http://www.jruby.org/

The Best of the JVM

High performance
Real threading
Vast array of libraries

The New Ruby

Ruby seems to lack a must-have killer application like NodeJS#EtherpadLite, but does have a must-have killer application area. It's unique as a solid usable web site development platform in a shared hosting environment that's not PHP. It's a critical functional area for a quick, easy and secure website on a cheap and readily-available platform.

So ... where to from here ? Radiant ? ... or what ?

Ruby Gems

https://rubygems.org/

http://guides.rubygems.org/

Some of the gems are getting a bit long in the tooth, 2009 or so ... hmmm.

http://en.wikipedia.org/wiki/RubyGems

Example queries
editor https://rubygems.org/search?utf8=%E2%9C%93&query=+editor
xmpp https://rubygems.org/search?utf8=%E2%9C%93&query=xmpp
amqp https://rubygems.org/search?utf8=%E2%9C%93&query=amqp
wiki https://rubygems.org/search?utf8=%E2%9C%93&query=wiki
sinatra https://rubygems.org/search?utf8=%E2%9C%93&query=sinatra
radiant https://rubygems.org/search?utf8=%E2%9C%93&query=radiant

Also see https://www.ruby-toolbox.com/

Ruby On Rails

Is ROR security better than PHP ? Almost certainly. Better than Python, maybe.

http://rubyonrails.org/

Ruby on Rails® is an open-source web framework that’s optimized for programmer happiness and sustainable productivity.

It lets you write beautiful code by favoring convention over configuration.

... 'convention over configuration' ... zeeesh !

http://en.wikipedia.org/wiki/Ruby_on_Rails

Ruby on Rails, or simply Rails, is an open source web application framework written in Ruby. Rails is a full-stack framework that emphasizes the use of well-known software engineering patterns and paradigms, including convention over configuration (CoC), don't repeat yourself (DRY), the active record pattern, and model–view–controller (MVC)

Ruby CMS

Is a real possibility for shared hosting on HostMonster ? More options for deployment ?

9 Best Ruby-on-Rails CMS - everybody wins !

Radiant CMS

Radiant CMS

https://github.com/radiant/radiant/wiki

Refinery

http://refinerycms.com/

Other Ruby CMS

http://refinerycms.com/

Static Site Generator

http://jekyllrb.com/

https://github.com/jekyll/jekyll

Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity.

Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server

FedWiki Application

https://rubygems.org/gems/wiki

Wiki is a single-page application for browsing and editing content distributed throughout a federation of similar creative-commons licensed sites.

What is a federated wiki, and why does federation matter? Authors throughout the federation pull content towards themselves as they edit.

With this package authors publish their own edits back to the federation as they edit. ...

Authors: Ward Cunningham ...

https://github.com/WardCunningham/Smallest-Federated-Wiki

https://github.com/fedwiki ( implemented in Ruby )

Two versions Ruby and NodeJS ... see NodeJS#FedWiki

Wiki

https://github.com/gollum/gollum

Gollum is a simple wiki system built on top of Git.

Gollum wikis are simply Git repositories that adhere to a specific format. Gollum pages may be written in a variety of formats and can be edited in a number of ways depending on your needs. You can edit your wiki locally:

With your favorite text editor or IDE (changes will be visible after committing).
With the built-in web interface.
With the Gollum Ruby API.

Gollum follows the rules of Semantic Versioning and uses TomDoc for inline documentation.

Ruby uFrameworks

Sinatra

http://www.sinatrarb.com/ | Sinatra

http://www.sinatrarb.com/intro.html

Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort:

http://www.sinatrarb.com/documentation.html

http://www.sinatrarb.com/faq.html

Can I run Sinatra under Ruby 1.9?

Yes. As of Sinatra 0.9.2, Sinatra is fully Ruby 1.9 and Rack 1.0 compatible. Since 1.1 you do not have to deal with encodings on your own, unless you want to.

Ruby Applications

https://www.ruby-lang.org/en/documentation/success-stories/

Ruby GUI

http://visualruby.net/

Metasploit

http://www.metasploit.com/

World's most used penetration testing software ... Put your network's defenses to the test

http://en.wikipedia.org/wiki/Metasploit_Project

Also See

Weird classics - http://mislav.uniqpath.com/poignant-guide/book/chapter-1.html

https://www.ruby-toolbox.com/

Search wiki for 'ruby'

Last modified 3 years ago Last modified on 04/14/2015 03:08:18 PM