Common Content Types
The following content types are typically found in every COMAND repository.
The common content types should not be changed under normal circumstances because they are commonly used and exchanged between COMAND repositories.
These should be broken out into Data Content Types, Subject Content Types, Location Content Types.
Files
Content types for common content types.
- Data Format - extends Content, adds Title, MIME Type, Web Friendly (checkbox to indicate web browsers can display this content directly), Specification
- Media Format - extends Data Format
- Image Format - extends Media Format, adds Width, Height
- Audio Format - extends Media Format
- Video Format - extends Image Format, adds Length (Seconds as Decimal), FPS
- Multimedia Format - extends Media Format, for slideshows, etc.
- Media Format - extends Data Format
- File - extends Content, adds Filename, Data Format, Data (binary), Labels & Help, Title, Description
- Text - extends Data for text formats, changes Data to text box
- Rich Text - extends Text, changes Data to rich text box
- Source Code - extends Text, changes Data to code text box
- Binary - extends Data for binary formats
- Media - extends Data, changes Data Format to reference a Media Format
- Text - extends Data for text formats, changes Data to text box
Subjects (Organizations, Contacts)
Content types for subjects such as contacts and organizations.
- Address - extends Content, adds Street1, Street2, City, State, Zip
- Phone Type - extends Content, adds Title, Description, Icon
- Phone - extends Content, adds Number, Type, Description
- URL Type - extends Content, adds Title, Description, Icon (email, website, ftp, social media, etc.)
- URL - extends Content, adds Title, URL Type, URL, Description
- Subject - extends Content, adds Name
- Contact - extends Subject, adds Address, Secondary Addresses, Phones, URLs (email, websites, social media, etc.), Notes
- Orgnanization - extends Contact, adds Description, Contacts (Contact+)
- Contact - extends Subject, adds Address, Secondary Addresses, Phones, URLs (email, websites, social media, etc.), Notes
Location
Content types for geographic locations.
- Location - extends Content, adds Latitude, Longitude
- Location Set - extends Content, adds Locations, Marker Style, Path Style, Path Color
Content types for email messages.
- Email Header - Property, Value
- Email - Date, To (Contact+), From, Cc, Bcc, Subject, Headers, Message, Attachments (File+)
Image Processing
Content types for email messages.
Attributes
Content types for common attributes.
- Tag - extends Content, adds Title, Objects
- Image Preview - extends Content, adds Image (Image), Object
- Geo Tag - extends Location, adds Object
Apps ---- Content Manager cPathUIs -------- Form - Form view has options to modify ThemeUI (wide/narrow views) in action bar, and each field has option to modify Field UI based on data type, content type and if collection (List). Field UIs --------- UUID - textline so it can be modified copy/paste, but also button to generate new with default of v4 (we should display this in Object Info sidebar as well) Coordinate Location content type Coordinates LoctionSet content type or Collection of Locations (shows without path or area by default) Image - Image content type (basic upload field with simple destructive image processing options Bitmap Image Editor - ProcessedImage content type Vector Image Editor - Simple SVG Editor Grid (grid view of any collection of objects) Tree - Display Summary, "rename" pops up first text line field inline, if one existsnarrow, otherwise simple narrow form Grid - Uses Field UIs in Slick Grid. Can be used to manage content types as well as content. Can view content as rows or columns. Modifying column/row headings modifies fields. Import from CSV can create new content type and content on the fly (headings become field names, values determine type (detect numbers, decimals, currency, strings, dates, times, timestamps, text lines, text boxes, short text boxes, uuids, lat/long cooredinates). Map - Can view and edit coodinates. If sets (lines or areas) can add/remove points. Click points to edit in form view. RichText - Full area rich text editor (displays first Rich Text field) with access to properties in Properites dialog (mobile view of fields) Document Reader Can view any hierarchy and text box field? Email Client Document Editor Spreadsheet (edits a Grid object, which has a collection of GridCells, which can have standard spreadsheet formulas, but also supports COMAND Script, which can reference cells by ID, or coordinate and run queries, etc.). Website Manager Web Pages and Publications Common Types ------------ Script (Type [COMAND Script, PHP, Perl], Script [Source Code]) MimeType (Title, Extension, MagickNumberOp) File (Filename, MimeType, File, Size) - Created FieldUI to upload and name a file as a single widget, as well as another for a collection of files (attachments). MimeType and Size are auto-populated on _submit, but MimeType should have manual override in FieldUI. Media extends File Image (Width, Height) extends Media ProcessedImage (Operations) extends Image will have FieldUI that is a simple image editor front-end (use canvas?) with ImageMagick back-end. ImageOp (Title, Description, FrontEndSourceCode, BackEndSourceCode) ImageOpCrop (Left, Top, Right, Bottom) extends ImageOp ImageOpComposit (Image, Left, Top, Right, Bottom) - Composite image onto canvas ImageOpRotate (Degrees) extends ImageOp ImageOpWarp (X1, Y1, X2, Y2, X3, Y3, X4, Y4) extends ImageOp - Warps image by moving each point of the rectangle to a new point relative to the left, top (can be negative numbers) Document extends File