Monthly Archives: August 2013
Getting title, excerpt, category outside loop in wordpress
Getting title, excerpt, category outside loop in wordpress When developing your own template, I found that in some cases it is best not relying on the wordpress loop for getting information related to a specific post in our database. In some case, we just need information for just one article, so its a hassle if
5 of the best PHP frameworks for programmers
A bit about php frameworks This is a topic that is not very well understood by people who jump into development pool. PHP frameworks help to promote rapid application development, which saves you time, helps build more stable applications, and reduces the amount of repetitive coding for developers. Frameworks can also help beginners to build more
Install squid proxy with –enable-ssl for https_port
Squid proxy with –enable-ssl A few months back when I was testing a few reverse proxy for leveraging load on my web server, I needed to setup SSL for one of my websites, unfortunately squid proxy, which I was using for reverse proxy, was not installed by default with –enable-ssl. This is only happening on
Best practices to optimize code performance in php
Best practices to optimize code performance in php We developers, should search constantly for best practices when writing code. In this article I will focus on how to can write better and faster php code. Keep in mind also that people get carried away with performance. I personally prefer to design for flexibility first, and worry
Building web apps with Phonegap.
Building web apps with Phonegap. Because the mobile platforms expanded a lot in the last years, people started switching programming languages in order to be hired. This is a problem that can be partially solved with the next thing I will present to you, and you will see why I use the word “partially”. The
How to install APF Firewall and DDoS Deflate protection
About APF firewall APF Firewall stands for Advance Policy Firewall, exactly as it name, it is script that contains a certain set of firewall rules. These rules are all being saved inside the folder /etc/apf/ directory and can be changed using any editor. This script is one of the best firewall scripts that I’ve used
Install memcached daemon / Install memcached extension using pecl
A little about Memcached Memcached is a service that allows you to store in memory key-value data like strings or objects, from results like databases queries, API calls and drastically accelerating queries and reducing the load on your server. Memcached is being used by major websites like Youtube, Twitter, Digg, WordPress.com and many many more.