French Toast Backend Pieces: Difference between revisions
| Line 18: | Line 18: | ||
=== Search Suggestions === | === Search Suggestions === | ||
=== Pin to Board === | === Boards / Pin to Board === | ||
We need to introduce the concept of Board nodes in the Lattice data model. | |||
Boards have the following properties: | |||
* A short name | |||
* A creation date | |||
* A longer description? | |||
Boards have the following relationships: | |||
* They must have one owner (the person who created the board) | |||
* They may have many followers (if the board is public) | |||
* They may have many contributors (if the board is shared) | |||
* They may have many pages | |||
Questions from discussion: | |||
* Are pages the primary entity that can be put on boards? (There was talk about putting images and text on boards.) | |||
* Is the owner/follower/contributed model good? | |||
=== Cluster Boards === | === Cluster Boards === | ||
Revision as of 15:52, 23 July 2012
The purpose of this page is to get an idea of what kind of backend pieces are needed for new features in the French Toast release. They are organized by feature name and then detailed as what is needed on the backend.
This is just the result of a first discussion about these features. Nothing is set in stone.
French Toast Features
Search Autocomplete
The purpose of this feature is to provide something similar to Google Search Complete: give a list of suggestions when you start typing in the search box. We can do generic autocomplete, or maybe even use the Google API, and also do complete based on your data and other people's data in Pancake.
We would have a server that provides a suggest API. This server needs to provide a public API to the front-end and maintain an index of possible suggestions.
Ideally the index is updated as soon as we discover new meta data that can be used for autocomplete. So we likely want to hook it up to an event system to get notifications when people visit new pages, etc.
- Stuart suggested a project done by LinkedIn. Not sure which one, was it the indextank project?
- Can we use google suggest as one of the providers?
Search Suggestions
Boards / Pin to Board
We need to introduce the concept of Board nodes in the Lattice data model.
Boards have the following properties:
- A short name
- A creation date
- A longer description?
Boards have the following relationships:
- They must have one owner (the person who created the board)
- They may have many followers (if the board is public)
- They may have many contributors (if the board is shared)
- They may have many pages
Questions from discussion:
- Are pages the primary entity that can be put on boards? (There was talk about putting images and text on boards.)
- Is the owner/follower/contributed model good?