Rails + JCR
Upcoming SlideShare
Loading in...5
×
 

Rails + JCR

on

  • 3,126 views

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

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

Statistics

Views

Total Views
3,126
Views on SlideShare
2,911
Embed Views
215

Actions

Likes
1
Downloads
16
Comments
0

7 Embeds 215

http://dev.day.com 184
http://blog.contentmanagementconnection.com 17
http://www.iks-project.eu 5
http://www.contentmanagementconnection.com 4
http://www.slideshare.net 3
http://www.day.com 1
http://web.archive.org 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Rails + JCR Rails + JCR Presentation Transcript

  • JCR + Rails = ?
  • © ThoughtWorks 2008
    Who Am I
    WPC
    ThoughtWorker
    10 years of programming life:
    C++ -> Prolog -> more C++ -> java, C++ -> Java -> Ruby -> Ruby + JS -> Ruby, JS, java
    Selenium
    Mingle (http://www.thoughtworks-studios.com)
  • What Is This Presentation About
    Introduction Java Content Repository
    A small framework help using it in JRuby Rails
    What it is interesting about
    Where to use it
    © ThoughtWorks 2008
  • © ThoughtWorks 2008
    So, what the heck is Content Repository?
  • © ThoughtWorks 2008
    A content repository is a hierarchical content store with support for structured and unstructured content
  • © ThoughtWorks 2008
    From Rakesh Vidyadharan
  • © ThoughtWorks 2008
    a lot of interesting features include:
    Full text search
    Versioning
    Transactions
    Repository level observation
    Query Language
    Security control
    Import/Export/Merge

    And more
  • © ThoughtWorks 2008
    Java Content Repository = JSR170 / JSR283
    Open Source Implementation = Apache Jackrabbit
  • © ThoughtWorks 2008
    Using JRuby to Access the Repository
  • © ThoughtWorks 2008
    What it can bring to Rails?
  • © ThoughtWorks 2008
    Flexible Schema Free Record
  • © ThoughtWorks 2008
    Built-in full text search support (using Lucene)
  • © ThoughtWorks 2008
    And powerful versioning function
  • © ThoughtWorks 2008
    And robust hierarchy storage
  • © ThoughtWorks 2008
    Xpath or SQL as Query language
  • © ThoughtWorks 2008
    User defined Node Type
  • © ThoughtWorks 2008
    More
    Concurrent Editing
    Built-in access control
    Repository Observation
    Export/Import as XML format
    Data store support
  • © ThoughtWorks 2008
    Concerns:
    Performance
    Scalability
    Maintainability

  • © ThoughtWorks 2008
    Resources
    JSR 170 & JSR 283
    Jackrabbit
    Modeling http://wiki.apache.org/jackrabbit/DavidsModel
  • © ThoughtWorks 2008
    Related code is pushed to
    http://github.com/wpc/jcr-rails-demo
    PS: Don’t use it in production
  • © ThoughtWorks 2008
    Hey, the spike is far not finished yet
    Drop me a mail if you are interested in
    pwang@thoughtworks.com/ alex.hal9000@gmail.com
  • © ThoughtWorks 2008
    Q & A