FAQ Database Discussion Community


Forbid user to login from two or more Android devices at the same time

java,php,android,session,backend
Let's say I have Android app with user login functionality and PHP based back-end server. When user fills required fields (name and e-mail for example) with according information and press "login" button, request is being made to back-end server. Now let's say user is successfully logged in. My question would...

Can Riak be used with a third party key value store as the backend

backend,riak,key-value-store
Can Riak be configured to use a third party backend? In a prior question a Basho employee said that you could "edit the config file and restart the server". What else would you need to do to connect a backend vey value store such as rocksDB (built as a shared...

Android application backend

android,architecture,cloud,backend,pull
I want to make an android application which will display an external message (For example: some quotes, proverbs etc) daily. The message should be retrieved from some place other than the client device and I would like to configure the messages from back end These messages should also change everyday....

Scaleable backend - self hosted?

api,scalability,backend
I'm currently working on a project (basically an app for iOS and Android + Backend), which needs to be highly scaleable. As we'd like to host everything on our own servers, MBaaS are not an option. The problem now is, that I'm not sure where to start with the backend....

Wrong translation “you sure you want to send order email to customer?”. Where is it?

email,magento,order,translation,backend
I found an error with the Italian translation the phrase "Are you sure you want to send order email to customer?" (in the Backend -> Order). I would like to correct it but I don't found the file with the phrase! I checked the file "Mage_Sales.csv" (and all the .csv!)...

MySQL only registering the first user [closed]

php,mysql,backend
I have been on this for hours, here is my code, and its supposed to register a user so that they can later login into the app. The code works fine on all angles but, one I register a user, it won't let me register the second user. Can someone...

Boltdb-key-Value Data Store purely in Go

go,backend,datastore,key-value-store,boltdb
Bolt obtains a file lock on the data file so multiple processes cannot open the same database at the same time. Opening an already open Bolt database will cause it to hang until the other process closes it. As this is the case,is there any connection pooling concept like various...

How to handle backend (laravel) and frontend (angular) dependencies in different git repos

angularjs,git,laravel,backend,web-frontend
We're building our first webproject with laravel and angularjs and trying to figure out how to setup our development environment. Our current approach looks like this: Backend git repo with laravel file structure Frontend git repo with angularjs file structure So some of us could work on the backend/frontend without...

Meteor pushing data from client to server using DDP

javascript,meteor,backend,ddp
I am planning to write a meteor/DDP server for a strongly typed, data-driven backend platform. The server must be able to both push data to, and accept data from a client. After reading the DDP documentation it seems the protocol only supports client-side subscriptions on data. From the document, I...

Comparison between Mobile Push Notification Services

ios,mobile,push-notification,apple-push-notifications,backend
I'm investigating the existing providers for push notification service. The goal is to simplify the backend of a mobile app and avoid to directly communicate with services like APNS or handle stuff like device tokens, etc. Interesting (desired) features: send push notifications directly from the app (without going through a...

Front-end : html/css+javascript, Backend : perl

javascript,perl,frontend,backend
Want to create a web application (using html/css + javascript) that logs in to a linux based storage device, Process some logs of the storage device (using perl) and return the result to the web application. What/How to use as a connector between them? And which one would be the...

Get transcational email id by name

php,email,magento,backend,magento-1.9
Does someone know how do I get the id of an email by name set on backend? I have an email created in backend in transactional emails that I want to send it programatically, but the id of it may differ depending on the instance that I'm on (local, live,...

HTTP Status code >= 300 Returning JSON

api,rest,http,web,backend
I was wondering if it is acceptable/common to have a server return a JSON response along side a 3xx or 4xx response? The reason I ask this is because I do return a JSON response with more details regarding the error, but it seems the engine I am using doesn't...

Which is more cost-effective for a mobile backend: Parse or Google Cloud endpoints?

mobile,backend,google-cloud-endpoints
So me and my partner are working on a mobile app. And I'be been wondering which mobile backend is a better solution. The problem I see with Parse is that when there are high amounts of traffic in a short period of time, we would need to manually adjust the...

Best Backend language to build a Web application? [closed]

php,ruby-on-rails,spring,web-applications,backend
I want to develope a web application like POS.Which one will be best backend to that one? I have some what knowledge in Ruby on Rails.Whether i have to consider PHP and Java Spring

Parse.com: generate statistics out of a large set of data

javascript,parse.com,backend
I'm a video game developer and I use Parse.com for my games. Thanks to it I save players scores and game durations. At the end of every game session I show community statistics to let player see where his score fits among community scores. Something looking like this: As I'm...

Starting the back end of an app [closed]

android,ios,web,backend
Can someone simply point me in the right direction - maybe a few links - so that I can start learning to construct the back-end for an app. Lets say I want to create an app that allows users to sign in with their respective username and post status to...

How to create a blog on nodejs(with express.js)?

javascript,node.js,express,blogs,backend
guys. Please, help me. How to create a blog on NodeJS namely on ExpressJS (with basic funct. - delete/add/remove posts and comments, standard auth) ? I did searched, and... I find a tutorials, but not a full. And blog need for practic with nodejs, its a test, and little dream...

Push Notification at Dynamic Time

parse.com,push-notification,backend
I am trying to make a simple, cross-platform task management app. I have my tasks stored as Parse objects and they each have date/time properties. I would like a user to get a notification on all their devices at that time for each task. Is there a way to do...

What is a full-stack developer?

frontend,backend
If I understand a full stack developer is someone who is developing both the front-end and back-end part of a program. What is the goal of this? Why is it good? I guess in small projects like a small mobile app or so it is OK that one developer makes...

What type of backend to use for iOS app [closed]

mysql,sqlite,swift,server,backend
I've created an app for iOS using Swift that is essentially a Latin dictionary. Users have the ability to create new words that aren't included in the app. The data is stored locally in the app's document directory in two SQLite databases. The first one holds the words that ship...

Magento Multi-Store Setup / Store Codes Setting

html,magento,http,backend
I'm running Magento on a shared server with a single IP. I originally set it up as a single store with no plans to do multi-stores. Do I need to have store codes trailing each domain in magento to get this work correctly? They will all checkout at the main...

Run Alfresco Java code as Administrator

java,admin,alfresco,backend,runas
I'm trying to implement an action in which I will add permissions to all parent nodes. However, I need to run as admin to manage the permissions. Currently my code looks like this: permissionService = serviceRegistry.getPermissionService(); //Read the username of the current user final String loggedInUser = authenticationService.getCurrentUserName(); ChildAssociationRef childAssociationRef...

backend not being reset by matplotlibrc.py

python,osx,matplotlib,backend
I'm having trouble getting matplotlib plots to appear in front of my other windows - this is apparently a macosx backend problem. However, after making the following changes in ~/.matplotlib/matplotlibrc.py: #backend : macosx backend : TkAgg I run this command in python import matplotlib print matplotlib.rcParams['backend'] and it returns: MacOSX...

How to connect from your iOS app to a backend server? how to read,modify and fetch data to backend server?

ios,objective-c,server,fetch,backend
I am new in developing iOS application. I like to learn communication between my app and an specific back-end server(which is written in ruby). I would like to learn how to read, fetch and modify data on back-end server? I do not have any idea that from where I should...

How can I render preview of FE plugin diplayed in Page module

typo3,backend,extbase,typo3-6.2.x,typo3-extensions
I have developed TYPO3 (6.2) extensions with some FE plugins. I need to change informations about plugin, which is displayed in the backend on page view. Now only Title and name of plugin is displayed ... I have used flexforms for configure the plugin and I would like to show...

Replying to a request in ruby on rails (Server side)

ruby-on-rails,ruby,web-applications,backend,web-frontend
I am making a webb app using rails. At one point I am sending a request to the server to get some information in an array. I can handle the request on the server side, using routing and controllers properly. But once the server has done its math, I don't...

Can't login to Magento admin panel

magento,login,admin,backend,magento-1.9
For test and development, I duplicated our Magento shop to a sub-domain. mysql -u root -p -e "USE bitnami_magento; UPDATE core_config_data SET value ='http://subdomain.site.com/' WHERE core_config_data.path = 'web/unsecure/base_url'; UPDATE core_config_data SET value ='https://subdomain.site.com/' WHERE core_config_data.path = 'web/secure/base_url'; Everything works, but not the admin Login. On the login page we get...

Call function on Server from iOS app - Objective C

ios,objective-c,json,server,backend
If you are familiar with Parse.com's Javascript SDK, this is what I am trying to do for my own server for my iOS app (Objective-c). I want to be able to send some a string to the function that is on my server, have the server run its function and...

Need help in optimizing laravel - php code

php,mysql,laravel,backend
I have a working API (php-laravel) that returns the correct data as required. Myself being a java guy I am unable to fully understand what is going wrong. The code was written by a freelancer and I am slowly learning laravel. The issue is if this particular API is called...

How to explain django that my custom backend is inside of my app?

python,django,email,backend
According to the answer made on my previous question. It occurs a new issue about how can i define a custom email backend inside my application. So in my app files i created an folder for my backends settings and inside of it i pasted myemailbackend.py where i define all...

'DbBackend' object has no attribute 'use_ssl' django

django,sendmail,backend
I had a django app with version 1.6.5 and updated it to django 1.8 and got the below error when trying to send an email Traceback: File "/Users/user/.virtualenvs/env/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 132. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/user/user_name/apps/proj/project_name/app_name/core/views.py" in contact_page 54. send_mail('Contact from web', body, 'Directories', ["[email protected]"], fail_silently=False) File...

How to put unicode chars in javascript

javascript,unicode,backend
I use BaaS for my Front-End. It allows me to upload a javascript file with my backend logic. I can use it via REST API on client side. Among other services I've implemented a localization service. Strings are predefined like this: var locals = { "EN": { "1": "Home", "2":...

How to properly separate frontend and backend?

angularjs,playframework,gruntjs,frontend,backend
I have a project which was built on playFramework. It has much busines logic, which involves actors, different parsers, works with three services through API, etc. Frontend is written with angularJs (single web page application). We also use coffeScript and less, and for that i added sbt plugins to compile...

Django TextField always is required, despite blank=True,Null=True

python,django,web,backend
I am having trouble with a field that seems to always want to be required despite my best wishes. My 'word_search' text field is always requesting data to be input but I have been trying to make sure the options allow for a blank. my model is this. You can...

Architecture for cross platform messaging app

android,google-app-engine,backend,ejabberd,google-cloud-messaging
i am looking to build a mobile messaging app firstly in android and then ios later, and am struggling with the backend architecture and need some advice on what would be best in my circumstance. Basically i am used to just developing apps through a basic web server and using...