PHP Programming 101

October 12th, 2009

6 Tips For Better Form Design (1/3)

Posted by binary in PHP

The use of forms is the main method in which users can send data to the scripts, so it is essential to get them right. Aside from the coding aspect of forms, there are a number of basic usability guidelines to follow to further improve the effectivity:

TABLES

The use of tables will make the layout of the elements appear neat and organized. Tables make the form easier to read, and it would also be easier to report individual errors that occur on fields. Also tables can also be utilized to give the form a design that would be pleasing to the eye without sacrificing practicality.

To be continued…

September 19th, 2009

SERVER REVIEW: APACHE vs. IIS (cont…)

Posted by binary in PHP

(cont…)

On the other hand, Microsoft’s Internet Information Server (IIS) is a group of internet servers which has additional fetures for Microsoft operating system such as Windows NT and windows 2000 operating system servers. IIS can’t use Java, Perl and PHP on a .Net platform because Microsoft doesn’t support those technologies but Web developers can use Microsoft’s Active Server Page (ASP)technology otherwise. IIS has server administrators which include console from which all services and users can be administered. According to www.microsoft.com “I IS 6.0 which is redesigned with a new fault-tolerant process architecture that greatly boosts the reliability of Web sites and applications. IIS 6.0 isolates Web sites and applications into self-contained units called application pools, which separate applications from the other applications that are hosted on the same server.” Now i give you free hand to choose on what server you want to use? IIS or APACHE?

ssl-iis51.gif

Image Source: www.trustis.com

August 16th, 2009

SERVER REVIEW: APACHE vs. IIS

Posted by binary in PHP

Apache is an open source http server named after the Native American. It is then first release in the year 1995. Now a day, Apache is considered as the most used http server in the world. It is compatible with almost all operating systems like Linux, Windows, Mac and etc. Almost anyone can adopt with this http server because of its source code is freely available. The Apache 2.0 which comes with a new Windows optimization technology called the Apache Portable Runtime (APR) while previous Apache version were not optimized for Windows. Apache developers can use Java, Perl and PHP on a .Net platform.

to be continued…

4229-apache-server.jpg

Image Source: www.pdftown.com

July 15th, 2009

OPENSOURCE DATABASE: MySQL

Posted by binary in PHP

MySQL is a Database Management System (DBMS) that is released in May of 1995. It’s commonly use for web applications and acts as the database component of different Platforms such as Linux/BSD/Mac/W-A-M-P/Perl/Python and for open-source bug tracking tools like bugzilla. MySQL are essential components of content management systems such as Joomla, Word Press, Drupal and some Bit Torrent trackers that is written in PHP and uses a MySQL database. The latest MySQL product version is the MySQL 5.0 that is launched last August 2007. It has two different variants such as MySQL Community Server and MySQL Enterprise Server. And soon to release is the MySQL 5.1.

logo-mysql.jpg

Image Source: www.openlife.cc

June 22nd, 2009

PHP Browser Checking Script

Posted by Conrad in Basic Programming, Information, PHP

Several factors are to be considered should one be involved with deploying projects over the internet. One of the things you could do would be to have a nifty script that checks for the particular browser your clients might be using. This can be done with a simple and short piece of code that can mean the difference between a successful deployment without problems allowing proper extensions and plugins to be included. A sample of the code can be seen below for your reference which makes it easier for your program/web page to know which set of scripts and what parameters to adhere with. (more…)

May 22nd, 2009

WordPress – The Best and Worst of PHP

Posted by Conrad in Information, PHP

WordPressThe web publishing platform is the most used blogging platform the world over, many thanks to PHP, the scripting language on which it has been published and is continuously being improved upon. Many in the open-sourced community have however been saying that there are still a lot of vulnerabilities with the system that uses code injection and many more that the many developers who have been developing and deploying it that remains to be fixed. Many of these target their AdSense links that is being used to boost rankings for bogus sites. The web is filled with pits and holes that are constantly being fixed with newer versions of the platform coming out to address these issues. (more…)

April 22nd, 2009

Zend continues to Grace the PHP Scene

Posted by Conrad in Information, PHP

ZendOne of the best companies that have been developing tools for PHP, Zend has continued to provide solutions such as development tools and community resources to help developers and budding programmers the world over. Their enterprise edition ZendCore offers developers the stacks they need along with the tools you get from their web site to get you down and fast to developing web applications and pages in minutes. Ideal for enterprise applications, they offer valuable enhancements to the development stage with tools and many other useful tips for all. (more…)

March 22nd, 2009

PHP Gets Updated Again and Again

Posted by Conrad in Information, PHP

PHPThis is the best way developers get the best out of their work, updates to the language itself that has become a mainstay of the internet and the many languages that are being used to deploy application all over the net. With a crummy release that came out as PHP 5.2.7, came PHP 5.2.10 that went fast onto their respective RC releases. Soon after, PHP5.2.10 got it’s 2nd RC, news that 5.3 RC came out making an active few days in the lives of PHP developers. There may be some adjustments in terms of code changes but for security and other issues being addressed, it is indeed getting better. (more…)

February 10th, 2009

Select multiple HTML tag

Posted by editor in Codes, Information
Tips to simplify your life

Tips to simplify your life

Want to select multiple items from a list? Then you need to use the select multiple tag in HTML. The action handler then takes care of the form when the items are passed through it. What happens though, is that all of them are passed with the same widget name.

For example:
<select name=var multiple=yes>
The option you select will register with the action handler as var=option1, var=option2, var=option3. This thereby overwrites the previous $var variable’s contents.

The fix is to utilize the array from form element feature of PHP.

Use it like so:
<select name=var[] multiple=yes>
The first item then becomes $var[0], and then $var[1] for the next, and so on.

Hope this <a href=”http://phpprogrammingtips.net/information/looping-statements-doesnt-loop/”>tip</a> helps.

January 12th, 2009

PHP to Get it’s own Stack

Posted by Conrad in Information

zendPHP is the most popular programming platform to ever grace the web and thanks to PHP, most of today’s web sites, blogs and many other internet staples are made possible with the use of PHP. Now one of the best news to come out of the PHP world is the announcement of the development of the Zend Server which would allow web application deployment and monitoring easy. This has been the most welcome news for till this, most systems have had to rely on the long used LAMP standard that worked but still relied on more traditional development methods that were labor intensive and quite hard to troubleshoot.
Zend promises to deliver faster development, deployment and bug fixing capabilities we can only dream of. (more…)

« Previous PageNext Page »