Ruby and Rails short motivation

926 views
808 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
926
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ruby and Rails short motivation

  1. 1. Why Ruby, Why Rails @jistr
  2. 2. Ruby Programming language designed to
  3. 3. Ruby Programming language designed to save your time, make you more productive
  4. 4. Ruby Programming language designed to save your time, make you more productive make programming fun
  5. 5. Ruby Programming language designed to save your time, make you more productive make programming fun be easy to write and read human over computer
  6. 6. Ruby = Productivity
  7. 7. Ruby = Productivity Literal notation for arrays, hashes, regular expressions
  8. 8. Ruby = Productivity Literal notation for arrays, hashes, regular expressions Statement modifiers
  9. 9. Ruby = Productivity Literal notation for arrays, hashes, regular expressions Statement modifiers Functional programming Lambdas, closures, code blocks Map, reduce, ...
  10. 10. Ruby = Productivity Literal notation for arrays, hashes, regular expressions Statement modifiers Functional programming Lambdas, closures, code blocks Map, reduce, ... Domain specific languages
  11. 11. Ruby = Productivity Literal notation for arrays, hashes, regular expressions Statement modifiers Functional programming Lambdas, closures, code blocks Map, reduce, ... Domain specific languages RubyGems for code distribution
  12. 12. Ruby = Productivity Literal notation for arrays, hashes, regular expressions Statement modifiers Functional programming Lambdas, closures, code blocks Map, reduce, ... Domain specific languages RubyGems for code distribution Bundler for dependency management
  13. 13. Ruby = Freedom
  14. 14. Ruby = Freedom The programmer has as much power as possible
  15. 15. Ruby = Freedom The programmer has as much power as possible Duck typing
  16. 16. Ruby = Freedom The programmer has as much power as possible Duck typing Evaluation of code in different contexts
  17. 17. Ruby = Freedom The programmer has as much power as possible Duck typing Evaluation of code in different contexts Monkey patching
  18. 18. Ruby = Freedom The programmer has as much power as possible Duck typing Evaluation of code in different contexts Monkey patching "But what about safety?"
  19. 19. Ruby = Freedom The programmer has as much power as possible Duck typing Evaluation of code in different contexts Monkey patching "But what about safety?" Tests Even restrictive languages dont provide enough sanity-checking to make testing unnecessary.
  20. 20. Rails MVC framework with complementary functionality
  21. 21. Rails MVC framework with complementary functionality REST
  22. 22. Rails MVC framework with complementary functionality REST ORM (ActiveRecord) Migrations Validations Ohter libs (NoSQL etc.) available
  23. 23. Rails MVC framework with complementary functionality REST ORM (ActiveRecord) Migrations Validations Ohter libs (NoSQL etc.) available E-mailing (ActionMailer)
  24. 24. Rails MVC framework with complementary functionality REST ORM (ActiveRecord) Migrations Validations Ohter libs (NoSQL etc.) available E-mailing (ActionMailer) Internationalization
  25. 25. Rails MVC framework with complementary functionality REST ORM (ActiveRecord) Migrations Validations Ohter libs (NoSQL etc.) available E-mailing (ActionMailer) Internationalization Modularization – plugins, engines
  26. 26. Rails MVC framework with complementary functionality REST ORM (ActiveRecord) Migrations Validations Ohter libs (NoSQL etc.) available E-mailing (ActionMailer) Internationalization Modularization – plugins, engines Generators
  27. 27. Rails MVC framework with complementary functionality REST ORM (ActiveRecord) Migrations Validations Ohter libs (NoSQL etc.) available E-mailing (ActionMailer) Internationalization Modularization – plugins, engines Generators Testing
  28. 28. Rails MVC framework with complementary functionality REST ORM (ActiveRecord) Migrations Validations Ohter libs (NoSQL etc.) available E-mailing (ActionMailer) Internationalization Modularization – plugins, engines Generators Testing Embraces the Ruby philosophy well (freedom, productivity).
  29. 29. Ruby & Rails – weak points
  30. 30. Ruby & Rails – weak points Hosting
  31. 31. Ruby & Rails – weak points Hosting Beginning at 200 CZK? Better to have your own VPS.
  32. 32. Ruby & Rails – weak points Hosting Beginning at 200 CZK? Better to have your own VPS. Development on Windows
  33. 33. Ruby & Rails – weak points Hosting Beginning at 200 CZK? Better to have your own VPS. Development on Windows You might not google problem solutions (the community of Rubyists using Windows is small)
  34. 34. Ruby & Rails – weak points Hosting Beginning at 200 CZK? Better to have your own VPS. Development on Windows You might not google problem solutions (the community of Rubyists using Windows is small) Some libs/tools require POSIX environment. Might occur unsolvable problems.
  35. 35. Ruby & Rails – weak points Hosting Beginning at 200 CZK? Better to have your own VPS. Development on Windows You 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.
  36. 36. Ruby & Rails – weak points Hosting Beginning at 200 CZK? Better to have your own VPS. Development on Windows You 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
  37. 37. Ruby & Rails – why switch? Personal viewpoint
  38. 38. Ruby & Rails – why switch? Personal viewpoint "Rails is great, but similar solutions exist in other languages." The advantage of Rails is coherency.
  39. 39. 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?"
  40. 40. 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.
  41. 41. 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 wont get you as much productivity and fun/happiness.
  42. 42. Thank you. Discussion

×