In the next days we will release CRX Quickstart. CRX Quickstart bundles CRX and Apache Sling into one installer. This allows you to get going very quickly with JCR-backed web development. In this 15min screencast I present first steps with CRX Quickstart. The code I use is attached to this post.
Update: for doing the examples yourself with current versions of Sling or CRX Quickstart please see the errata before.



What is wrong with the code below?
<script src="/system/sling.js"></script>
<script>var node=Sling.getContent("/content/mygeometrixx/en/products/product1/jcr:content");</script>
<p>[sling:resourceType:<script>document.write(node.sling:resourceType)</script>]</p>
<p>cq:lastModified:<script>document.write(node.cq:lastModified)</script></p>