Index of Solutions
This page contains an index quickly linking you to the Qbix features you'll need to use in order to solve each particular challenge in building your app.
- Website and Mobile Site
- Users and Accounts
- Streams and Data
- Places and Areas
- Websites and Admins
- Native Apps
Website and Mobile Site
Users and Accounts
| Solution | Qbix Platform Feature | 
|---|---|
| User signup and login | Q.Users.login() (JS), Q.Users.loggedInUser() (JS), Q.Users.loggedInUserId() (JS), Q::loggedInUser($throwIfNotLoggedIn), Q::logout() (PHP), Q_Valid::(), Q::logout() (PHP), Q.Users.login({using:"facebook"}) (JS), stream.invite() (JS) | 
| User onboarding | Q.Users.login() (JS), Q.Users.hint() (JS) | 
| Rendering users | Users/avatar tool, Streams/participants tool, Q.Streams.Avatar (JS), | 
| Selecting users | Streams/userChoser tool | 
| Letting users vote | Q.Users.vote() (JS) | 
| Contacts | Streams/contacts tool, Streams/contacts stream | 
| Contact labels | Q.Users.roles (JS), Streams/labels tool, Streams/labels stream | 
Streams and Data
Places and Areas
| Solution | Qbix Platform Feature | 
|---|---|
| Add plugin | "Places"/"google"/"keys"/{"server"|"web"} (Config), Q.Places.loadGoogleMaps() (JS), | 
| Track user location | Places/location tool, Streams/user/location stream, Places_Location::userStream (PHP) | 
| Autocomplete typing | Places/autocomplete (HTTP) Places::autocomplete (PHP) | 
| Nearby locations | Q.Places.distance() (JS) Places::distance() (PHP) Nearby::stream() (PHP) Nearby::forPublishers() (PHP) Nearby::forSubscribers() (PHP) Nearby::subscribe() (PHP) Nearby::unsubscribe() (PHP) Nearby::relateTo() (PHP) | 
| Areas within locations | Location::stream (PHP) Location::addArea() (PHP) $location->related() (PHP) | 
Websites and Admins
| Solution | Qbix Platform Feature | 
|---|---|
| Add plugin | "Websites"/"user"/"id" (Config), | 
| Support website articles | Q.Users.roles (JS), Websites/article stream type, | 
| Let admins manage SEO | Websites/admins label, Websites/seo tool, websites_permalink table Websites/article stream type, | 
Native Apps
| Solution | Qbix Platform Feature | 
|---|---|
| Distributing | Apache Cordova (PHP), scripts/Q/combine.php script | 
| Authentication | OAuth (PHP and JS) | 
| In-app notifications | Q.Streams.subscriptionDialog() (JS) In-app notifications (JS) | 
| Exposed urls | handleOpenUrl (PHP and JS) | 
| Bundle cache | "Q"/"environments" script, scripts/Q/urls.php script, Q_ct cookie | 
