Fortis-Collection / transitus

A library for deserializing Sitecore item files into strongly typed objects.
http://fortis.ws/fortis-collection/transitus/
MIT License
0 stars 1 forks source link

Simple Usage Example. #1

Open raynjamin opened 9 years ago

raynjamin commented 9 years ago

Hi Folks.

We are using Fortis for our latest Sitecore project, and we are interested in using Transitus. I am new to the entire Fortis environment, so I'm getting lost in the weeds somewhat with where Transitus fits in with Fortis and how to use it.

Does any documentation exist to speak to this?

jasonbert commented 9 years ago

Hey,

Sorry for the delayed response! Transitus' purpose is to help with code generation when you can't use something like Team Development for Sitecore. Not sure if you've checked out the page on the website (http://fortis.ws/fortis-collection/transitus/) as it has a little explanation.

If you check out the console application (https://github.com/Fortis-Collection/transitus/blob/master/Source/Transitus.Console/Program.cs) you can see how Transitus is being used. It takes a folder which contains serialised items from Sitecore and then gives you strongly typed objects. If you're using something like Unicorn to do your serialisation then you could use Transitus to read those files.

I hope this helps.

raynjamin commented 9 years ago

It does, thank you. We were trying to use it with TDS, as we thought it was essentially the codegen/deserialization aspect of fortis pulled out into its own project. It didn't quite fit, this explains why.

Thanks!

On Friday, August 7, 2015, Jason Bert notifications@github.com wrote:

Hey,

Sorry for the delayed response! Transitus' purpose is to help with code generation when you can't use something like Team Development for Sitecore. Not sure if you've checked out the page on the website ( http://fortis.ws/fortis-collection/transitus/) as it has a little explanation.

If you check out the console application ( https://github.com/Fortis-Collection/transitus/blob/master/Source/Transitus.Console/Program.cs) you can see how Transitus is being used. It takes a folder which contains serialised items from Sitecore and then gives you strongly typed objects. If you're using something like Unicorn to do your serialisation then you could use Transitus to read those files.

I hope this helps.

— Reply to this email directly or view it on GitHub https://github.com/Fortis-Collection/transitus/issues/1#issuecomment-128669780 .