ruby and rails short motivation
TRANSCRIPT
Why Ruby, Why Rails
@jistr
Ruby
Programming language designed to
Ruby
Programming language designed tosave your time, make you more productive
Ruby
Programming language designed tosave your time, make you more productivemake programming fun
Ruby
Programming language designed tosave your time, make you more productivemake programming funbe easy to write and read
human over computer
Ruby = Productivity
Ruby = Productivity
Literal notation for arrays, hashes, regular expressions
Ruby = Productivity
Literal notation for arrays, hashes, regular expressionsStatement modifiers
Ruby = Productivity
Literal notation for arrays, hashes, regular expressionsStatement modifiersFunctional programming
Lambdas, closures, code blocksMap, reduce, ...
Ruby = Productivity
Literal notation for arrays, hashes, regular expressionsStatement modifiersFunctional programming
Lambdas, closures, code blocksMap, reduce, ...
Domain specific languages
Ruby = Productivity
Literal notation for arrays, hashes, regular expressionsStatement modifiersFunctional programming
Lambdas, closures, code blocksMap, reduce, ...
Domain specific languages RubyGems for code distribution
Ruby = Productivity
Literal notation for arrays, hashes, regular expressionsStatement modifiersFunctional programming
Lambdas, closures, code blocksMap, reduce, ...
Domain specific languages RubyGems for code distributionBundler for dependency management
Ruby = Freedom
Ruby = Freedom
The programmer has as much power as possible
Ruby = Freedom
The programmer has as much power as possibleDuck typing
Ruby = Freedom
The programmer has as much power as possibleDuck typingEvaluation of code in different contexts
Ruby = Freedom
The programmer has as much power as possibleDuck typingEvaluation of code in different contextsMonkey patching
Ruby = Freedom
The programmer has as much power as possibleDuck typingEvaluation of code in different contextsMonkey patching
"But what about safety?"
Ruby = Freedom
The programmer has as much power as possibleDuck typingEvaluation of code in different contextsMonkey patching
"But what about safety?"TestsEven restrictive languages don't provide enough sanity-checking to make testing unnecessary.
Rails
MVC framework with complementary functionality
Rails
MVC framework with complementary functionalityREST
Rails
MVC framework with complementary functionalityRESTORM (ActiveRecord)
MigrationsValidationsOhter libs (NoSQL etc.) available
Rails
MVC framework with complementary functionalityRESTORM (ActiveRecord)
MigrationsValidationsOhter libs (NoSQL etc.) available
E-mailing (ActionMailer)
Rails
MVC framework with complementary functionalityRESTORM (ActiveRecord)
MigrationsValidationsOhter libs (NoSQL etc.) available
E-mailing (ActionMailer)Internationalization
Rails
MVC framework with complementary functionalityRESTORM (ActiveRecord)
MigrationsValidationsOhter libs (NoSQL etc.) available
E-mailing (ActionMailer)InternationalizationModularization – plugins, engines
Rails
MVC framework with complementary functionalityRESTORM (ActiveRecord)
MigrationsValidationsOhter libs (NoSQL etc.) available
E-mailing (ActionMailer)InternationalizationModularization – plugins, enginesGenerators
Rails
MVC framework with complementary functionalityRESTORM (ActiveRecord)
MigrationsValidationsOhter libs (NoSQL etc.) available
E-mailing (ActionMailer)InternationalizationModularization – plugins, enginesGeneratorsTesting
Rails
MVC framework with complementary functionalityRESTORM (ActiveRecord)
MigrationsValidationsOhter libs (NoSQL etc.) available
E-mailing (ActionMailer)InternationalizationModularization – plugins, enginesGeneratorsTesting
Embraces the Ruby philosophy well (freedom, productivity).
Ruby & Rails – weak points
Ruby & Rails – weak points
Hosting
Ruby & Rails – weak points
HostingBeginning at 200 CZK?Better to have your own VPS.
Ruby & Rails – weak points
HostingBeginning at 200 CZK?Better to have your own VPS.
Development on Windows
Ruby & Rails – weak points
HostingBeginning at 200 CZK?Better to have your own VPS.
Development on WindowsYou might not google problem solutions (the community of Rubyists using Windows is small)
Ruby & Rails – weak points
HostingBeginning at 200 CZK?Better to have your own VPS.
Development on WindowsYou might not google problem solutions (the community of Rubyists using Windows is small)Some libs/tools require POSIX environment.
Might occur unsolvable problems.
Ruby & Rails – weak points
HostingBeginning at 200 CZK?Better to have your own VPS.
Development on WindowsYou might not google problem solutions (the community of Rubyists using Windows is small)Some libs/tools require POSIX environment.
Might occur unsolvable problems.Windows development is theoretically possible, but not worth the trouble.
Ruby & Rails – weak points
HostingBeginning at 200 CZK?Better to have your own VPS.
Development on WindowsYou might not google problem solutions (the community of Rubyists using Windows is small)Some libs/tools require POSIX environment.
Might occur unsolvable problems.Windows development is theoretically possible, but not worth the trouble.StackOverflow link: http://bit.ly/fVnGNb
Ruby & Rails – why switch?
Personal viewpoint
Ruby & Rails – why switch?
Personal viewpoint"Rails is great, but similar solutions exist in other languages."
The advantage of Rails is coherency.
Ruby & Rails – why switch?
Personal viewpoint"Rails is great, but similar solutions exist in other languages."
The advantage of Rails is coherency."Still, they exist. Why would I switch then?"
Ruby & Rails – why switch?
Personal viewpoint"Rails is great, but similar solutions exist in other languages."
The advantage of Rails is coherency."Still, they exist. Why would I switch then?"
Because of Ruby.
Ruby & Rails – why switch?
Personal viewpoint"Rails is great, but similar solutions exist in other languages."
The advantage of Rails is coherency."Still, they exist. Why would I switch then?"
Because of Ruby.The solutions in other languages won't get you as much productivity and fun/happiness.
Thank you.
Discussion