Xcode Playground for Testing & Exploring Query APIs in Couchbase Mobile
This video is a step-by-step demonstration of using a sample Xcode Playground for testing the query APIs in Couchbase Mobile 2.0 . Couchbase Mobile 2.0 Introduces a Query API that allows you to query JSON data store using SQL like semantics. If you are familiar with SQLite, you will feel right at home with the new QueryBuilder Interface that is designed as a Fluent interface.
The Xcode Playground is an interactive environment that allows you to write and execute swift code immediately, and offers a convienent way to learn and explore APIs without having to create a full-blown Xcode App project. This is a perfect use case for exploring the Coucbase Lite 2.0 API. We will not be creating a playground here. We will be using one that we have put together specifically for Query API testing.
While the Xcode playground demonstrates the queries in swift, given the unified nature of the QueryBuilder API across the various Couchbase Lite platforms, barring language specific idioms, you should be able to easily translate the queries to any of the other platform languages supported in Couchbase Lite.
So, even if you are not a Swift developer, you should be able to leverage the Xcode playground for API exploration. This video makes no assumptions about your familiarity with Swift or iOS Development so even if you are a complete newbie to iOS development, you should be able to follow along.
Resource Links
---------------------------
- Query Playground Repo : https://github.com/couchbaselabs/couchbase-lite-ios-api-playground
- Blogs : https://blog.couchbase.com
- Downloads : https://couchbase.com/downloads
- Couchbase Developer Portal : https://developer.couchbase.com/documentation/mobile/current/whatsnew.html
- CBM 2.0 API References : https://developer.couchbase.com/documentation/mobile/2.0/couchbase-lite/index.html
- Xcode Download : https://itunes.apple.com/us/app/xcode/id497799835?mt=12
- Carthage : https://github.com/Carthage/Carthage
- Apple Playground Overview : https://help.apple.com/xcode/mac/9.3/#/dev188e45167
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Xcode Playground for Testing & Exploring Query APIs in Couchbase Mobile», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.