Category: Slim Framework
08/13/2015
Use PHP to send APNS iOS and GCM Android push notifications
Hello! Through our own internal projects it has become a requirement in the past to implement a system that integrates with a mobile application. Specifically we have implemented systems that send out push notifications to iOS and Android based devices. The conditions through which we would be sending the notifications are somewhat irrelevant, though it […]
06/22/2015
Securing your MySQL queries from SQL injection in PHP
Hello! There is many strategies for securing your code against malicious user input. Some frameworks have checks and balances built in. There are simple standard PHP functions that are designed to strip tags and illegal characters from variables like strip_tags and filter_var. Filtering XSS in PHP Those standard functions are good for basic input filtering, […]
05/01/2015
Ajax Long Polling to your RESTful API
Hello! Whether your developing a mobile or web based application, keeping on top of constantly changing data is a challenge on its own. Sometimes its necessary to make repeated calls to your API to pull updates at regular intervals. We wrote a previous blog post describing how to use Ajax to pull JSON data via […]
04/06/2015
Use PHP to set up a RESTful API with simple authentication
Hello! It is sometimes necessary to bridge different web applications together in order to transmit or receive information and process it. One scenario could be a mobile application that connects to a web service to pull or push data in order to update the app or provide “real time” services with centralized data. One of […]