useful rails concepts
play

Useful Rails Concepts May 20, 2013 1 Yet another list Rails - PowerPoint PPT Presentation

Useful Rails Concepts May 20, 2013 1 Yet another list Rails API, active_model_serializers, JSON API, Ember.Data, token access Rails 2, Rails 3, Rails 4 RubyMine Rails Admin, Active Admin kaminari, paging gem


  1. Useful Rails Concepts May 20, 2013 1

  2. Yet another list • Rails API, active_model_serializers, JSON API, Ember.Data, token access • Rails 2, Rails 3, Rails 4 • RubyMine • Rails Admin, Active Admin • kaminari, paging gem • netzke/ ExtJS • jQuery, Ajax js workflow • Ember.js (blogr ordr), Angular.js (my app, angular scaffold) • Authorization, Authentication, Sorcery, CanCan, OAuth2 • Search - Solr/Sunspot, ElasticSearch/ Tire • Arel, finders, scopes (DevMynd article), SQL • Rake - pulling in data, CSV gem, Excel, PDF, prawn • REST, routes, nested forms • strong params • many-to-one, many-to-many, through, polymorphic, STI, acts_as_tree, awesome_set etc. • Key-value storage, serializers, EAV tables, text blobs • Postgres hstore, • callbacks, validations, client-side validations • i18n • helpers, form helpers, simple form • Git setup, server setup • Ruby Metaprogramming • testing • Geo lookup • active_merchant, active_shipping, payment gateways, inventory • jruby rvm 2

  3. Rails API • Rails API • Active Model Serializers • API access, tokens • Strong params, whitelisting 3

  4. SPA • Standard jQuery, Ajax • Ember.js • Angular.js 4

  5. Authentication/ Authorization • Sorcery, Devise • CanCan 5

  6. Search • Solr/ Sunspot • ElasticSearch/ Tire 6

  7. AR Finders • where, offset, limit etc. (chaining) see Rails Guides • Arel • search scopes (DevMynd article) 7

  8. console • console • pry 8

  9. Tooling • RVM • REE, Ruby 1.9, 2.0, jRuby • RubyMine • Git • Passenger 9

  10. AR Associations • has_many, belongs_to, has_many :through • acts_as_tree • awesome_nested_set (nested set) • polymorphic associations • many_to_many with behaviour • STI • see ‘Rails Recipes’ book, or ‘Rails Cookbook’ 10

  11. DB document storage/ flex data • Postgres Hstore - see DevMynd article • serializers • EAV tables (‘Eavil table’) • data blob (‘e-blob’) • see doc ‘Postgres Experts’ 11

  12. Routes • Routes • Route nesting • see Guides, rake routes • Blog example 12

  13. Validations/ Callbacks • Validations, client_side_validations • Callbacks 13

  14. Helpers • Form Helpers • Simple Form/ Formtastic 14

  15. Papertrail • Audit Log 15

  16. Data • Rake data import • CSV • Excel • PDF export, Prawn 16

  17. Assets/ CSS • Asset Pipeline • Bootstrap • SASS, Less 17

  18. i18n • i18n • see validations example (cartag) 18

  19. Admins • Netzke.org / ExtJS • Rails Admin • Active Admin 19

  20. Geo • Geo Libraries • Google Maps 20

  21. Commerce • ActiveMerchant • ActiveShipping 21

  22. iOS • RubyMotion www.rubymotion.com 22

  23. Thank You. 23

Recommend


More recommend