Archive for the ‘PHP’ Category

Releasing a New WordPress Plugin – WP Academic People List

October 12th, 2010 1 comment

My first WordPress plugin goes public. I’ve developed it for a research group in Kuwait University. Check out the WP Academic People List page for more information about this plugin. This plugin was built in a way that you can customize it for school alumni website.

PHP is not a bad programming langauge

December 20th, 2007 10 comments

Roshan posted in his blog some reasons of why PHP is a bad programming langauges in his oppinion. Unfortunately, I disagree in some of the points Roshan pointed out.

1) No need to define and declare variable
2) No Strict data conversion

I can’t see how these two points can make PHP a bad programming language. PHP just let the interpreter binds the variable to a type.

In my opinion, dynamic type binding provides a great deal of flexibility in programming. You don’t have to know the type of the data input to be able to process it. However, that flexibility advantage is not free. It will cost us the speed of detecting the type of the assigned value each time a new value is assign to the variable.

4) No namespaces

Namespace will be introduced in PHP 5.3.

6) Seldom use of Framework

It depends on the developers and the size of the project. There are many Frameworks available and for free. But when some, or many, developers decided not to use Framework in their projects I can’t see how it makes PHP a bad programming language. Like any other programming languages, you can always not use framework for any kind of project.

what i think, PHP is a incomplete programming language as well as a bad programming language which gives bad practise for the programmers.

It can’t be true. PHP is one of the famous programming languages (after Java) and one of the most used. Many companies and organizations prefer LAMP developers than any kinds of web developers. PHP is still growing and you can find almost any sample of codes available all over the web.

Sponsor Text
VCP-310 test focuses on the VMware product lines and as well on the ESX server. 640-802 judges a candidate’s abilities and skills needed to install, operate, as well as troubleshoot medium size company branch network. 70-290 and 70-291 enables you to learn about connectivity needs for example connecting branch offices and individual users in remote places to the company network. The MCSE on Windows Server 2003 is a requirement and basic criteria for 70-649.

Categories: PHP Tags:

Graphing Data with PHP/SWF Charts

December 4th, 2007 No comments

Graphing is an important tool for business. In fact, my first freelancing Flash program was about graphing. A new tutorial by W. Jason Gilmore in about using PHP/SWF Charts system to create a chart/graph has been posted.

PHP/SWF supports a wide variety of charting formats, including bar, candlestick, 3D columns, pie, 3D pie, and advanced charts such as scatter, polar, and composites.

He starts off by showing how to install the charting system. After that he goes into coding and shows an example of using bar chart. He also shows how to use a 3D column chart which really looks amazing!

Categories: PHP Tags:

Creating PDF Using PHP

November 10th, 2007 No comments

I posted less than hour ago about an article to create PDF documents using Java. Now I’m gonna give ya a new post on how to create PDF documents using PHP 5. You only need to install PDFlib library to use its APIs to create PDF file.

Categories: PHP Tags:

Why you should be using a framework

October 25th, 2007 No comments

Interesting post on Josh Sharp Design blog on why we should use framework when developing in PHP.

Because there are less restrictions on the structure of the code you write, it’s much easier to write bad code. But there is a solution: use a framework.

Categories: PHP Tags:

Getting started with three popular frameworks

October 13th, 2007 No comments

Ever heard of Zend, CakePHP, symphony frameworks for PHP? Duane OBriend, a PHP developer and freelancer explains about how to select the right framework for your work and how to install them. I’m a big fan of CakePHP because it suites the type of work I do.

Categories: PHP Tags:

How To Run PHP Code In The Background

October 3rd, 2007 No comments

Ever wondered what to do when your PHP script takes long time to execute? Especially when users value time and won’t wait long to open a web page. There is a solution for that by running part of your PHP code in the background as SiteCrafting Blog posted. It’s simple as this article shows the command needed to execute a PHP scripts in the background without interfering with the page loading. It only works in Linux servers.

$command = "/usr/bin/php4 -f /var/www/myweb/image_resize.php";

exec( "$command > /dev/null &", $arrOutput );

That code will execute the image_resize.php in the background. The PHP file that uses this command will be loaded normally without waiting for exec() to be done.

Categories: PHP Tags:

Whip Up a Yahoo! Mashup Using PHP

September 23rd, 2007 No comments

Tutorial by Akash Mehta on how to create a simple mash-up using Yahoo service APIs. Service used on this tutorial are Yahoo Maps and Local Searches. This will give you the practice you need to get started with mash up world of Web 2.0. However, you’ll need basic knowledge of PHP5.

Categories: PHP Tags:

Eclipse PDT Goes Gold!

September 19th, 2007 No comments

Finally, the long-awaited PHP developing environment for PHP is out there! Eclipse PDT is now available for download from Eclipse website. It contains the standard features Eclipse always has. From code completion and syntax highlighting to phpDoc and debugging. Grab your free Eclipse PDT version 1.0 from here.

Categories: PHP Tags:

Beginning Ajax with PHP: From Novice to Professional

September 19th, 2007 No comments

This article is from chapter 3 of the book “Beginning Ajax with PHP: From Novice to Professional”. It gives you a basic idea on how Ajax works for PHP developers.

Categories: PHP Tags: