backend

How to use the Google App Engine as a backend database for Android applications

不问归期 提交于 2019-12-03 13:04:25
问题 I'm actually a beginner in android and needs a lot of help. I have made an app with embedded database and now want to put it onto some dynamic location. Have simple form of data (some addresses and branch information etc). I actually have no idea about how to use a dynamic server placed on dynamic location. How can I do this? Please guide me stepwise I browsed and found some terms like " write Service ", " Close/open back-ends " etc. Kindly do guide me. Another question that I have is: do I

why server side Javascript is not widely used? [closed]

一笑奈何 提交于 2019-12-03 11:10:58
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. we know JavaScript is one of the most popular and widely used language in front end.i wonder it is not widely used in back end ? It's becoming more widely used thanks to Google's V8 engine. Take a look at Node.js . I think poor performance limited it's

Building user database model in Firebase

空扰寡人 提交于 2019-12-03 10:20:58
问题 so I already finished all of the actual app for this. I just need to setup the backend. I figured Firebase was the best solution since Parse is no longer a thing. What I wanted was: Users with profiles - These profiles can be viewed by added friends but only edited (written) to by the actual profile owner. So I read through the Firebase Docs and still cannot really figure out how to do this. They only have 1 Swift application example that does not do anything similar and the one Obj C twitter

Is it possible to write the backend using JavaScript?

那年仲夏 提交于 2019-12-03 09:56:34
问题 As we all know, JavaScript is widespread on the web. For client side scripting it does a great job. But is it possible to take JavaScript outside the browser? For example, writing a streaming socket or writing DB, doing schedule job? Things like that in the backend? Thanks. 回答1: Have a look at node.js. It does a certain number of things very well, but may not be best suited for all purposes. If you are looking to do stuff that involves a lot of parallell processes and/or you want to keep

Formats for communicating between backend and Objective-C/Cocoa

这一生的挚爱 提交于 2019-12-03 08:46:09
I'm developing an iPhone app that is connected to a backend server. It needs to communicate with it many times, through several requests. I'm sending HTTP messages, but I want to receive more complex responses that I can parse somehow. Supposedly, I can provide any type of format for responses from the server, so my question is: which one would be easier(maybe even faster) to use/parse for Objective-C/Cocoa, and transform in a dictionary of some kind? I know it's a bit subjective but I still think it's a valid question, some programming languages just have more support for some formats and

Which is better: Parse or AWS [closed]

末鹿安然 提交于 2019-12-03 08:36:27
I'm working on an ebook store application (my target users will be 10,000 users per months). It's very hard to make up my mind to select the backend between AWS and Parse. Parse is very simple to use. It could save me one or two months development work. But I'm concerning about the number of requests per month. There are free 1,000,000 requests. But I don't know how they calculate the number of requests. I tested with the demo application. A simple run cost me 4 requests (there seems to be only one request in the code.). I totally have no clue 1,000,000 requests can server how many users. AWS

Apple receipt_data sample

淺唱寂寞╮ 提交于 2019-12-03 08:02:13
问题 I need to implement a back-end for verifying Apple's in-app purchase receipt_data , for an in-app purchase of in-app points (i.e. not a subscription and not an item that needs to be "remembered" and re-verified in every application launch). I am not proficient in iOS. I just need to develop the back-end so that it can be integrated with a client's mobile app. I found tutorials and sample code for doing the verification, but I would very much like to have an actual receipt_data to test with.

In a java REST API, using PATCH vs PUT to update an entity

跟風遠走 提交于 2019-12-03 07:42:30
I am about to start development on a new rest api in Java. My question is about the use of PATCH - Why? Lets say, we have an entity named Address.java public class Address { @Id private Long id @NotNull private String line1; private String line2; //optional @NotNull private String city; @NotNull private String state; } To create a new Address, I would do this http request: POST http://localhost:8080/addresses with the following request: { "line1" : "mandatory Address line 1", "line2" : "optional Address line 2", "city" : "mandatory City", "state" : "cd" } Assume the record created has an id 1

CodeIgniter and HMVC questions

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 07:14:12
First of all, sorry for any convenience caused by this post because this is the first time I post a question here and I need more time to get used to with this. Q1. I want to create 2 "master controllers" for FrontEnd and BackEnd like this: MY_Controller extends CI_Controller FrontEnd extends MY_Controller and all frontend controllers will extend FrontEnd . BackEnd extends MY_Controller and all backend controllers will extend BackEnd . What's the best way to do that with HMVC (MX)? Thanks @Wesley Murch for giving the idea to put 3 classes MY_Controller, Frontend, Backend into MY_Controller.php

Playing with gcc's intermediate GIMPLE format

a 夏天 提交于 2019-12-03 06:28:37
According to this article gcc uses several intermediate formats before generating code. I read that the GIMPLE format uses three address code, which seems to be the easiest intermediate language to use. But I need some more detail, as I need to build a tool that can take the intermediate code and insert some code to it before generating the final code. For this I first need to know how can I even generate the GIMPLE format code and save it in a file. So I'm looking for some documents and examples. Also, if anyone has worked with such things, can I know the complexity of this task, which is to