Message:

  • Home
  • Articles by: Olga Danilova

Author Archives

Backendless Chat App with Images

In this series of articles, we are going to show you how to make a beautiful chat app that supports sending, editing, and deleting messages with both text and images.

You can download the prepared template from the author’s GitHub repo here and switch to the basicTemplate  branch. Go to the root of the downloaded project and run the `pod install`  / `pod update`  command to install all necessary dependencies. After the dependencies are installed, open the created .xcworkspace file. The basic project contains a description of ViewControllers , table cells, resources (pictures used in this app) and the keyboard appearance logic.

Continue reading
Posted in Examples, Messaging

Develop an iPhone Game App

This is the final article in a three-part series on building a multi-user iOS game app. In part 2 of this series, we demonstrated the process of player registration, login, and storing in Backendless Database. Now, let’s take a look at counting the score for every player, creating a leaderboard, and how all of the game installations are notified when this information changes.

The source code for the game is available in the author’s personal Github repoYou can read Part 1 of this series here and Part 2 here.

Continue reading

For this series, we are developing an iOS game called “TapMe”. As TapMe is a multiplayer game, it provides registration for the new users and login for the existing ones. In this article, we are going to demonstrate how to handle user registration and login, as well as how to store a player’s information in the database.

The source code for the game is available in the author’s personal Github repo: https://github.com/olgadanylova/TapMe.git

You can read Part 1 of this series here.

Develop an iPhone Game App

Continue reading

Did you know you can use the Backendless Code Generator, which is a part of Backendless Console, to easily generate a simple real-time chat application for iOS, Android and JavaScript? You get full source code and can see how to use Backendless APIs for sending text-based chat messages in real time. In this article I will describe how to modify the generated iOS application so you can send both pictures and text messages.

Continue reading
Posted in Examples, iOS, Messaging

With the introduction of the real-time database, Backendless is a great platform for developing games, especially multi-user ones. In this series of posts, I will be showing to you how to build a game for iOS with Swift using Backendless. For a quick overview of the game in action, please watch the video below:

Continue reading
Posted in Examples, iOS

Backendless and Firebase, both being mobile BaaS platforms, are presenting different capabilities for mobile apps creation.

Here is a list of the Backendless features which either are not supported by Firebase or just exceed it in usability.

  1. Backendless Pro (the standalone, self-hosted version of the product) can be installed on the developer’s computer, a private data center or a public cloud. No matter where it’s installed, the product has no functional limitations whatsoever
  2. With Backendless you can fully customize permissions for users, and also configure permissions for custom user roles, which is not supported by Firebase
  3. Backendless allows you to develop the server-side algorithms and business logic without actually writing any code using Codeless Programming
  4. Firebase does not support native aggregate functions in database queries. With Backendless, you can calculate average, sum, min and max values for a collection of objects without retrieving objects from the server. It is also possible to find the object count for all the records in the database or a subset of records

    For example, the aggregate function sum allows you to calculate the mathematical sum for a set of objects. For instance, you can take the Movie table from the presented database.DB
    Just run the following query to get the amount of topBoxOffice of all movies:

    The output is an object with the sum property:

    Backendless also supports results grouping for a column. This column can either be found in the original or linked table. For example, the following query will display the sum of all the orders grouped by a country:

    The output for this request is a collection of objects, any of which contains the total amount of orders for a particular country:

    You can also add a filter to the grouped objects using the having condition. The following query will return only groups of countries with the total amount of orders > 10000 . The output for this request is a collection of objects, any of which contains the total amount of orders for a particular country:
  5. Since Firebase uses JSON document as a database, it becomes extremely difficult (or in many cases impossible) to create relations between objects. Backendless makes it convenient to manage the relations (create, modify, delete) both via Console and with the API. In Firebase, you need to duplicate the data for each element, which causes synchronization problems for the identical objects that have one-to-many relations.

It is worthwhile to point out the following:

  1. Backendless allows you to import data from Parse. Importing data from external databases will become available soon as well
  2. Firebase, unlike Backendless, does not allow you to make complex queries on the server, only basic filtering is supported. For more details see: backendless.com/docs/rest/doc.html#data_search_with_subquery
  3. The Backendless Console is way more convenient and has more functions, compared to the one in Firebase
  4. Backendless support is beyond comparison. Here’s what real users have to say
  5. Backendless version 5 launch happens soon! New features are described here

 

Posted in Uncategorized
Find us in facebook