JCR + Rails = ?<br />
© ThoughtWorks 2008<br />Who Am I<br />WPC<br />ThoughtWorker<br />10 years of programming life:<br /> C++ -&gt; Prolog -&...
What Is This Presentation About<br />Introduction Java Content Repository<br />A small framework help using it in JRuby Ra...
© ThoughtWorks 2008<br />So, what the heck is Content Repository?<br />
© ThoughtWorks 2008<br />A content repository is a hierarchical content store with support for structured and unstructured...
© ThoughtWorks 2008<br />From Rakesh Vidyadharan <br />
© ThoughtWorks 2008<br />a lot of interesting features include:<br />Full text search<br />Versioning<br />Transactions<br...
© ThoughtWorks 2008<br />Java Content Repository = JSR170 / JSR283<br />Open Source Implementation = Apache Jackrabbit<br />
© ThoughtWorks 2008<br />Using JRuby to Access the Repository<br />
© ThoughtWorks 2008<br />What it can bring to Rails?<br />
© ThoughtWorks 2008<br />Flexible Schema Free Record<br />
© ThoughtWorks 2008<br />Built-in full text search support (using Lucene)<br />
© ThoughtWorks 2008<br />And powerful versioning function<br />
© ThoughtWorks 2008<br />And robust hierarchy storage<br />
© ThoughtWorks 2008<br />Xpath or SQL as Query language<br />
© ThoughtWorks 2008<br />User defined Node Type<br />
© ThoughtWorks 2008<br />More<br />Concurrent Editing<br />Built-in access control<br />Repository Observation<br />Export...
© ThoughtWorks 2008<br />Concerns:<br />Performance<br />Scalability<br />Maintainability<br />…<br />
© ThoughtWorks 2008<br />Resources<br />JSR 170 & JSR 283<br />Jackrabbit<br />Modeling http://wiki.apache.org/jackrabbit/...
© ThoughtWorks 2008<br />Related code is pushed to<br />http://github.com/wpc/jcr-rails-demo<br />PS: Don’t use it in prod...
© ThoughtWorks 2008<br />Hey, the spike is far not finished yet<br />Drop me a mail if you are interested in<br />pwang@th...
© ThoughtWorks 2008<br />Q & A<br />
Upcoming SlideShare
Loading in...5
×

Rails + JCR

2,235
-1

Published on

将Java Content Repository(JSR170、JSR283)的"内容"存储机制带到Rails的世界里,与一统天下的ActiveRecord相比,会给我们的模型层带来哪些有趣的特性?

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,235
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
17
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Rails + JCR

    1. 1. JCR + Rails = ?<br />
    2. 2. © ThoughtWorks 2008<br />Who Am I<br />WPC<br />ThoughtWorker<br />10 years of programming life:<br /> C++ -&gt; Prolog -&gt; more C++ -&gt; java, C++ -&gt; Java -&gt; Ruby -&gt; Ruby + JS -&gt; Ruby, JS, java<br />Selenium<br />Mingle (http://www.thoughtworks-studios.com)<br />
    3. 3. What Is This Presentation About<br />Introduction Java Content Repository<br />A small framework help using it in JRuby Rails<br />What it is interesting about<br />Where to use it<br />© ThoughtWorks 2008<br />
    4. 4. © ThoughtWorks 2008<br />So, what the heck is Content Repository?<br />
    5. 5. © ThoughtWorks 2008<br />A content repository is a hierarchical content store with support for structured and unstructured content<br />
    6. 6. © ThoughtWorks 2008<br />From Rakesh Vidyadharan <br />
    7. 7. © ThoughtWorks 2008<br />a lot of interesting features include:<br />Full text search<br />Versioning<br />Transactions<br />Repository level observation<br />Query Language<br />Security control<br />Import/Export/Merge<br />…<br />And more<br />
    8. 8. © ThoughtWorks 2008<br />Java Content Repository = JSR170 / JSR283<br />Open Source Implementation = Apache Jackrabbit<br />
    9. 9. © ThoughtWorks 2008<br />Using JRuby to Access the Repository<br />
    10. 10. © ThoughtWorks 2008<br />What it can bring to Rails?<br />
    11. 11. © ThoughtWorks 2008<br />Flexible Schema Free Record<br />
    12. 12. © ThoughtWorks 2008<br />Built-in full text search support (using Lucene)<br />
    13. 13. © ThoughtWorks 2008<br />And powerful versioning function<br />
    14. 14. © ThoughtWorks 2008<br />And robust hierarchy storage<br />
    15. 15. © ThoughtWorks 2008<br />Xpath or SQL as Query language<br />
    16. 16. © ThoughtWorks 2008<br />User defined Node Type<br />
    17. 17. © ThoughtWorks 2008<br />More<br />Concurrent Editing<br />Built-in access control<br />Repository Observation<br />Export/Import as XML format<br />Data store support<br />
    18. 18. © ThoughtWorks 2008<br />Concerns:<br />Performance<br />Scalability<br />Maintainability<br />…<br />
    19. 19. © ThoughtWorks 2008<br />Resources<br />JSR 170 & JSR 283<br />Jackrabbit<br />Modeling http://wiki.apache.org/jackrabbit/DavidsModel<br />
    20. 20. © ThoughtWorks 2008<br />Related code is pushed to<br />http://github.com/wpc/jcr-rails-demo<br />PS: Don’t use it in production<br />
    21. 21. © ThoughtWorks 2008<br />Hey, the spike is far not finished yet<br />Drop me a mail if you are interested in<br />pwang@thoughtworks.com/ alex.hal9000@gmail.com<br />
    22. 22. © ThoughtWorks 2008<br />Q & A<br />
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×