Archive

Posts Tagged ‘advanced’

9 PHP Debugging Techniques You Should Be Using

May 12th, 2009 Gertjan 1 comment

Isn’t writing new code great? Wouldn’t the world be a better place if all were ever had to do is write software from scratch, not having to worry about methods of classes past? Unfortunately, we all know that this is not the case. In fact, estimates say that we spend around 80% of our programming time maintaining old code.
Read more…

Categories: PHP Tags: , ,

Getting Started with Memcache

May 12th, 2009 Gertjan No comments

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…

Categories: PHP Tags: , , , ,

MVC, XSLT and other animals

May 12th, 2009 Gertjan No comments

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…

How to Use PHP To Dynamically Resize an Image

May 11th, 2009 Gertjan No comments

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…

Use Windows Login (Active Directory) For your PHP applications

April 21st, 2009 Gertjan No comments

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…

Categories: PHP Tags: , , , ,

Zend Framework: Getting Started Screencasts

February 3rd, 2009 Gertjan No comments

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…

cutenews export to mysql – php tutorial

December 8th, 2007 Gertjan 30 comments

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…

Categories: PHP Tags: , , , , ,
data recovery