want to join us? register, it's easy | help
 

goodphptutorials has submitted 407 links

category icon

PHP Framework Comparison

in PHP added by goodphptutorials, on 30/7/2009 Zend cakephp codeigniter framework

Yes this is yet another PHP Framework comparison. A few months back I was trying to decide which PHP framework to use on a project. I wanted to use a currently popular framework because that way I would get the best support from the devoted contributors and users. Choosing a popular or active project is important when dealing with open source tools.

comment save report
category icon

Facebook like multi Toggle Comment Box with jQuery and PHP.

in PHP added by goodphptutorials, on 29/7/2009 advanced tutorials comments facebook jquery

Implement Facebook like toggle comment box for every updated wall. I had designed a simple example it contains of very simple jQuery and PHP code

comment save report
category icon

15 PHP regular expressions for web developers

in PHP added by goodphptutorials, on 28/7/2009 beginner tutorials regex

Regular expressions are a very useful tool for developers. They allow to find, identify or replace text, words or any kind of characters. In this article, I have compiled 15+ extremely useful regular expressions that any web developer should have in his toolkit.

comment save report
category icon

How to Use PHP Namespaces, Part 1 The Basics

in PHP added by goodphptutorials, on 15/7/2009 namespace oop php5

Namespaces are one of the most significant changes in PHP 5.3. They will be familiar to C# and Java developers, and they are likely to change the structure of PHP applications for the better. [...] Name collision problems can be solved with namespaces. PHP constants, classes, and functions can be grouped into namespaced libraries

comment save report
category icon

Storing Sessions in Memcache (how everything behaves)

in PHP added by goodphptutorials, on 14/7/2009 memcache session

I’ve been using memcached to store session data for the past while, but we ran into a few problems at work that led me to dive in a bit deeper and see how PHP, Sessions, and memcached play along.

comment save report
category icon

Currying in PHP

in PHP added by goodphptutorials, on 13/7/2009 advanced tutorials curry

What happens if you don't have all the arguments handy for a function, but you want to give whatever arguments you do have now and then provide the rest of them to the function later? This is called currying, and is a core concept in functional programming. It's messy, but possible to curry functions in PHP now that closures have been added.

comment save report
category icon

Getting Started with Drizzle and PHP

in PHP added by goodphptutorials, on 10/7/2009 database drizzle mysql

Unless you've been completely out of touch with the open source world, you'll have heard of Drizzle, a new database server that's derived from MySQL. The Drizzle project aims to build a "smaller, lighter, faster" version of MySQL that offers similar stability and ease of use, but strips out certain features from the core system in order to improve performance and scalability.

comment save report
category icon

Facebook like Autosuggestion with jQuery, Ajax and PHP.

in PHP added by goodphptutorials, on 30/6/2009 AJAX autocomplete autosuggest facebook jquery

I received a lot of request from my readers that asked to me how to implement Autosuggestion search with jquery. I love facebook API it's neat, so I had developed Facebook like Autosuggestion user search with jQuery, Ajax and PHP. It's simple and clean just you have to change the database details.

comment save report
category icon

Cook up Web sites fast with CakePHP, Part 4: Use CakePHP's Session and Request Handler components

in PHP added by goodphptutorials, on 30/6/2009 cakephp framework mvc session

CakePHP is a stable production-ready, rapid-development aid for building Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you how to build an online product catalog using CakePHP. Part 4 focuses primarily on the Session component of CakePHP, demonstrating three ways to save session data, as well as the Request Handler component to help you manage multiple types of requests (mobile browsers, requests containing XML or HTML, etc).

comment save report
category icon

Using pecl/oauth to post to Twitter

in PHP added by goodphptutorials, on 5/6/2009 oauth pecl twitter

I have seen a lot of questions about OAuth and specifically how to do OAuth from PHP. We have a new pecl oauth extension written by John Jawed which does a really good job simplifying OAuth

comment save report
category icon

Build a Facebook application with Zend Framework

in PHP added by goodphptutorials, on 10/5/2009 advanced tutorials api facebook

A quick tutorial on how to use Zend Framework to build a Facebook Application.

comment save report
category icon

Pimp Your PHP App with Flex!

in PHP added by goodphptutorials, on 3/5/2009 advanced tutorials flash flex

If you're looking to add some pizzazz to your PHP application, look no further—Adobe’s Flex is here to give your interface some polish. In this article Lennart Steinke shows us how to make a Flex widget with a PHP back end.

comment save report
category icon

10 Advanced PHP Tips Revisited

in PHP added by goodphptutorials, on 23/4/2009 beginner tutorials security tips

Because of PHP's huge popularity, it has become almost impossible for Web developers not to have at least a working knowledge of PHP. This tutorial is aimed at people who are just past the beginning stages of learning PHP and are ready to roll up their sleeves and get their hands dirty with the language. Listed below are 10 excellent techniques that PHP developers should learn and use every time they program. These tips will speed up proficiency and make the code much more responsive, cleaner and more optimized for performance.

comment save report
category icon

404/403 Website Error Pages With PHP Auto-Mailer

in PHP added by goodphptutorials, on 20/4/2009 404 advanced tutorials error handling mail

Website error pages are perhaps one of the most overlooked pieces of a fully rounded website. Not only are they important but they give you the opportunity to have a little fun. Although many web developers rely on server logs to keep an eye out for hits on error pages, I'm going to take a different approach by using a PHP generated email. In addition, we will spice up the design a bit, add basic navigation and link to the website sitemap.

comment save report
category icon

Add Power to Your PHP With Multi-Tiered Applications

in PHP added by goodphptutorials, on 16/4/2009 multi-tier mvc php5

As PHP applications become more and more complex, it can be easy to end up with a tangled mess of code that makes maintenance nearly impossible. Applying the concept of tiered applications can help to alleviate some of the difficulty in maintaining complex applications.

comment save report
category icon

Bloom Filters Quickie

in PHP added by goodphptutorials, on 12/4/2009 advanced tutorials bloom filter

It’s been a couple of month since the release of pecl/memcached and I was getting the urge to write something else. At the same time, I was reading up on Bloom filters, but couldn’t find a PHP extension that implemented them. Thus, pecl/bloomy was born. Now, you may be wondering, what the heck is a Bloom filter why in the blooming sky would I want to use it? Well, read on.

comment save report
category icon

Amazon S3 Simple Backup Script - s3backup

in PHP added by goodphptutorials, on 9/3/2009 amazon s3 backup script

Recently, I've begun to use Amazon S3 for storing backups of files for both my clients and myself. It works amazingly well, its fast, and very simple to use. There's a great PHP class for accessing it through cURL. This small piece of software I've written uses it extensively.

comment save report
category icon

Higher Order PHP

in PHP added by goodphptutorials, on 7/2/2009 advanced tutorials functional

There's no doubt in my mind that Higher order programming is value added to a programmers toolbox, and with the pending release of PHP 5.3, it's about to become much more mainstream.

comment save report
category icon

50 Extremely Useful PHP Tools

in PHP added by goodphptutorials, on 21/1/2009 general tools

This post presents 50 useful PHP tools that can significantly improve your programming workflow. Among other things, you’ll find a plethora of libraries and classes that aid in debugging, testing, profiling and code-authoring in PHP.

comment save report
category icon

Exception Handling In PHP5 - Good Cop, Bad Cop

in PHP added by goodphptutorials, on 18/1/2009 exception php5

Exception handling. The "I'm so good, I don’t produce errors" - mentality can't even save you from them. It's bound to happen - either your code fails, or external libraries you’ve grown to accept produce faults outside of your control.

comment save report
category icon

5 Helpful Tips for Creating Secure PHP Applications

in PHP added by goodphptutorials, on 3/1/2009 advanced tutorials security

PHP is one of the most popular programming languages for the web. Sometimes a feature-friendly language can help the programmer too much, and security holes can creep in, creating roadblocks in the development path. In this tutorial, we will take a look at 5 tips to help you avoid some common PHP security pitfalls and development glitches.

comment save report
category icon

Design Patterns Quick Reference

in PHP added by goodphptutorials, on 31/12/2008 design patterns oo programming php5

So every time I am designing something new I find myself either searching Google or opening up a gang of four (GoF) book to aid me. I searched for a bit trying to find a handy-dandy flash card showing class diagrams and purposes for the basic GoF patterns but was unable to locate a good one (for free). So I made my own.If you see any mistakes or improvements please post here and I will update the docs.

comment save report
category icon

The adventure of PHP and the magic quotes

in PHP added by goodphptutorials, on 19/12/2008 beginner tutorials compatibility security

Back in PHP 2, the “magic quotes” setting seemed like a great idea. It would automatically escape all of your input so you didn’t have to worry about those pesky SQL injections. Any dodgy characters entered by the user would be automatically escaped by a backslash.

comment save report
category icon

Five common PHP design patterns

in PHP added by goodphptutorials, on 16/12/2008 advanced tutorials oo programming patterns php5

Design patterns are just for Java™ architects -- at least that's what you may have been led to believe. In fact, design patterns are useful for everyone. If these tools aren't exclusive to architecture astronauts, what are they, and why are they useful in PHP applications? This article explains.

comment save report
category icon

Towards RESTful PHP - 5 Basic Tips

in PHP added by goodphptutorials, on 11/12/2008 curl framework restful

As we entered a programmable web of applications with APIs the decision to ignore HTTP gave us problems we're still dealing with today. We have an Internet full of applications with different interfaces (GET /user/1/delete vs. POST /user/delete {id=1}). With REST we can say /user/1 is a resource and use the HTTP DELETE verb to delete it.

comment save report