Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Search for the Holy Grail (and test it once found)

693 views

Published on

Speaker: Baruch Sadogursky
Grails is awesome! Agreed? Good!
Now, search and testing facilities have become such a basic commodity in applications that it's almost taken for granted.
But as a Grails developer you face limitations and concerns: is the library well maintained? Does it fit the framework's paradigm?
After nominating the winners, we’ll show you the advantages of our tools of choice and take a deep dive into the juicy details.
This talk will provide short overviews and comparisons in the search for 2 pieces of the holy grail - good search and testing facilities.

Published in: Technology, Education
  • Be the first to comment

Search for the Holy Grail (and test it once found)

  1. 1. Searching For the Grail By Baruch Sadogursky © 2013 SpringOne 2GX. All rights reserved. Do not distribute without permission.
  2. 2. • •
  3. 3. Requirements ___________
  4. 4. Requirements ___________ –Download binaries
  5. 5. Requirements ___________ –Download binaries –Web application
  6. 6. Requirements ___________ –Download binaries –Web application –REST API
  7. 7. Requirements ___________ –Download binaries –Web application –REST API –Backend services
  8. 8. Requirements ___________
  9. 9. Requirements ___________ –Rapid Application Development
  10. 10. Requirements ___________ –Rapid Application Development –Flexible schema
  11. 11. Requirements ___________ –Rapid Application Development –Flexible schema –Java Back ground
  12. 12. Requirements ___________ –Rapid Application Development –Flexible schema –Java Back ground –Stateless
  13. 13. Why don’t you just use...? ________________ Framework Why not?
  14. 14. Why don’t you just use...? ________________ Framework Why not? Angular.js Ember.js, ж.js Maturity
  15. 15. Why don’t you just use...? ________________ Framework Why not? Angular.js Ember.js, ж.js Maturity Wicket State
  16. 16. Why don’t you just use...? ________________ Framework Why not? Angular.js Ember.js, ж.js Maturity Wicket State JSF No comment
  17. 17. Why don’t you just use...? ________________ Framework Why not? Angular.js Ember.js, ж.js Maturity Wicket State JSF No comment Non-java Not java bg
  18. 18. • • – • – –
  19. 19. • • • – –
  20. 20. http://compass-project.org
  21. 21. static searchable = true
  22. 22. static searchable = { except = ['field1'] field2 boost: 2.0 }
  23. 23. def result = Domain.search('query')
  24. 24. def result = searchableService.search('query')
  25. 25. http://lucene.apac
  26. 26. grails start-solr & grails stop-solr
  27. 27. static enableSolrSearch = true
  28. 28. static solrAutoIndex = true
  29. 29. def result = Domain.searchSolr('query')
  30. 30. def result = solrService.search('query')
  31. 31. ...But wait a minute
  32. 32. -GASP-
  33. 33. I'm not dead yet!
  34. 34. Using Solr? Using Grails? Contribute! (yay)
  35. 35. elasticSearch { client.mode = 'local' }
  36. 36. elasticSearch { client.mode = 'transport' }
  37. 37. static searchable = true static searchable = { … } Looks familiar?
  38. 38. http://www.flickr.com/photos/finsam/
  39. 39. Call to arms Hibernate GORM github.com/noamt/elasticsearch-gorm-plugin
  40. 40. • • •
  41. 41. • • • •
  42. 42. • • • • • • • • •
  43. 43. • • •
  44. 44. • • • •

×