My favorites | Sign in
Logo
                
Search
for
Updated Aug 31, 2009 by fedorchenko
Repository  
NReco Repository Structure Overview

Folders

  • src - reusable common libraries
  • lib - binary libraries
  • shared - shared resources (templates, codebehinds, js-files etc)
  • examples - examples
  • build - build scripts and custom build tools

Blocks

Block is just a some set of shared resources (+integration rules)

  • Common - basic set of model transformations and required resources (like editors)
  • JQuery - core and jqueryui framework integration
  • JQueryMarkItUp - JQuery-based MarkItUp editor integration
  • JQueryWysiwyg - JQuery-based Wysiwyg editor integration
  • JQueryMultiselect - JQuery-based Multiselect editor integration
  • JQueryFlexBox - JQuery-based webcombo control integration
  • JQueryVfs - JQuery-based virtual filesystem (VFS) UI (file manager, upload controls etc)
  • GoogleCharts - Google Charts API integration
  • MSCharts - MS Charts integration
  • Lucene - Lucene.NET integration
  • RdfBrowser - embedded RDF-browser integration (experimental)

Web App Dependencies

NReco Project File

Typical NReco web-project file should contain following "extensions". Common properties:

<PropertyGroup>
    <NRecoRepoRootDirectory>$(ProjectDir)..\..</NRecoRepoRootDirectory> <!-- path to NReco repository root -->
    <NRecoTargetDirectory>$(ProjectDir)web</NRecoTargetDirectory> <!-- web root will be here -->
  </PropertyGroup>

References to shared blocks:

<ItemGroup>
    <BlockReference Include="Common">
	<Visible>false</Visible>
    </BlockReference>
    <BlockReference Include="JQuery">
	<Visible>false</Visible>
    </BlockReference>
</ItemGroup>

Include NReco targets:

  <Import Project="$(NRecoRepoRootDirectory)\build\NReco.Common.targets" />
  <Import Project="$(NRecoRepoRootDirectory)\build\NReco.Blocks.targets" />

Register project befor/after targets:

 <Target Name="BeforeBuild" DependsOnTargets="NRecoCopyBlocks"/> <!-- merge with blocks -->
 <Target Name="AfterBuild" DependsOnTargets="NRecoPrepareWebapp;NRecoApplyTransformRules"/> <!-- merge itself and apply rules -->

Sign in to add a comment
Hosted by Google Code