This is a demonstration of Office 365 Patterns and Practices code, which shows how to use client side object model to create content types and site columns without feature framework.
- Create content types and site columns
- Associate site columns to content types
- Associate content types to lists and libraries
- Create taxonomy fields
- Localization for the site columns and content types
Actual code and additional details can be found from following address - https://github.com/OfficeDev/PnP/tree/master/Scenarios/Core.ContentTypesAndFields