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

613 views
544 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
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
613
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

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. • • • •

×