Part I Creating a new CloudyRec App
Welcome to the CloudyRec. CloudyRec is the fastest mobile
backend solution for your great applications. Let’s see how fast you can
integrate CloudyRec in your project.
After you’ve registered a new developer and logged in, you
can go to the dashboard and define a new app. In this example, I will create a
project named “TodoList”
as shown in the figure below.
Figure 1.0 Creating a new app
Let’s define the resource called “user_account” and make it
authenticable. Authenticable means that you want to include username and
password attributes in this resource and also there will have “Authenticate”
function available when you’ve generated the code and you can call this method
to authenticated users of your application. I’ll discuss more about this method
in the later sections.
Note : if you click the “user_account” resource, you can see
the “_passwd” and “_uname” attributes are already added automatically as you’ve
marked as authenticable for the “user_account” resource.
After you’ve created the “user_account” resource, let’s
create a new resource called “item” and make it as child object of the
“user_account” resource by clicking edit button available at the right side of
the resources.
In the edit mode of the resource, you can specify which resource to belong in the dropdown list. In this example, I will chose "user_account" as its parent object.
Figure 1.1 Defining a child resource
Figure 1.2 Defining another child resource of previous child resource
Figure 1.3 Adding todo_item attributes
Now lets add the remaining attributes for item_details. I will add the following attributes for item_details resource.
Figure 1.3 Adding item_details attributes
If you've completed adding the attributes for each resources as shown in the above, you are ready to start developing a todo-list app for any mobile platform that you're targeting to. For this tutorial, I will guide you to develop the metro style app for WinRT but you're not limited to do only for WinRT app as you can use the same database for your iPhone and android apps too.
The next section for this tutorial will be about how to use CloudyRec code generator to generate the modal code for your project. Please click here to continue to the next section.
Comments
Post a Comment