glenc / rpoint
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
87e7185
commit 87e71853fda6ca3ac0944ffcda508f899a81b89d
tree c0a96b1dec152f384d9b5406b16db81f68e90f11
parent 458e7cec409bcfa954617c54014f44315b1c2760
tree c0a96b1dec152f384d9b5406b16db81f68e90f11
parent 458e7cec409bcfa954617c54014f44315b1c2760
rpoint / README.markdown
RPoint README
RPoint is a domain specific language (DSL) for SharePoint scripting and automation. RPoint is built on IronRuby so scripts are written in Ruby but can leverage the SharePoint object model.
Example
RPoint is designed to allow scripts such as the following:
at "http://myserver" do
# create a web with two lists
create_web "Web One", TeamSite do
create_list "List One", DocumentLibrary
create_list "List Two", Announcements
end
# create several similar webs using names in an array
["Another", "Web", "Here"].each do |web|
create_web web, BlankSite
end
# create a deep site structure
create_web "Parent", BlankSite do
create_web "Child 1", BlankSite do
create_web "Child 1.1", BlankSite
end
create_web "Child 2", BlankSite do
create_web "Child 2.1", BlankSite do
create_web "Child 2.1.1", BlankSite
end
end
end
end
Goals
When complete, RPoint should allow for the following:
- Write scripts to quickly build out a site structure including lists, web parts, pages, etc.
- Create Rails-like migrations which apply changes to existing sites
- Create site, list, and view definitions which can easily be applied directly or converted to site and list definitions
