Memcache is a tool which can cache objects in memory – and is often used for speeding up dynamic web applications. PHP has a built-in module for working with memcache, and its a simple and convenient way of introducing caching to your application.
PHP has a PECL module for talking to memcached – look up how to install for your system, but be aware that it isn’t bundled. It’s a good module to include on your system however, quite a few apps will take advantage of it where available.
Read more…
The MVC architectural pattern is a smart and bright way of developing web-based applications. The acronym MVC stands for Model, View and Control: these are the three components that, according to the pattern, every application can (and should) be divided into. I would actually state that MVC is “the ultimate” way of developing apps but since IT is such a fast-growing/evolving discipline, I won’t dare being so bold and just say that it is certainly a topic every good developer should spend some time on.
Read more…
One of the most annoying things about working with images is getting them into the right size. Screenshots start out huge – and you need to resize them to an appropriate size for your website.
Some blogs automatically resize the pictures for you into a thumbnail – like the image to the right. What if you want the image a different size, though? You could allow the browser to resize it for you, or – better yet – write your own php script to resize the image dynamically.
Read more…
As a developer you may run into a situation such as what I had, numerous applications deployed.
With multiple logins for all the apps, we had to find way to integrate all logins for better management and maintenance.
Since we were using Apache with a PHP server, the solution was to find a way to consolidate the logins using PHP.
Read more…
Zend Framework is an open source, object-oriented web application framework implemented in PHP 5 and licensed under the New BSD License. Zend Framework—often referred to as ZF—is developed with the goal of simplifying web development while promoting best practices in the PHP developer community. Read more…
Want to export your cutenews posts to a mysql database? In this tutorial i will show you how to export your posts from cutenews into a mysql table.
Read more…