Skip to main content

Using CloudyRec Code Generator

The greatest CloudyRec feature among other backend service provider is the Code Generator where it can generate the native modal source code with the specified schema in the previous "Getting Started" section.

Sandbox Environment


When you’ve satisfied the attributes and resources for the applications, you can start loading into the sandbox to make the apps ready for testing.  Go to the Define tab of the dashboard and click the “Load to sandbox” button located at the right side of the application name as shown in the figure below.

Figure 1.0 Loading to Sandbox environment

Note : In CloudyRec, there are two types of development modes available called Sandbox and Production. Sandbox is for testing the applications while developing and it’s totally free and developer doesn’t needs to pay a penny while using Sandbox.  I would recommend to put into production mode once you’ve published the apps as the data from the Sandbox will be flushed in timely manners and it’s not safe to put the data into sandbox once your apps goes live to public.

Production Mode

Production mode offers  developers  the following great features.
  •     Versioning where developer can create versions of the apps and it’s backward compatibility.
  •    Faster API calls and fully scalable.
  •   Analytics so you can track how many hits does you apps get.
  •   OAuth authentication to prevent unauthorised access to your app etc..
If your app is in the sandbox mode, you can generate the source code (Modal code) for your apps to integrate in the project. 

Go to Generate tab and generate the source code for your development environment. In this example, I will generate the source code for WP7 but you’re not limited only to WP7 and you can generate source code for 7 different platforms which can easily make your apps as a cross-platform compatible mode. 
Figure 1.1 Generating source code using code generator

Once you’ve clicked the generate button, you needs to wait for a while to complete the code generation queue and after a while refresh the page to see the button for downloading of the actual code.

After you’ve downloaded and extracted the generated source code, it's recommended you to change the main folder of the source code to “CloudyRec” as shown in the figure below.

Figure 1.2 Downloading and extracting the source code

The app is now ready to integrate in the Windows 8 Metro apps project. Let’s begin writing the todo-list cross-platform cloud based application by clicking here.

Note : You're allowed to generate the source code for as much platforms as you can and make your apps cross-platform while accessing to the same datasource from different mobile platforms.


You can request the source code project for this tutorial using facebook message. More tutorials will coming through for monogame WinRT and also Unity 3D game engine.

Play battle tank game online free @http://www.tankrivals.com/
Check out more organised blog posts @ http://gamesdevtutors.com/

Comments

Popular posts from this blog

Optimising Unity new UI System

UI/Sprite textures aren't packed into a texture atlas by default. A tag is needed to group them. Read the documentation / tutorial on the sprite packer. Overlapping text/graphic boundaries with another text/graphic will create additional draw calls, even if the actual visual graphics do not overlap. Grids (other layouts too I presume) need minimum 1 pixel spacing between items, else items are considered overlapping and will create additional draw calls. Images with alpha 0 are still rendered. They are rendered with alpha 0 even though they are not seen. Unity currently does not support non-rectangle shapes as Sprites, so using the TightSpitePacker policy will cause image artifacts. When UI objects are offscreen, they are still batched (rendered as well?). Possible solutions: Change parent to non-UI parent, as UI Camera will no longer detect it Change layer of panel so UI Camera will no longer detect it Disable gameobject when off-screen ScrollRect performance tuning S

Setting up perforce server on Windows and allows connections from other local machines

Download p4server.exe for windows and install it. Restart the computer after you've installed it. Since it will install as windows service, you don't have to start the service and you're now ready to connect using p4v from local machine. But there will be a problem when you're trying to connect from another service since the perforce service is running on localhost:1666 so it only accept local connection only. You need to bind to 0.0.0.0:1666 but it will be quite hard and have a risk to change default perforce config files.. What you can do is you can modify the host file in other remote machines to connect to the server computer. In windows, hosts file is located at Windows/etc/driver folder and on Mac it's located at sudo nano /etc/hosts add the following line to the host file [your server machine local ip address] perforce Now in the p4v client of the remote machines, you will be able to connect using perforce:1666 Note : Don't forget to tu

How to Fix the Unity Asset Server error "Cannot Start Service" on Windows

If you're using Unity Asset server on Windows, you may notice that you are getting Could not start server. It happens after using the asset server for a long time because of the small asset server bug (password expires). You will have to reset the password or set it to never expire to avoid happening from this kind of error. Here are the steps below to fix this problem. Step 01 - Open Computer Management under Control Panel or search from your computer. Step 02 - Locate the Local Users and Group Folder under System Tools.                      Note : This is only available for Windows 7 Pro/Ultimate users. Step 03 - Right lick on unitysrv and click properties. Step 04 - Under user properties, untick "User must change password at next logon" and tick "Password never expires" box. It's always good to change this setting after you've installed Asset server to avoid connection problem at later time. PS: This only happens on Windo