December 2015 Summaries
67 posts from Couchbase
Filter
Month:
Year:
Post Summaries
Back to Blog
Signing up to our Developer Newsletter provides a range of benefits for Couchbase users, including staying updated on the latest news and events, opportunities to participate in monthly competitions to win SWAG, insights into new releases and features, access to tutorials and guides, and invitations to attend Meetups where you can connect with others using Couchbase.
Dec 31, 2015
160 words in the original blog post.
Spring Data Couchbase 2.0 Release Candidate is now available, offering users early access to the latest features by adding the Spring Snapshot Repository to their Maven configuration and specifying the 2.0.0.RC1 version in dependencies. Although the announcement encourages users to focus on holiday festivities, it teases a comprehensive blog post in January 2016 detailing the new features compared to Milestone 1. Meanwhile, users can explore the reference documentation provided online. The announcement concludes with holiday greetings from the Couchbase SDK team.
Dec 24, 2015
189 words in the original blog post.
The text discusses the author's experience using Jelastic, a Platform-as-Infrastructure that combines PaaS and IaaS capabilities, and highlights its recent release of a version called Joker, which integrates Jelastic with Docker. The platform is praised for its ability to facilitate both horizontal and vertical scaling, making it an ideal environment for deploying Couchbase, especially following Couchbase's focus on Multi-Dimensional Scaling in its 4.x release. The author shares their intention to create a series of posts explaining the deployment process, beginning with a straightforward Couchbase deployment using Docker on Jelastic. The process involves selecting an environment, choosing a Docker image, determining the number and size of nodes using a cloudlets selector, and setting up endpoints for public access. The author provides a video demonstration and suggests further reading for those interested in learning more about Couchbase and Docker.
Dec 22, 2015
359 words in the original blog post.
Covering indexes in Couchbase Server 4.1 enhance query efficiency by allowing data to be returned directly from the index, eliminating the need for document look-ups. This concept, borrowed from the relational/SQL world, involves creating an index that encompasses all the data needed for a query, thus bypassing several steps in the query process. In Couchbase, when a N1QL query is executed, it typically involves parsing the query, checking indexes, fetching document keys, retrieving documents, extracting data, and returning results. However, with a covering index, the query can be satisfied directly from the index, skipping the document retrieval steps. Setting up a covering index involves ensuring that a single index covers every JSON key touched by the query, as demonstrated with an example involving customer profiles and newsletter subscriptions. For further information, Couchbase Server documentation provides additional details on implementing covering indexes.
Dec 21, 2015
377 words in the original blog post.
Arun Gupta, currently the vice president of developer advocacy at Couchbase, has over a decade of experience in building and leading developer communities at major technology companies like Sun, Oracle, and Red Hat. With a strong background in engineering and a founding role in the Java EE team, Gupta has effectively led cross-functional teams in strategy development, content creation, and marketing. He is an accomplished author and speaker, having written over 2,000 blog posts and presented in more than 40 countries, earning recognition as a JavaOne Rock Star for three consecutive years. Additionally, Gupta founded the US chapter of Devoxx4Kids to promote technology education for children and is well-regarded in the tech community as a Java Champion, JUG leader, NetBeans Dream Team member, and Docker Captain, while maintaining an active online presence.
Dec 18, 2015
153 words in the original blog post.
As 2015 concludes and holiday festivities abound, the Lician Club App emerges as a useful tool for discovering local events and securing spots on VIP guest lists, facilitated by Couchbase Mobile technology. In a discussion with Sebastian Benzian Olsson during the Coffee on Couchbase series, the app's asynchronous event booking capability is highlighted, utilizing Couchbase Sync Gateway for data orchestration. The indexing of documents is achieved through Couchbase 'Views' and a Map function, enabling efficient data handling and sorting by event dates. This technology supports quick product resolutions and conserves engineering resources, with Channels in the app allowing access to different document databases. The platform's Sync Function facilitates seamless data migration and extensions without altering infrastructure logic. Future episodes of the series promise deeper explorations into data partitioning through the Sync Gateway's Channel feature.
Dec 18, 2015
408 words in the original blog post.
SIMBA Technologies has released an ODBC Driver for Couchbase, allowing developers to access Couchbase data with third-party data integration and reporting tools. The SIMBA Couchbase ODBC driver is installed on a Windows workstation with the required software versions, including Windows Operating System (Windows 7 or higher) and SIMBA Couchbase ODBC driver 1.0.0.1000. The driver configures a Sample System DSN called "Simba Couchbase ODBC DSN" using the ODBC Data Source Administrator utility. To configure ODBC access to Couchbase, developers need to specify the hostname or IP address of a Couchbase node running the Couchbase 4.x query service, port number for the Couchbase 4.x query service, and advanced options such as schema definition and primary indexes on Couchbase buckets. A schema serves as a translation layer between Couchbase data and an ODBC-compatible format, which can be stored in a physical JSON file or in every Couchbase bucket on the cluster. The SIMBA Couchbase ODBC driver provides a quick start guide for setting up ODBC access to Couchbase, allowing developers to integrate Couchbase with other tools and applications using ODBC-compliant data integration and reporting solutions.
Dec 17, 2015
967 words in the original blog post.
The official Linq provider for Couchbase N1QL has been released in developer preview #1. The pre-release is intended to introduce the provider's basic functionality and illustrate its usage, with significant API changes expected until the beta release. To use the provider, developers must first install the package on NuGet and configure their application using the ClusterHelper class from the Couchbase .NET SDK. The provider creates a DbContext object that abstracts the underlying data store and provides means of building queries, including support for N1QL keywords like NEST and UNNEST. Linq queries are executed deferred until enumeration, with exceptions thrown differently than in the Couchbase SDK. To filter results, developers can specify an attribute to their POCO projection or use a WHERE clause with a document type predicate. The provider is still in development and should not be used in production until the GA release of the 2.2.0 SDK.
Dec 17, 2015
772 words in the original blog post.
Spring Data Couchbase has transitioned from using the 1.4 generation of the Couchbase Java SDK to the 2.2 SDK, which supports N1QL, a new query language for documents. The 2.x SDK is a complete rewrite, featuring a fully asynchronous layer and RxJava Observables, which necessitates a major version update for Spring Data Couchbase. Key improvements include enhanced configuration elements aligned with Couchbase's structure, support for N1QL as the default for repository methods, and the ability to execute reduce functions through query derivation. Users can also configure consistency levels for queries to balance performance and data accuracy. The update allows for customization of JSON type information fields to improve compatibility with Couchbase Mobile, and it aligns the SDK configuration closer to Couchbase's cluster terminology. Overall, these changes enhance flexibility, performance, and integration within the Spring Data Couchbase framework.
Dec 17, 2015
1,437 words in the original blog post.
N1QL is the document query language specifically designed for querying data in Couchbase Server, offering a SQL-like querying experience for JSON documents without the need for pre-built views. As an integrated part of Couchbase Server 4, N1QL combines the flexibility of JSON with the power of SQL, making it accessible for those familiar with SQL while introducing new features tailored for JSON document manipulation. The learning curve is modest due to its SQL-inspired syntax, with key differences mainly in added keywords and JSON-specific functions. To aid learning, sample queries based on the "travel-sample" data set that comes with Couchbase Server 4 Beta are provided, allowing learners to experiment and modify queries on their own systems. The author encourages community involvement for expanding the sample set and offers a link to the full N1QL language reference for further exploration.
Dec 17, 2015
291 words in the original blog post.
The recent release of Couchbase Server version 2.1.3 follows up on versions 2.1.0 and 2.1.1, introducing Multidimensional Scaling (MDS) for Couchbase Server 4.0 Beta alongside a significant number of bug fixes. MDS is a new feature that enhances the scalability of Couchbase clusters by allowing specific nodes to be designated as query, data, or index nodes, optimizing hardware usage based on the workload requirements. This release ensures that client applications are aware of the designated roles of nodes, ensuring efficient operation in a 4.0 cluster, while maintaining backward compatibility with earlier versions. The update also addresses various technical tasks, improvements, and bug fixes, such as resolving zero BodyLength issues and connection leaks, and enhancing service awareness in server selection. The Couchbase .NET SDK, supporting these updates, is available for download directly, via NuGet, or through GitHub.
Dec 17, 2015
555 words in the original blog post.
The tutorial provides a quick start guide on integrating business intelligence tool Tableau with Couchbase 4.0, leveraging N1QL and ODBC/JDBC drivers via SIMBA. To begin, the required software must be installed, including Tableau Desktop, SIMBA ODBC for Couchbase Driver, and Couchbase 4.0 with the "travel-sample" bucket. The SIMBA ODBC driver is configured to connect to a node on the Couchbase cluster running the Couchbase Query Service, and an ODBC data source name (DSN) is set up to access the Couchbase server. N1QL queries require indexes to exist on the documents being queried, so a primary index is created on all documents in the travel-sample bucket using the cbq.exe utility. Once configured, Tableau can be connected to the Couchbase cluster, and reports can be built using JSON documents stored in Couchbase, enabling semi-structured data access for business intelligence users.
Dec 17, 2015
643 words in the original blog post.
Couchbase has released Couchbase Server 3.1.0 Enterprise Edition, marking the first minor update since the significant architectural overhaul in version 3.0. The new version introduces enhancements in the Database Change Protocol (DCP) and security, alongside performance improvements for map-reduce views and critical bug fixes that enhance stability and security. It also extends support to the SuSE Enterprise Linux 11 operating system. Couchbase Server 3.1.0 is now production certified with Couchbase Sync Gateway 1.1, encouraging users to upgrade from earlier versions to benefit from these advancements. Current users of Couchbase Server 2.5.x/3.0.x are recommended to update to enjoy these enhancements and are invited to provide feedback on the new release.
Dec 17, 2015
177 words in the original blog post.
As a developer, learning how to build mobile apps that work both online and offline is an essential skill that can greatly enhance your app's functionality and user experience. Couchbase Mobile provides a solution for this by making it easy to develop such apps with its APIs. To get started, a mini-hack challenge has been created which allows developers to quickly explore development with Couchbase Mobile using Objective-C, Swift, or Java in under 30 minutes. The challenge comes with step-by-step instructions and the chance to win an awesome prize, including a MAKERBOT REPLICATOR MINI, for completing it and sharing their experience.
Dec 16, 2015
205 words in the original blog post.
Jakob Hoydis, CTO of Spraed, discussed their choice of using Couchbase Mobile in an interview, citing its ability to help them achieve practical solutions that would have been otherwise impossible. He also gave a more in-depth talk about Spraed's architecture and technology choices at three European Couchbase meetups, covering topics such as Paris, London, and Munich. A video recording of Jakob's talk from the London meetup is available.
Dec 16, 2015
79 words in the original blog post.
Interest in mobile apps and the Internet of Things (IoT) is rapidly increasing, with vendors eager to associate with these terms. DataStax recently announced its database platform, DSE 4.6, as a leading solution for IoT, web, and mobile applications, yet its press release lacks details on managing mobile and IoT data both on devices and in the cloud. Businesses, aiming to gain competitive advantages, seek to deliver enhanced online experiences across various devices by providing personalized, context-rich interactions. For this, an IoT, mobile, or web-distributed database must include an embedded database for local data storage, support for always-available data access even without an internet connection, and secure multi-master synchronization for data consistency between devices and the cloud. Without these features, platforms like DataStax fall short of being true mobile or IoT database solutions. Couchbase, however, addresses these needs with its NoSQL database platform, Couchbase Mobile, which offers an embedded database for devices and secure data synchronization via Couchbase Sync Gateway, although scalability into very large clusters remains a concern.
Dec 16, 2015
483 words in the original blog post.
The blog provides a detailed tutorial on running Couchbase and Couchbase Sync Gateway using Vagrant and VirtualBox, beginning with the necessary installations and file preparations. It guides users through setting up a virtual machine (VM) to run Sync Gateway by creating a directory, downloading necessary configuration files, and employing specific Vagrant and VBoxManage commands to manage the VM's lifecycle. Once the VM is operational, users can SSH into it to execute scripts and start the Sync Gateway, after which they can access the Couchbase Admin UI using provided credentials to manage data buckets, specifically targeting the ToDoLite mobile application. The tutorial emphasizes the flexibility of deploying Couchbase solutions either locally or via AWS, with the promise of a scalable system supporting offline mobile experiences, and hints at further exploration of these methods in subsequent blog posts.
Dec 16, 2015
618 words in the original blog post.
The second episode of Coffee on Couchbase features the 2015 Couchbase Hack Generation Y winning mobile app, OnTime, which was built by a team that incorporated Couchbase Mobile to achieve cross-platform multi-device syncing. The team's experience during the hackathon is shared in this episode, providing insights into how easily sync can be implemented within an app using Couchbase Mobile. Additionally, the Mini-Hacks series offers a straightforward way for developers to get started with creating offline-online solutions for their mobile apps.
Dec 16, 2015
113 words in the original blog post.
The tutorial provides a comprehensive guide on updating an Android app using Couchbase Mobile, emphasizing the use of a Sync Gateway webhook to import data from the Google Places API with Node.js. It details the process of syncing data initially and later restricting data to a subset by modifying access rules in the Sync Function, followed by a resync operation to update these rules. The setup involves installing Sync Gateway, configuring a webhook, building an app server with Node.js and Express, and integrating these with an Android app using the Google Maps SDK and Couchbase Lite for data synchronization. The tutorial also covers creating users and implementing access controls to filter documents per device location, ensuring efficient data management as the application scales. The guide concludes with a demonstration of using the resync endpoint to update document access following changes to the Sync Function, highlighting best practices for managing mobile app updates and user-specific data access.
Dec 16, 2015
3,043 words in the original blog post.
Data modeling for relational databases traditionally employs techniques such as entity-relationship diagrams and normalization, which have been refined over time. However, real-world applications often do not present data in fully normalized forms. Document databases, like Couchbase Server, offer more flexible storage options using JSON documents, suggesting that data modeling remains a crucial skill. For data modelers experienced with relational databases, this article aims to provide guidance on adapting their skills to model data effectively within document databases.
Dec 16, 2015
97 words in the original blog post.
The blog post by Michael Rothschild highlights the evolution of cybercrime from a negligible concern during the dot-com boom to a critical issue in the current era, where IT is a fundamental aspect of business operations. As cybercrime has become more prevalent, driven by the monetization of stolen sensitive information, it has transitioned from a niche tech concern to a widespread societal issue. This shift has necessitated a change in how both individuals and organizations approach data security, emphasizing the inevitability of breaches and the need for robust measures to protect valuable information. The post discusses how companies like Couchbase and Vormetric are addressing these challenges by providing advanced security solutions, including encryption, data masking, and tokenization, to safeguard Big Data against unauthorized access. These measures ensure that even if traditional security barriers are breached, the data remains protected and useless to criminals, thus offering a sense of security in an increasingly insecure digital landscape.
Dec 16, 2015
831 words in the original blog post.
Chicago is hosting a free day-long tech education event called Couchbase Mobile Day Chicago, where participants will learn about building mobile applications on iOS and Android platforms that sync in the background and have offline data storage as a feature. The event includes workshops and presentations covering various topics such as Couchbase Mobile Overview, Getting Started, Hands-on Lab, Couchbase Lite, Couchbase Sync Gateway, Live Query & Synchronization. To prepare for the event, attendees are advised to download and install prerequisites like XCode 7.0 or later for iOS, Android Studio 1.2 or later with minimal SDK 19 for Android, VirtualBox and Vagrant, as well as Couchbase Sync Gateway and Couchbase Server. The event will take place at 21 E. Bellevue Place in Chicago, IL on December 1st, where participants can get hands-on experience with Couchbase Mobile and learn about its features and applications.
Dec 16, 2015
660 words in the original blog post.
The Android Developer Summit, organized by Google in Mountain View, California, served as a precursor to the upcoming Android Developer Conference (AnDevCon). The summit highlighted Google's focus on the newly released Android Studio 2.0, which features a significantly improved Android emulator, addressing previous performance issues that have often slowed development processes. Attendees, including the author who is an Android developer, were introduced to various innovative features and development concepts by Google's engineers, such as the use of data bindings between UI and application logic, which were well-received. The author, who will be presenting on building offline-first Android applications, looks forward to continuing these discussions at AnDevCon in Santa Clara, where interactions at the Couchbase booth are encouraged.
Dec 16, 2015
264 words in the original blog post.
The tutorial outlines a comprehensive guide on setting up a user authentication system using the Sync Gateway API, Node.js, and an Android application. It explains the process of client-side authentication to replicate user-accessible data, emphasizing the necessity of pre-existing users in the Sync Gateway database for basic authentication. The guide details how to create users through the Admin REST API and configure an app server with Node.js using the Express module to handle user sign-ups, with all other traffic proxied to Sync Gateway. Further, it describes the development of a simple Android app using Android Studio, incorporating Material Design components and OkHttp for HTTP requests, to test the sign-up and login functionalities. The tutorial concludes by demonstrating how to implement user login and sign-up screens and manage HTTP requests, ensuring a seamless authentication process with status code feedback via Toast messages in the app.
Dec 16, 2015
1,818 words in the original blog post.
Couchbase Mobile is used to power a mobile stats tracking app called ScoreMore which helps align and optimize a baseball team's performance by capturing data on individual player batting outcomes. The app uses JavaScript to create Views that store player data in an array within a document type, and utilizes Couchbase's Sync feature for remote areas with limited connectivity. This allows the app to track game data and display player tendencies in a spray chart, providing valuable insights for teams. ScoreMore is now available for download on Android, iOS, and BlackBerry platforms.
Dec 16, 2015
255 words in the original blog post.
Navigating New York City often requires mobile devices due to the city's inconsistent network coverage, which can lead to broken app experiences, particularly on the subway or in heavily trafficked areas. On October 6th, at Couchbase Live New York, a series of technical sessions will address these challenges by teaching participants how to create offline secure mobile applications using Couchbase Mobile. The event features various sessions, starting with an introduction by Wayne Carter and Ali LeClerc, followed by practical learning experiences, including a "Birds of a Feather" lunch discussion and presentations from the GE team. Attendees will explore building mobile apps with Couchbase Lite, integrating secure sync through Couchbase Sync Gateway, and enabling peer-to-peer features for unique in-app experiences. The event takes place at Cipriani Wall Street, with additional topics and sessions available throughout the day.
Dec 16, 2015
524 words in the original blog post.
Couchbase Mobile allows developers to build applications with offline and online experiences. The mobile solution consists of Couchbase Lite, Sync Gateway, and Couchbase Server. To set up Couchbase Server, users need to create a DigitalOcean account, create a Droplet, and connect Sync Gateway. After setting up the Droplet, users can download and install Couchbase Server and Sync Gateway using the `wget` command and `dpkg` command. The tutorial will continue with configuring the Couchbase Server instance created on DigitalOcean.
Dec 16, 2015
753 words in the original blog post.
The latest release of Couchbase Mobile includes bug fixes and performance optimizations, with a focus on better test infrastructure tooling, replication behavior correctness, and improved Sync Gateway stability and usability. The 1.0.2 packages for Couchbase Lite iOS and Android, as well as the Sync Gateway, have been made available for download from the Couchbase website. Users can file issues or provide feedback through GitHub repos or a mailing list forum.
Dec 16, 2015
148 words in the original blog post.
In the first episode of "Coffee on Couchbase," viewers are introduced to Ray, the lead developer of the Android app Kax Card, who explains his implementation of Couchbase Mobile for setting up a scalable mobile database. Ray demonstrates how developers can use Couchbase Mobile to perform local CRUD operations within their Android applications, providing insights into creating projects that can efficiently manage an expanding list of mobile features. This episode serves as an educational resource for developers looking to enhance their app's database capabilities.
Dec 16, 2015
86 words in the original blog post.
A JavaFX application with Couchbase Mobile can be used to create desktop applications with rich user interfaces and fast data access. To get started, one needs to clone the TodoLite JavaFX source code, set up the project in IntelliJ IDEA, and add the Couchbase Lite library as a dependency. The application can then be used to create and persist documents, and sync them with a Sync Gateway instance. The Sync Gateway configuration file defines settings such as database names, users, and security rules. By adding replication to the JavaFX application, it is possible to synchronize data between multiple devices or applications. The next steps include learning about the Sync Function to define access rules and Couchbase Lite Views to write custom queries.
Dec 16, 2015
1,029 words in the original blog post.
The Couchbase Lite Viewer is a tool designed to allow developers to inspect and manage documents within Couchbase Lite databases, particularly useful when developing iOS or Android applications. It enables users to browse existing documents, insert new ones, and display soft deletions, which is demonstrated through a todo list application example. The screencast covers steps like installing the Couchbase Lite Viewer, using the App Browser to open a database on iOS, making modifications in the app to see real-time updates in the Viewer, and locating and copying the .cblite file on Android using ADB commands to open it in the Viewer. Additionally, it includes instructions for Android users on navigating the filesystem of an emulator or device using ADB shell commands and copying files to the host filesystem.
Dec 16, 2015
156 words in the original blog post.
The Wearhacks event in Toronto showcased innovative wearable technology applications, including prototypes using Intel Edison, Nod Ring, Muse Headband, and MYO from Thalmic Labs. The event highlighted the potential of P2P replication for seamless data sharing between devices without relying on cloud servers. Couchbase Mobile enables peer-to-peer replication across multiple devices, allowing syncing of content to the cloud or locally. This technology can be used in wearable tech projects, IoT applications, and even mobile apps like Office Radar, which leverages location-based beacons to download content with a simple hand gesture. With Couchbase Lite and Sync Gateway, developers can create offline-online solutions for mobile and embedded devices.
Dec 16, 2015
488 words in the original blog post.
N1QL query language is introduced in Couchbase 4.0, bringing SQL-like queries to JSON documents. The performance of N1QL queries heavily depends on the shape of the data and the system used. Creating indexes can significantly improve performance. A test bench was created to measure the execution time of N1QL queries with and without indexes. The results showed that using secondary indexes can greatly improve query performance, with a factor of 100 to 1000 improvement in some cases. However, creating too many indexes can impact the cluster's CPU usage. Creating indexes is essential for optimal performance, and the code provided allows users to easily create indexes with a single line of code.
Dec 16, 2015
2,343 words in the original blog post.
The text discusses advanced object modeling techniques in Couchbase to optimize logging and event data management, emphasizing high write rates, scalability, and efficient data retrieval. It introduces a method involving counter objects and event objects to efficiently manage and retrieve data using key/value lookups instead of traditional querying, allowing sub-millisecond response times. This approach leverages Couchbase's automatic-sharding architecture to evenly distribute load across nodes, facilitating seamless scalability without altering the application layer. While key/value access is highlighted for its speed, N1QL is presented as an additional tool for querying when necessary, demonstrating the flexibility and power of Couchbase in handling high-velocity data operations.
Dec 16, 2015
1,917 words in the original blog post.
Implementing a Xamarin solution with Couchbase Mobile provides an efficient framework for creating cross-platform mobile applications in C# with local persistence, allowing apps to operate independently of a network connection. The process involves setting up a new Xamarin Android application, integrating the Couchbase Lite NuGet package, and leveraging the shared code capabilities of Xamarin to ensure that the database operations are consistent across both iOS and Android platforms. Once the Couchbase Lite package is added, developers can create a local database to perform basic CRUD operations, such as creating, retrieving, updating, and deleting tasks, using a NoSQL JSON data model. The tutorial guides users through setting up a shared database project, implementing task management functionalities, and concludes with suggestions for further resources, including GitHub repositories and guides for enhancing the application with offline capabilities and document indexing.
Dec 16, 2015
1,822 words in the original blog post.
Spraed is a unique content-sharing app designed primarily for in-person interactions, distinguishing itself from typical shared bookmark list apps. Jakob Hoydis, the CTO of Spraed, discussed at a Couchbase London meet-up how the app was developed using Couchbase Mobile, emphasizing the platform's syncing capabilities that allowed for rapid development with a smaller team. He acknowledged the ongoing support from the Couchbase Mobile mailing list and hinted at future plans for Spraed. An interview with Jakob was conducted post-meet-up, with a video of his talk expected to be released soon.
Dec 16, 2015
142 words in the original blog post.
The Couchbase Mobile 2.x has released a new set of step-by-step tutorials to help mobile developers integrate Couchbase into their applications, covering Database CRUD, Query, Full-Text-Search and sync capabilities across multiple platforms including iOS, Android, and .NET. The tutorials are available from the sample apps page, but some users have expressed frustration with the quality of the documentation, citing issues such as non-functional navigation, broken links, and poor writing style. Couchbase has acknowledged these concerns and is actively working on improving its tutorials, samples, and documentation to provide a better learning experience for developers. The company also recognizes the importance of providing adequate coverage across all platforms and is planning to release new Xamarin-related tutorials in the future.
Dec 16, 2015
683 words in the original blog post.
Couchbase has introduced a new mobile technology that shifts developers from the traditional web-centric LAMP stack to an integrated mobile stack, emphasizing the use of JSON Anywhere. This approach allows developers to focus less on data management between devices and the cloud, and more on enhancing user experience. The flexibility of JSON schemas and seamless data synchronization across devices are highlighted as major productivity boosters. Unlike traditional architectures requiring substantial server-side development, Couchbase Lite offers an efficient and flexible solution, accommodating rolling upgrades and enabling cross-device data access with minimal code. The comparison between Couchbase and a traditional Ruby on Rails setup illustrates significant reductions in backend code requirements, enhancing developer productivity and allowing more time for user-focused innovation.
Dec 16, 2015
1,106 words in the original blog post.
Today marks the first release of Mobile Couchbase, a beta version for iOS that allows developers to embed a distributed database on iPhone and iPad devices, leveraging Apache CouchDB’s synchronization technology. This release, available for download on GitHub, aims to gather feedback for product improvement and includes support for the iPhone Simulator, a feature added with the help of community members like Robert McNally and Mathieu Ravaux. Mobile Couchbase offers efficient data synchronization through a JSON and HTTP protocol, minimizing battery and data usage. Future developments include the ObjC Map Reduce feature, which could reduce the download size by half and is anticipated to enhance adoption among iOS developers. Community support has been crucial to these developments, and interested developers are encouraged to join the Mobile Couchbase mailing list for updates and collaboration.
Dec 16, 2015
358 words in the original blog post.
NSProgress` is an object in Foundation that represents the completion of some work, allowing easy reporting of progress across various components for both UI and system applications. Couchbase Mobile uses `NSProgress` to inform about change events during replication. The tutorial on importing data from the Google Places API to Sync Gateway and replicating it to an iOS app demonstrates how to use `NSProgress`. The process involves creating a new project in the Google Developer Console, generating a Server API Key, setting up a pull replication with the iOS SDK, and using replication change notifications to display a progress bar in the UI.
Dec 16, 2015
1,369 words in the original blog post.
Next week's Coffee on Couchbase series webinar will take place on December 16th, 2015 at 2:00PM Pacific Time.
The live broadcast will feature Don Pinto and Nic Raboy discussing the latest features in Couchbase 4.1, including DML support for INSERT, UPDATE, and DELETE queries, prepared statements for boosted query performance, and covering indexes on all columns in a particular query.
A link to the webinar can be found below, and registration is free.
Dec 16, 2015
134 words in the original blog post.
The Couchbase Mobile Holiday Mini-Hack Challenge is a 30-minute development challenge for mobile developers. It's designed to be a fast, easy, and fun way to explore Couchbase Mobile and can be completed in just 30 minutes. The challenge consists of building an online/offline app using a basic set of Couchbase Mobile APIs and comes with step-by-step instructions to help those who get stuck. The goal is to stimulate developers of all skill levels and provide a fun holiday activity.
Dec 16, 2015
135 words in the original blog post.
Building cross-platform mobile applications using Couchbase and Ionic Framework is a popular topic, with existing step-by-step guides on creating hybrid apps that synchronize data between iOS and Android. Although the specific project results are not shown in the series, a video demonstrates the ease and effectiveness of integrating Couchbase into Ionic Framework development. By utilizing JavaScript, CSS, and HTML, developers can leverage Ionic Framework, based on Apache Cordova, to create visually appealing apps that sync with Couchbase and are deployable across platforms with a single codebase.
Dec 16, 2015
113 words in the original blog post.
Couchbase Mobile has released version 1.0.3 updates for both Couchbase Lite clients and the Sync Gateway server, focusing on quality and performance improvements as they work towards their next major release. The updates include minor enhancements for Couchbase Lite iOS, which will be extended to other platforms, and proactive fixes for issues anticipated with Android's upcoming Lollipop release. The Sync Gateway update offers patched installation scripts for various Ubuntu and Centos versions, addresses the POODLE vulnerability, improves session management APIs, and includes several other enhancements. Additionally, new Swift sample code has been integrated into the documentation for Couchbase Lite iOS developers. Users are encouraged to reach out via the mailing list or the new forum for any questions.
Dec 16, 2015
278 words in the original blog post.
The tutorial aims to help developers learn how to run a React Native Android app on a Genymotion emulator, enabling live reload for instant updates and debugging with Couchbase Lite and Sync Gateway.
Dec 16, 2015
85 words in the original blog post.
The document provides a detailed guide on integrating Couchbase Sync Gateway with Couchbase Server on an Amazon EC2 instance for a mobile application, following up on a previous blog post about installing Couchbase AMI on AWS. It begins with accessing and modifying the Couchbase Web Console to create a target data bucket named 'todolite.' The process includes obtaining the server's public IP, setting appropriate permissions for the private key file, and using SSH to connect to the AWS instance. The configuration file 'config.json' is updated to replace the 'server' value with the local Couchbase Server's URL. The guide further describes downloading the ToDoLite Couchbase Mobile application, modifying the Sync URL in the 'BuildConfig.java' file, and starting the Sync Gateway on the EC2 instance. Finally, the document explains how to replicate data across multiple mobile application instances, demonstrating successful synchrony by logging into the Couchbase Web Console to view shared tasks. This comprehensive setup allows for data synchronization across Android devices using the Sync Gateway configuration and stores data on the cloud server.
Dec 16, 2015
1,960 words in the original blog post.
SmartTrade is a mobile application designed to process customer payments directly from mobile devices. At a recent Couchbase London meetup, Catherine from SmartTrade discussed their decision to utilize Couchbase Mobile to enhance the functionality of their card payments app.
Dec 16, 2015
92 words in the original blog post.
A three-day hands-on programming course on Couchbase Mobile is being offered, where participants will learn to create NoSQL mobile applications utilizing Couchbase Mobile's replication sync capabilities. The course covers both Android and iOS solutions through practical programming labs, allowing participants to design and code a real-world mobile application using components like Couchbase Lite and Couchbase Sync Gateway to sync data to the cloud-based Couchbase Server. Key concepts such as Couchbase Lite APIs, Replication API, authentication, and data routing with Couchbase Sync Gateway will be explored, along with techniques for indexing data using Views and Queries. Enrollment is open for both in-person sessions in various cities and virtual classrooms, enabling global participation.
Dec 16, 2015
255 words in the original blog post.
The blog post explores the integration of Vert.x, a framework for building fully asynchronous applications, with the Couchbase Java SDK, which offers an RxJava-based asynchronous API. It guides readers through creating a Couchbase Verticle that connects to a Couchbase Cluster and Bucket, serves JSON documents, and manages resources like opening and closing connections asynchronously using Java 8. The post outlines starting a new Vert.x project, asynchronously obtaining a Bucket, and gracefully tearing down the SDK. Additionally, it demonstrates creating sample data in Couchbase, serving JSON data via a REST endpoint, and stopping the Verticle through an HTTP route. The article emphasizes the synergy between Vert.x and Couchbase for developing reactive applications, encouraging further exploration and development in asynchronous coding.
Dec 16, 2015
2,364 words in the original blog post.
There have been some amazing games built using the Unity platform, but a core component missing in all these creations is a local database. A local database can persist game data and improve playability by not relying on network connections when they're dropped. This blog post explores how Unity and Couchbase, a NoSQL database, can work together to deliver outstanding experiences for mobile game players. By using Couchbase Mobile for Unity, developers can add a local database to their games, allowing them to save player data locally without depending on the network. This is achieved by referencing the Couchbase Lite frameworks in the GameController.cs file and creating a document named 'player_data' to store player data. The data can be retrieved, modified, and saved locally using Couchbase's Update method. Replication endpoints are also created to push local data to the remote server, allowing for synchronization of data between devices and the remote endpoint. This enables games to run smoothly even when network connections are dropped, resulting in a more robust and reliable gaming experience.
Dec 16, 2015
859 words in the original blog post.
The text outlines a contest inviting developers to create innovative applications using N1QL and Couchbase Server 4.0 Beta, with the option to use Joyent's Triton Elastic Container Service for infrastructure. Participants are encouraged to leverage the beta Simba drivers for BI connectivity and must submit their applications via tweet by September 16, 2015, including a screencast and GitHub link. Judging criteria include creativity, effective use of N1QL, and app aesthetics, with prizes awarded for the most creative and most popular applications. All eligible participants receive a Google Cardboard kit, and category winners earn a $500 Amazon gift card. The judging panel comprises experts from Couchbase, Simba Technologies, and Joyent, and developers are encouraged to engage with the N1QL forums for support.
Dec 16, 2015
593 words in the original blog post.
In the third episode of "Coffee on Couchbase," Robin, the lead developer at FrontLog, discusses the integration of Couchbase Mobile in developing a collaborative productivity and task management app. This app enables rapid synchronization of tasks across multiple devices, users, and teams, utilizing features like LiveQuery for real-time database updates and the Channels feature to allow users to subscribe to and share LogBooks. FrontLog provides a seamless user experience both online and offline, with offline-created tasks automatically syncing once a connection is reestablished. The app is available on iTunes for iOS and Mac OSX, showcasing the impressive technology of Couchbase Mobile that facilitates fast synchronization across platforms.
Dec 16, 2015
228 words in the original blog post.
The blog post explores integrating Spring Cache with Couchbase to efficiently cache data in a Spring application. It details the use of Spring's cache abstraction, which allows developers to easily manage caching through annotations like @Cacheable, @CachePut, and @CacheEvict. The discussion highlights the necessity of implementing a backing store, focusing on Couchbase's implementation, which uses document keys to store cache values. The post guides readers through setting up a simple Spring Boot project with Couchbase-backed caching, including steps to clone, build, and configure the necessary project using Maven. It demonstrates how to activate caching for a BookRepository interface, significantly improving data retrieval times after the initial fetch. The tutorial concludes with a look at how cached data appears in Couchbase and suggests future enhancements, such as alternative storage formats and wider availability of the project.
Dec 16, 2015
2,223 words in the original blog post.
React Native allows developers to create Android applications that appear native using JavaScript, and in this tutorial, users learn to integrate Couchbase Lite for data synchronization and persistence. The guide walks through setting up a React Native project with Android Studio, configuring Couchbase components, and building a simple app to save and sync documents with Sync Gateway. Key steps include creating a new Android project, setting up dependencies with Gradle, integrating React Native, and implementing basic UI components and API functions for data management. Additionally, the tutorial covers running the app on an Android emulator and using Sync Gateway for replication, with instructions on monitoring document synchronization via the Admin UI. It concludes with suggestions for further development, such as adding custom queries and user authentication, while offering resources for debugging and community support.
Dec 16, 2015
2,836 words in the original blog post.
The NCDevCon Conference is held annually on the Centennial Campus of NC State University in Raleigh, North Carolina. The conference covers various topics including mobile, web development and design, such as Web/HTML5/CSS, Mobile, JavaScript/JQuery, and ColdFusion. The event features a lineup of current hot trends and topics, with sessions led by experts like Nolan Erck, Jan Kleinert, and Aaron Benton on subjects ranging from Ionic + Angular JS to NoSQL technology and creating Couchbase applications. The conference also explores the trend of offline app experiences in mobile, including how to create offline mobile apps using Couchbase Mobile.
Dec 16, 2015
225 words in the original blog post.
Dropbox has announced the deprecation of its Sync and Datastore APIs to concentrate on its Core API, causing frustration among developers who have relied on these services. The decision has sparked disappointment and concern, as many developers feel left without the support they need for syncing scenarios. This situation highlights the appeal of open-source ecosystems, where users have more control. Couchbase Mobile is presented as a robust alternative, offering a full-featured sync solution with capabilities exceeding those of Dropbox's deprecated APIs, including features like fine-grained access control and peer-to-peer sharing. The transition to Couchbase Mobile is facilitated by its adaptability to existing authentication systems and its support for JSON API operations similar to those of Dropbox Datastore. Developers are encouraged to consider this transition to maintain functionality and explore enhanced features.
Dec 16, 2015
549 words in the original blog post.
Couchbase Lite, the first native NoSQL database designed for mobile, currently supports iOS and Android platforms, with plans to explore compatibility with Windows Mobile, Mac OS, and Linux in the future. Its initial release includes security features like on-device data security, authentication services, and SSL for data transmission, while maintaining a compact size of approximately 500KB. The system imposes a 20MB size limit on JSON documents and attachments, with recommendations for efficient data routing and document management. Couchbase Lite is integrating with mobile development platforms such as Xamarin, Appcelerator, and PhoneGap, and the company encourages feedback from its beta users through forums and a mailing list.
Dec 16, 2015
451 words in the original blog post.
At a recent Web 2.0 presentation, the speaker highlighted the key differences between mobile and traditional Web 2.0 architectures, emphasizing the challenges posed by mobile devices' unreliable connections and high latencies. They proposed a future where mobile devices would preload likely-to-browse content to mitigate these issues, leveraging the decreasing cost of storage and the limitations of current network latency. Audience inquiries centered on conflict detection and management, with Couchbase cited as a solution for tracking conflicts and facilitating application-based resolutions, rather than relying on automatic merge processing, which would require understanding the application's specific merge strategy needs.
Dec 16, 2015
233 words in the original blog post.
The article provides a comprehensive overview of using Ottoman, an object document mapper (ODM) for Couchbase, as an alternative to Mongoose for MongoDB, highlighting its ease of use in performing CRUD operations with Node.js. Ottoman simplifies database interactions by allowing developers to define object models with properties and methods, automatically handling boilerplate logic. The article includes examples of setting up Ottoman in a Node.js project, defining and using models, executing custom methods, and performing various database operations such as creating, reading, updating, and deleting documents. Through these examples, it demonstrates how Ottoman offers a user-friendly approach to working with Couchbase, comparable to Mongoose's functionality for MongoDB, and emphasizes its potential to streamline development processes.
Dec 16, 2015
1,860 words in the original blog post.
The ASP.NET Identity System is a modern framework designed for managing authentication and authorization in ASP.NET applications, offering enhancements over previous models such as ASP.NET Membership and Simple Membership. It supports non-relational data stores like Couchbase Server and includes features such as profile store, role and claims-based authorization, social logins, and OWIN support. The Couchbase ASP.NET Identity Provider, currently in Developer Preview, aims to be a comprehensive solution by incorporating these features, although only authentication has been thoroughly tested so far, with plans to expand to role and claims-based authorization and third-party social media integration. The blog post provides a guide on integrating the Couchbase ASP.NET Identity Provider with an ASP.NET MVC Web Application, including steps to replace the default Entity Framework Identity Provider with Couchbase's, and details the use of JSON documents and manual indexes for data storage. Users can access the provider through NuGet or build it from the source on GitHub, and they are encouraged to contribute or report issues via GitHub or Jira.
Dec 16, 2015
913 words in the original blog post.
The Couchbase Mobile team is visiting Bangalore for a few weeks, where they will be speaking at the Mobile Developer Summit, hosting hands-on workshops, and meeting with mobile developers. The team will also have a booth at the event, offering giveaways and providing an opportunity to learn about Couchbase Mobile. Additionally, there are several upcoming events in Bangalore, including Android and iOS user group workshops, as well as a hands-on lab at PES University for engineering students.
Dec 15, 2015
245 words in the original blog post.
The Couchbase EMEA Developer Advocacy team gathered in London to review 2015 and discuss plans for 2016, bringing together team members from Paris, Copenhagen, Brighton, and Shropshire. The team had a busy year, presenting at major conferences like Couchbase Connect, speaking at meet-ups, conferences, and workshops across Europe and parts of Asia, and writing blog posts, webinars, and training materials to help developers make the most of Couchbase. 2015 marked a significant shift in focus towards developer relations as a company-wide mission, with highlights including the launch of the Couchbase Champions and Experts programme and the development of new content, such as regular developer hangouts and a podcast. For 2016, the team plans to build on this momentum, expanding their content offerings, running meetups near users, and increasing their presence in new cities.
Dec 14, 2015
585 words in the original blog post.
Bigstep is a public cloud provider that offers bare metal infrastructure for deploying applications like Couchbase Server. With its easy-start templates and visual tool, the Infrastructure Editor, users can quickly plan and deploy their clusters in just a few clicks. The process involves creating an account, planning the deployment, editing cluster configurations, reviewing pricing, and finally deploying the cluster. Bigstep provides real-time monitoring and optimized solutions for Couchbase Server, making it a viable option for those looking to deploy their applications on bare metal infrastructure.
Dec 14, 2015
716 words in the original blog post.
The Simba Couchbase driver provides flexible bucket- or table-level N1QL/SQL data manipulation capabilities, enabling users to perform operations such as schema manipulation, mass updates, and mass deletes in a single operation. This allows for efficient data management and modification of JSON documents without the overhead of reading the document first. The driver supports both N1QL and SQL syntax, allowing users to choose the most suitable query language for their needs. With the Simba Couchbase driver, users can connect their Couchbase database to traditional ETL tools and issue queries that are scoped to the table level, providing a seamless integration with existing development workflows.
Dec 11, 2015
1,244 words in the original blog post.
Apache Spark provides a powerful solution for transforming data within Couchbase, particularly when migrating from more rigid database structures. By leveraging Spark's integration with Couchbase's various interfaces, such as the K-V interface and the DCP streaming interface, developers can efficiently manage data transformations. An example scenario involves converting JSON data profiles from a partner for a game launch, requiring a one-time transformation that includes a lookup from a MySQL database. Spark allows for the streaming and transformation of data, with the ability to enrich JSON documents with additional information from MySQL, and then re-store the transformed data back into Couchbase. Despite some challenges, like managing large MySQL datasets or the experimental status of Couchbase's DCP interface, Spark's framework offers scalability and potential for more complex transformations, as well as enhancements like machine learning models. The described methods, while straightforward, provide a foundational approach to handling data transformations and migrations in modern data environments.
Dec 09, 2015
1,187 words in the original blog post.
Couchbase 4.1 has officially announced support for Windows 10, marking a significant investment in the Windows and .NET platform, which is central to their current plans and future roadmap. This strategic focus has resulted in widespread adoption from the .NET community, with notable contributions to core projects such as the LINQ adapter, ASP.NET session store, and identity provider. The product manager expresses gratitude for community contributions and looks forward to continued collaboration. The expansion of support for the .NET platform with Windows 10 is expected to foster further deployments, projects, and community growth, signaling an exciting future for Couchbase and its users.
Dec 09, 2015
265 words in the original blog post.
The text discusses the implementation of login and session models in a social media application, building on previous parts that covered data models and email verification. It outlines the process of user authentication via an API endpoint, '/api/loginAuth', ensuring that email and password validation occurs securely through backend processes, including the use of POST requests and hashed passwords. The text details the steps for logging users in, such as verifying email confirmation and recording login times, and explains the creation of session documents to manage user sessions securely. This session-based approach, using Couchbase SDK, ensures that user information is protected and accessible only to authenticated users, with session management involving setting expiry times and storing session IDs in local storage to handle protected routes. The text compares this method with alternatives like JSON web tokens and OAuth 2.0, underscoring the backend-centric nature of this security approach, and invites feedback from readers.
Dec 08, 2015
1,394 words in the original blog post.