Home arrow PHP


RSS For Dev Shed
PHP is an open-source, server-side scripting language used primarily for web development on Apache and the usual programming language in a LAMP environment. You can learn PHP programming with the content, tutorials and PHP help and tutorial examples from Dev Shed. The PHP language lets programmers create web pages with dynamic content that can interact with databases and provides an object-oriented structure via php5 for developers. This makes it very popular for developing any web based software applications. If youíre looking for PHP answers, look no further. You have it right here and in our PHP forums.

  Date Title Author Hits

PHP Liskov Substitution Principle

Alejandro Gervasio 38182

This PHP programming tutorial focuses on how to utilize the Liskov Substitution Principle (LSP) to develop better OOP applications.


How to Add Facebook Comment Boxes with PHP

Codex-M 71003

Facebook comments are a great way to optimize your site for social media and add a level of user-engagement to you site. Quality website comments can increase your website's credibility, as well as its traffic. This tutorial will teach you how to use Facebook's API Connect to integrate comment boxes on your website in a few simple steps, utilizing a little PHP and some elbow grease.


Segregated Interfaces in PHP

Alejandro Gervasio 21785

In this first part of a programming series, you will learn how to create segregated interfaces to perform specific tasks in PHP. In this instance, you will be using them to iterate through arrays.


Implementing a Cache System in PHP

Alejandro Gervasio 28213

In this programming tutorial, you will learn how to create a simple caching system using a PHP segregated interface.


Dynamic Registry in PHP

Alejandro Gervasio 25959

Segregated interfaces aren't anything new in PHP. Simply put,a segregated interface is a regular interface whose contract provides implementers with the functionality to perform one or more specific tasks. In this second part of a series, we will be using them to create a registry system.


PHP Array Function Tutorial

Codex-M 32801

PHP array string functions are some of the most important functions you need to know in PHP if you want to become an efficient programmer. In this tutorial, we will look at the most commonly used array string functions, including (but not limited to) count, push, in_array, asort, and pop.


7 PHP Frameworks Tested For Speed

Codex-M 87523

In this article, we will look at seven great, lightweight PHP frameworks. Each framework has been tested for speed and useability. We will be looking at the following frameworks: Cakephp, CodeIgnitor, Symfony, yii, RainFramework, Doophp, and Kohana.


How to Redirect URLs in PHP

Codex-M 93750

In this programming tutorial, we will look at different methods to redirect URLs in PHP. Specifically, we will be examining 301 URL redirect methods via code, meta refresh and the use of PHP header location settings to invoke a redirection.


PHP GET and POST Functions

Codex-M 41836

PHP GET and POST are predefined global and associated array variables used for retrieving user submitted information passed using HTTP GET and HTTP POST methods. They are mostly used with PHP web form applications where you need to interact with your user input. This tutorial is a complete guide to using PHP GET and POST functions with illustrative examples and security considerations.


Using External Iterators to Retrieve Data in PHP

Alejandro Gervasio 11368

In this final part of our series on external iterators (loops) in PHP, we will look at how to retrieve data using the ArrayIterator SPL class.


Lazy Loading with External PHP Iterators

Alejandro Gervasio 10644

Letís face it: building custom external iterators is one of those things that we, as PHP developers, have to tackle sooner or later. Whether it comes to iterating over database result sets or traversing plain array elements, external iterators are powerful, reusable structures that permit you to develop more efficient object-oriented applications. This is the third part in our series on external iterators in PHP.


External PHP Iterators using the ArrayIterator Class

Alejandro Gervasio 14508

If you, as a PHP developer, are looking for an approach that lets you build traversable classes that stick more strictly to the Single Responsibility Principle, then maybe it is time to consider the functionality provided by external iterators.


External Iterators in PHP Using OOP

Alejandro Gervasio 16619

In this first part of a short tutorial series, you will learn how to implement external iterators in PHP using OOP (Object Oriented Programming). This is useful when you want to construct easily traversable classes. Keep reading to learn more!


PHP URL Validation Functions

Codex-M 34963

Validating URLs is important to form handling and PHP data processing. Currently there are numerous solutions for validating URLs. This article will take a look at some of the most commonly used methods of validating URLs in PHP: the Regex method and the PHP built-in Filter_validate_URL.


Developing a Simple Blog Application in PHP

Alejandro Gervasio 20999

In this third part of the series, I develop the domain layer of a sample blog application. In this case, for the sake of simplicity, the domain layer will be able to fetch, save, and delete blog post entries from the underlying storage layer.

More PHP Articles
Total PHP Articles = 810

Page 4 of 54
1 2 3 4 5 6 7 

Developer Shed Affiliates


Dev Shed Tutorial Topics: