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

Dependency Injection and Service Locators in PHP

Alejandro Gervasio 13286

In this second tutorial of the series, I show how the combined functionality provided by dependency injection and a service locator can be quite helpful in the construction of testable object graphs.


Building a Service Locator in PHP

Alejandro Gervasio 21193

In this first part of a series, I introduce you to the key concepts that surround the definition of a service locator. I'll also show you how to use this approach in the development of a basic registry library.


How to Use the PHP sort() Function

wubayou 13702

In this brief tutorial, we will learn how to use PHP's sort function to sort the values in an array.


Swapping Cache Back-End at Runtime in PHP

Alejandro Gervasio 8903

While the pattern is not as popular as other well-known contenders, like Singleton, Factory and Composite, “Plug-in” is a powerful structural paradigm. It permits developers to create extensible software systems by means of a clever combination of Composition and interfaces. By "interfaces," I mean native ones, or defined in the form of abstract classes.


Creating an Extensible Caching System in PHP

Alejandro Gervasio 20508

In this part of the series, I demonstrate that the use of the “Plug-in” pattern in the construction of an extensible caching system is actually much simpler than many people might think. [Editor's note: this article was published out of sequence; it's actually the third in the series, and comes before yesterday's "HTML5 Client-Side Cache in PHP."]


HTML5 Client-Side Cache in PHP

Alejandro Gervasio 40069

In this penultimate part of a series, I develop a basic client-side cache class in PHP. It uses the local storage mechanism packaged with HTML5 to save, retrieve and manipulate data in the browser.


Deploying and Implementing PayPal IPN in PHP

Codex-M 29700

This is the final part of the PayPal IPN PHP script tutorial. This part will discuss the implementation and project deployment procedures for getting the PayPal IPN PHP script project up and running on your own test server.


Developing a PayPal Customer Download Script

Codex-M 15400

This is the fifth part of the PayPal IPN PHP script tutorial. This part will discuss the details of the customer download script (customerdownload.php).


Plug-in Pattern in PHP and JavaScript

Alejandro Gervasio 15473

In this second part of the series, I demonstrated how to use the “Plug-in” pattern for developing a fully-pluggable application that renders different types of elements on screen. The “plug-ins” passed to the client renderer will be objects that generate basic HTML/JavaScript code and nothing else.


Paypal IPN PHP Handler Script

Codex-M 56574

This is the fourth part of the PayPal IPN PHP script tutorial. This part will discuss the details of the IPN handler script. Let's name this script "ipnhandler.php."


The PHP Plug-in Pattern

Alejandro Gervasio 17782

In this first part of a series, I introduce the key concepts that surround the implementation of the Plug-in design pattern in PHP. I also show you how to use it to build an easily extensible application. The sample program in this case will render a few simple HTML widgets on screen, such as divs and paragraphs, but this functionality can be easily extended to other elements as well.


Database Tables for a PayPal IPN PHP Website Payments Application

Codex-M 23912

This is the third part of the PayPal IPN PHP Script tutorial. This part will discuss the database table required by the application as well as the details of uploading and securing the digital products on the test server.


Creating a Paypal IPN System in PHP - Part Two

Codex-M 37140

This is the start of the actual creation of the PayPal IPN system using PHP. If you are looking for the entire script, you can download it at the end of this tutorial series. It is recommended that you read and understand the concept behind those scripts before testing the script on your own server. As noted in the title, this is the second part of a series.


Creating a PHP PayPal Instant Payment Notification Script

Codex-M 56062

This is an important tutorial on the use of PHP in the implementation of PayPal IPN (Instant Payment notification) system on your website. There are many advantages to using this system on your site. If you're ready to put the power of PayPal to work for you, keep reading.


An Entity Manager for a Unit of Work in PHP

Alejandro Gervasio 13991

In this fifth part of a series, I create a simple entity manager class, which can switch over multiple UoWs by using a single method call. The class will inject into its internals a factory responsible for spawning different UoWs on request. This will permit you to decouple object instantiation from application logic.

More PHP Articles
Total PHP Articles = 810

Page 5 of 54
2 3 4 5 6 7 8 

Developer Shed Affiliates


Dev Shed Tutorial Topics: