In object-oriented programming, an “interface” is a description of the things an object can do. Usually, this takes the form of a list of methods an object is guaranteed to have. C# and Java both support interfaces, and so does…
The post Go Interfaces are Awesome appeared first on Treehouse Blog.
If you’ve used New Relic before, then you know that it’s normally pretty easy to integrate and doesn’t require any code modifications — at least, it didn’t when I was using their Java agent.
Using their Python agent on my Django application deployed with Apache HTTPD and mod_wsgi didn’t turn out to be so straightforward.
In this post, we’ll be looking at the Contextual Action Bar (CAB). CABs are a great way to let your users select multiple items and then take action on all of those items at once. One place you’ve probably seen…
The post Contextual Action Bars: Removing Items from a RecyclerView appeared first on Treehouse Blog.
Let’s say you need to download a few images when you click a button. What would be the best way to do it? Well, since you wouldn’t want to interrupt the main/UI thread (and run the risk of showing your…
The post All About Android AsyncTasks appeared first on Treehouse Blog.
In my previous article, we saw how you can create charts in PHP.
In this article, I will walk you through the step-by-step process of creating charts by fetching chart data from a database.
We have our current platform set up with Akamai as the CDN, Apache as the web server, and AEM as the content tool. We had to do real-time ID verification through Signicat — which returned a huge SAML. When we get this huge amount of SAML and try to pass it to our server to parse, we always find bad SAML; it was getting truncated after a certain number of characters (around 7,800). My initial assumption was that the browser was restricting the size and hence truncating, causing a “400 — Bad request from the server" error. I searched on the internet and did not find any credible solution to my problem. After researching I found that this issue is a server-side issue, as most web servers restrict request the size to 8KB. Initially, I thought just aone server was restricting — but I realized that all three servers were.
If your request gets truncated due to its large size and you get "400 — Bad request from the server," this means that your web server, proxy, or content server is not able to handle a large amount of data. You will not find any logs in your application, as it is a server configuration issue. You need to increase the size of the server request.
One of the most important developments in the PHP world was the backward compatibility break for the PHP MySQL extension, which leaves us with two methods to connect to the database: MySQLi and PDO.
In PHP 7, the MySQL extension is completely removed. Thus, in this article, I will discuss how to convert a MySQL extension into MySQLi. The first thing you should understand is that MySQL works as a resource whereas MySQLi works as a resource and an object. While you really do not need to know the technical differences, you must understand that these two are a lot different from each other.
Traditional web apps give you a lot of flexibility but have high costs. From hosting, to maintenance, to security, maintaining your own server for your application can be expensive, time-consuming, and highly technical work that can require a DevOps organization to manage effectively — adding another expense to the bottom line. In this series of posts, we’ll walk through creating a serverless app using Backand.com. This post will cover serverless app architecture, the project we’ll be building, and what Backand has to offer. What Is a Serverless App?
Read stories from Netflix, RisingStack & nearForm about finding & debugging Node.js issues in production – and learn from our mistakes.