Home arrow PHP
 

PHP HELP, PHP TUTORIALS, OBJECT-ORIENTED PHP5 PROGRAMMING

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
  12-21-09 

Deleting Database Records with an Abstraction and Foreign Key Constraints

Alejandro Gervasio 10062

In this fifth article of a six-part series, you will learn how to use foreign key constraints in MySQL to produce the deletion in cascade of rows in a child table when the related rows of the corresponding parent are deleted as well. We'll use a simple MySQL abstraction class to do the trick.

  12-17-09 

Performing Record Updates with Foreign Key Constraints in MySQL

Alejandro Gervasio 12705

In this fourth installment of a six-part series, I explain how to use foreign key constraints to update rows of two InnoDB tables via a basic abstraction class built into PHP 5. This example will help you start utilizing foreign key constraints with a particular server-side scripting language.

  12-16-09 

Updating and Deleting Records in MySQL Tables with Foreign Key Constraints

Alejandro Gervasio 19216

In this third installment of a six-part series, I explain how to trigger cascading updates and deletions of records of a child table, when performing the same operations on the associated rows of its parent table. Achieving this with InnoDB tables is a simple process, thanks to the use of a single foreign key constraint.

  12-15-09 

Applying the Dependency Injection Pattern and Factory Methods in PHP 5

Alejandro Gervasio 15286

Welcome to the final part of a series on implementing factory methods in PHP 5. Composed of six approachable tutorials, this series uses numerous hands-on examples to teach you how to define specific methods within your own PHP programs. These methods return to client code instances from their originating classes, and from other classes as well.

  12-14-09 

Decoupling the Interaction Between Objects with Factory Methods

Alejandro Gervasio 10910

Welcome to the fifth part of a six-part series on implementing factory methods in PHP 5. In this part, I show how the removal of a factory method inside the constructor of the class that originates persistent objects can produce a huge impact in the way that those objects handle its dependency, which happens to be a database handler object.

  12-10-09 

Cascading Deletes of Database Rows in MySQL with Foreign Key Constraints

Alejandro Gervasio 17577

Foreign key constraints are a powerful feature provided by many modern RDBMS that allow you to automatically trigger specified actions, such as deletions or updates of the records of database tables that maintain a predefined relationship with each other. This is the second part of a six-part article series that shows you how to work with foreign key constraints in MySQL.

  12-09-09 

Working with Foreign Key Constraints in MySQL

Alejandro Gervasio 28009

In this first part of a six-part series, I provide you with a basic introduction to using foreign key constraints with InnoDB tables in MySQL. As you'll soon see, triggering a cascading update on the records of a child table when updating the rows in a parent table is a breeze.

  12-08-09 

Using Database Objects with Factory Methods

Alejandro Gervasio 14859

In this fourth part of a six-part series on implementing factory methods in PHP 5, I show how a simple factory method can improve the efficiency of a sample database-driven application when a database handler is utilized by multiple objects. In this specific case, the method returns Singletons of the database handler, which is a significant enhancement.

  12-07-09 

Creating Objects Dynamically with Factory Methods

Alejandro Gervasio 16843

Welcome to the third part of a series that shows you how to implement factory methods in PHP 5. Made up of six tutorials, this series uses numerous friendly code samples to illustrate how to implement the Factory and Singleton design patterns within your PHP 5-based web applications. In this way, they will be able to build objects in a truly efficient manner.

  12-04-09 

Building a Flex Multiple File Uploader with Image Preview

Keith Lee 90119

As the Internet integrates itself more and more into our daily lives, we see the popularity of electronic media spread like a virus. Websites like Youtube and Flickr have had a great deal of success by primarily focusing on user-generated content. Because so many people are uploading media, making the process as easy as possible makes the most sense. Keeping reading to see how Flex can do this for you.

  12-03-09 

Building a Sample Application with Method Chaining and CodeIgniter

Alejandro Gervasio 23581

Definitely, building chainable class methods with PHP 5 is a process that can be mastered with minor effort, even for developers with only an average level of experience in using the object-oriented paradigm. Therefore, if you're a passionate PHP programmer who wishes to learn the key concepts that surround the implementation of method chaining in a painless fashion, then this group of articles is what you need.

  12-02-09 

Completing a CodeIgniter Library with Method Chaining

Alejandro Gervasio 21267

In this eleventh part of a 12-part series on method chaining, I will finish building the custom CodeIgniter library we've been working on by adding to it some very useful features. When we're done, the library will be able to autoload a specified model and validate input data.

  12-01-09 

Using Singletons with Factory Methods in PHP 5

Alejandro Gervasio 16940

In this second installment of a six-part series on implementing the factory pattern in PHP 5, I explain how to build an improved version of a factory class that returns Singletons of itself to client code.

  11-25-09 

Adding Ordering and Grouping Clauses to the CodeIgniter Library with Method Chaining

Alejandro Gervasio 21553

Welcome to the tenth installment of a series on method chaining in PHP 5. Comprised of twelve tutorials, this series teaches you the key concepts that surround the implementation of chainable methods within PHP classes, and shows how to put them to work to create a custom library for the popular CodeIgniter framework.

  11-24-09 

Implementing Factory Methods in PHP 5

Alejandro Gervasio 24718

If you’ve ever developed desktop applications using mature object-oriented languages like C++ and Java, then it’s possible that you’ve found yourself saying a few funny phrases such as “I need to implement a factory method within this class,” or in the worst case: “this class needs to implement a factory method, but I don’t have a single clue about how to do that.” Surprisingly, you can implement these factory methods pretty quickly and easily in PHP 5, as this six-part series will show you.

 
More PHP Articles
Total PHP Articles = 810

Page 15 of 54
12 13 14 15 16 17 18 

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: