We advise you to give first a glance at all the Nuxeo EP Platform wiki domain, so that you get a global idea of the architecture of the product. In particular, you should have a look at the Component model overview that will explain you how the platform is built.
If you want to go further and configure other aspects of Nuxeo, you don't need to get the source code, you can simply browse the Platform Explorer Site that let you browse:
For each item, you can have access to description, XML definition and samples.
For an example, you can have a look at this Sample Link.
When you are not creating a real Nuxeo Plugin (i.e. a JAR), XML configuration files should:
In order to start coding you basically have 2 options:
The Tutorial (draft) - HTML (also known as the 'Learning Nuxeo DM' Guide).
This tutorial shows you how to extend and customize Nuxeo's "out of the box" functionalities in a step-by-step fashion.
The source code for the tutorial is held in the Nuxeo Subversion repository. Although the tutorial links to the source code in each chapter, it's listed again here for convenience:
- Source Code for Chapter 5: Your First Bundle
- Source Code for Chapter 6: Improving The Upcoming UI
- Source Code for Chapter 7: Internationalization And Localization
- Source Code for Chapter 8: Events And Event Listeners
- Source Code for Chapter 9: XMap And Logging
- Source Code for Chapter 10: Users and Groups
- Source Code for Chapter 11: Access Control And Security
- Source Code for Chapter 12: Relations And A Bit Of Content
To check out the source code from the Nuxeo Subversion repository you'll need the Subversion client installed. Once installed you can check out each chapter's source code by entering at the command line (for example):
$ svn export http://svn.nuxeo.org/nuxeo/sandbox/iansmith/book/lesson-bundle/
svn export command checks out all the source for the lesson-bundle chapter into a directory called lesson-bundle, without any of the accompanying .svn files.
The sample project
In addition to the Nuxeo Tutorial, there is a sample project outlined in chapter 3 ('Getting started') of the Nuxeo DM Reference Book:
- HTML (Chapter 3 only)
The sample chapter builds on the tutorial, and illustrates a number of additional examples.
The source code for the sample project can be found in the Nuxeo Mercurial repository at the following link:
To check the sample code out from this remote repository onto your local machine, you will need to have Mercurial installed. Once you have Mercurial you can run:
$ hg clone http://hg.nuxeo.org/addons/nuxeo-sample-project
This creates a directory on your local machine called "nuxeo-sample-project" which contains all the source code for Nuxeo the sample project.
The Mercurial repository contains branches such as '5.2' and '5.3'. You can see these branches by entering:
$ hg branches
Check which branch you are in by entering in:
$ hg branch
You can change branches by running for example (if you are currently in the 5.3 branch, and want to switch to the 5.2 branch):
$ hg update 5.3 $ hg branch
can read the Dev Cookbook.