Brightspot is an enterprise user experience platform built on top of the Dari Framework.
Switch branches/tags
3.2.2389-857de6 3.2.6867-1fecde bugfix/content-type-tab-override bugfix/dynamic-text-annotations-settings bugfix/export-content-default bugfix/global-search-custom-update-pagination bugfix/home-page-redirect bugfix/locking-on-set-of-subfields bugfix/popup-publishing-issues bugfix/richtext-list bugfix/rte-elements-prevent-combine bugfix/rte-enhancement-align-missing bugfix/rte-inline-enhancement bugfix/rte-tables-cell-content-save bugfix/rte-toolbar-dropdown-outofcontext bugfix/rteBlurTimeout bugfix/search-widget-border express-brightspot feature/BSP-2121 feature/Publish-Information-Save-Fix feature/brightspot-object-comments feature/bulk-archive-refresh-search feature/bulk-upload-exclusions feature/compare-revisions feature/contenteditable-recordable feature/copy-role feature/dashboard-config feature/deprecate-variations-and-profiles feature/docs-link-fixe feature/draft-visibility-regressions feature/dynamic-grid feature/dynamic-predicate-only-when-it-needs-to-be feature/email-share-preview feature/exportContent-allow-custom-fields feature/extend-session feature/external-content-rte-url-deprecation feature/external-content-views feature/fe-uploader-default feature/filename-path-fix feature/gallery-visibility-labels feature/galleryEditRelease feature/hide-image-size feature/hotspot-point-fix feature/image-crop feature/image-size-filter feature/image-tag-refactor feature/inline-editing-to-embedded-form feature/inline-editor-iframe feature/java7-support feature/justified-grid-with-preview feature/keep-unbound-elements feature/localization-check feature/localize-cmsName feature/more-independent-archetype feature/permissions-some-content-type feature/preview-draft-enhancement feature/raw-html-view feature/richtext-collapse-whitespace feature/rte-block-element-br feature/rte-drag-drop-upload feature/rte-elementContainer feature/rte-html-output-nesting feature/rte-inline-enh-line-support feature/rte-inline-enhancement-first-cut feature/rte-inline-style-definition feature/rte-links-inline-enhancement-feature feature/rte-support-indented-lists feature/schedule-task feature/search-dashboard-widget feature/simple-record-select feature/solr-upgrade feature/spellchecker-dictionary-javascript feature/storage-item-field-refactor feature/system-js feature/tab-select-bad-url feature/tooluser-personal-rte-dictionary feature/urls-widget-no-site feature/user-initiated-diffs feature/workflow-save-allowed feature/workstream-details feature/3.1-view-preview feature/25 hotspot master mster patch/a patch/b patch/j patch/m patch/p patch/s patch/u patch/w refactor/storage-item-field release/2.0 release/2.1 release/2.2 release/2.3 release/2.4 release/3.0 release/3.1 release/3.2
Nothing to show
Clone or download
hyoolim Merge pull request #1329 from perfectsense/bugfix/richtextelement-to-rte
BSP-3281 Can't add just a RichTextElement to a RTE field
Latest commit cf4a82b Apr 18, 2018

README.md

Build Status

Welcome to Brightspot

www.brightspot.com/docs

What is Brightspot?

Brightspot is an enterprise user experience platform, designed and developed to power large-scale, highly dynamic, editorially rich and visually stunning consumer experiences. Brightspot brings teams together from day one and speeds up their day-to-day design, development and editorial processes.

Unleash designers: create visually-stunning experiences with complete design flexibility and zero platform constraints.

Empower developers: automate routine tasks and inject industry best practices in development workflows they already know and understand. Brightspot offers the Dari developer framework toolset to speed up development.

Inspire editors: make the publishing tool as compelling and as easy-to-use as the experience it powers.

Enable collaboration: facilitate immediate partnership between teams with rapid prototyping, instant changes, and automated tool chains.

Brightspot was built using the Dari Framework, a powerful object persistence library that makes it easy to build complex content types and persist them to one or more database backends.

It enables the creation of complex data models. Using simple annotations and standard Java types, anything can be modeled and accessed with a web view, or through an API. As a user experience platform, Brightspot can be used as a publishing platform (CMS) for websites and native mobile applications, an application back-end, CRM and much more.

An example Brightspot content model:

public class MyClass extends Content {
   
	private String textField;
	private Date dateWidget;
	private List<String> textList;
       
}

A user interface for publishing data is built automatically. New fields instantly show up within the Brightspot interface, ready for data to be input by the user. Brightspot comes with a library of field types that can be used to create this interface.

How does it work?

Brightspot can be used to build any type of Java application. The difference between a standard Java object and Brightspot is the extension of Content, a parent class that Brightspot provides:

public class MyClass extends Content {
   
	private String textField;
	private Date dateWidget;
	private List<String> textList;
       
}

By extending Content Brightspot knows to create a user interface with the Class, and persist the object in the database as a Content Type, as well as any instances of it.

All Content in Brightspot extends the Dari Record class: com.psddev.dari.db.Record. Objects are not mapped to database tables, instead they are serialized into JSON and stored in the database as JSON. This frees developers from worrying about creating or altering database tables and allows for rapid evolution of data models.

{
  "textField" : "Create a user interface automatically",
  "dateWidget" : 1393688100000,
  "textList"; : [ "Standard Java" ],
}

All fields in a class that extends Content / Record are persisted to the database when the object is saved.

Developers are given complete control over how their data is stored, and they can change this at any time, without database updates needed.

Here is an example data model of an Author content type:

public class Author extends Content {
    
    private String name;
    private String bio;

    // Getters and Setters
}

Within Brightspot the Author content type can immediately be created, saved, drafted, scheduled, and searched for. It can be versioned, changes in the content between versions can be tracked, and roles and permissions for access to the creation of an Author can be applied.

Brightspot uses Dari to save objects to two databases, SQL and Solr.

How is it different?

The custom creation of content types using Java classes means each instance of Brightspot is tailored for the user. Labels, terms and content types are all based on the application being created. Brightspot, in this sense, is a platform on which tailored applications are developed. The platform provides features that every application can use, such as search, scheduling and publishing to the web. Brightspot doesn't dictate what is managed in the platform, or how it is presented on the web.

How do I start using it?

The Brightspot stack consists of proven open-source software: Java, MySQL, Solr and Apache httpd. There is nothing proprietary about the technology being used. Brightspot is open-source and freely available for use under the GNU GENERAL PUBLIC LICENSE V2.

Java developers can get started with Brightspot development quickly and easily. Brightspot applications are built with standard Java development techniques.

Start using Brightspot by first installing the platform.

License

Brightspot is released under the GPLv2 license.

Questions / Bugs?

Feel free to submit any questions, bug reports or feature requests to the GitHub Issues.