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

browse by tag: php5

sort by

newest, oldest, most popular


category icon

How to Authenticate Users With Facebook Connect

in PHP added by goodphptutorials, on 13/6/2010 advanced tutorials facebook php5

Lately, there’s been quite a fuzz about lazy registration. It turns out that the less the user has to think, the higher the conversion rates are! What a thought! If everybody seems to have a Facebook profile, why not add a one-click user registration? I’ll show you how to do that today.

comment save report
category icon

PHP HTTPRequest Class

in PHP added by rvdavid, on 11/1/2008 advanced tutorials oo programming php5 request handling

By default, request data in PHP is handled by using Super Globals ($_POST, $_GET, $_COOKIES). Globals are bad for several reasons (outside the scope of this example google here). In an effort to remedy this, we need a way to encapsulate the request data into an object. By doing this, we are centralising access to request data through the one channel - the HTTP Request object.

comment save report
category icon

Template View and View Helper Design Patterns in PHP

in PHP added by rvdavid, on 6/12/2007 advanced tutorials oo programming php5

The Template View and View Helper patterns lend themselves nicely when it comes to developing a View Layer solution for PHP, or so I found out with the recent refactoring of Cubix (dubbed Cubix II). This View layer duo is very much a great candidate for a 'tag team'. Each component performs a role and together make up a big part of the View Layer.

comment save report
category icon

How to Create an RSS Feed for Your Site in PHP

in PHP added by Walkere, on 1/3/2008 advanced tutorials feed file handling mysql php5 xml

An RSS feed is a great way to serve up your content to users. However, if you're not using a standard CMS or blogging platform you may not have an RSS feed generated for you automatically. This tutorial will show you how to create an RSS feed in a few simple steps. If you can query your database to get information about your articles, you can complete this tutorial and build a custom feed.

comment save report
category icon

Use Windows Login (Active Directory) For your PHP applications

in PHP added by Alpho011, on 10/4/2009 advanced tutorials database ldap php5

Use the username and password schemes that are already in place for logging in to your applications or websites. Great for intranet site work.

comment save report
category icon

Web Services for PHP Developers

in PHP added by goodphptutorials, on 1/6/2010 advanced tutorials php5 rest soap web service xml-rpc

In this world of sharing data, increasing numbers of sites and applications are making information available over web services. Whether we are building a service as a feature of our own development, or pulling in the information published by others, we will need to understand the different service types and how to work with them in PHP. This article aims to give you the tools to do just that.

comment save report
category icon

Facebook style photo tagging with jQuery, Ajax and Joomla

in PHP added by prodevtips, on 28/11/2009 AJAX advanced tutorials oo programming php5

Facebook style photo tagging with jQuery, Ajax and Joomla

comment save report
category icon

MySql Prepared Statement in PHP

in PHP added by cyberhitesh, on 10/7/2009 advanced tutorials oo programming php5

I was wondering whether PHP also give a feature of Prepared Statement as you have in Java JDBC Connection. Prepared Statements are always better than normal statements as it prevent SQL Injection etc.

comment save report
category icon

PHP5 Database Iterators

in PHP added by goodphptutorials, on 29/9/2009 database interator oop php5

One feature of PHP rarely seen in production code is PHP Iterators. Iterators are not unique to PHP, as Java and C++ have them, but they are a powerful mechanism to increase code usability. A very useful feature of PHP Iterators is the ability to extend them to iterate over any type of array or object. A unique implementation of PHP Iterators is to quickly and easily iterate over a result from a SQL query against a database. This provides a fast and very memory efficient implementation for loading up many objects.

comment save report
category icon

Understanding APC (techPortal)

in PHP added by lornajane, on 3/11/2010 APC advanced tutorials caching performance php5

This tutorial explains the installation and usage of APC as an opcode cache for PHP. It also goes on to discuss the use of APC as a data cache, and the circumstances under which this is relevant and useful. Useful for developers, administrators and architects alike, this in-depth tutorial gives clear detail on using APC

comment save report
category icon

PHP programming shortcuts: save time and lines of useless code.

in PHP added by nvez, on 17/8/2010 beginner tutorials how to php5 tips tricks

A nice bunch of tips and tricks that help you save lines of code and have more efficient code

comment save report
category icon

Zend Framework: File upload using Zend_Form_Element_File

in PHP added by goodphptutorials, on 20/8/2009 Zend framework oo programming php5

This post will be helpful for all people who are wishing to get some practicle example for using Zend_Form_Element_File of Zend framework's Zend_Form.

comment save report
category icon

Why PHP 5 Rocks!

in PHP added by goodphptutorials, on 22/12/2005 object orientation oo programming oop php5

The title really says it all!

comment save report
category icon

Combining jQuery with the Zend Framework and Smarty

in PHP added by prodevtips, on 25/6/2008 AJAX advanced tutorials php5

Showcasing how jQuery can be used in combination with the most popular templating engines for PHP and a popular PHP framework with a simple example.

comment save report
category icon

Multiple select lists with jQuery, JSON and PHP

in PHP added by prodevtips, on 25/2/2010 AJAX json oo programming php5

Tutorial on how to prepopulate and save a multi select list selection by way of Ajax, JSON and jQuery.

comment save report
category icon

How to Display Facebook Fan Count in Text

in PHP added by goodphptutorials, on 19/6/2010 beginner tutorials facebook php5

Adding a Facebook Like Button on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more likes. If you have hundreds, thousand or perhaps tens of thousand of fans, it might be a good idea to publish a fan count. Fan count displays in numeric text total fans your Facebook page has, or rather, how many have liked your page.

comment save report
category icon

Input Validation: Using filter_var() Over Regular Expressions

in PHP added by Mojah, on 8/2/2009 advanced tutorials filter_var php5 regex

The biggest time-sink on any project, is the amount of input validation that needs to be done. You _have_ to assume your visitor is a maniac serial killer, out to destroy your application. And you have to prevent it.

comment save report
category icon

State of the Zend Framework 2.0

in PHP added by goodphptutorials, on 10/6/2010 oo programming php5 zend framework

The past few months have kept myself and my team quite busy, as we've turned our attentions from maintenance of the Zend Framework 1.X series to Zend Framework 2.0. I've been fielding questions regularly about ZF2 lately, and felt it was time to talk about the roadmap for ZF2, what we've done so far, and how the community can help.

comment save report
category icon

A Lesson In Static Methods And Late Static Binding

in PHP added by goodphptutorials, on 21/4/2010 framework oo programming php5 zend framework

Until last week, I had never experienced what must have been incredibly frustrating to most developers: the fact that the self keyword in PHP refers to the class it is located in, and not necessarily a class that extends it. I personally ran into this problem when trying to extend Zend_Auth.

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

Writing a CMS/Community with Smarty and the Zend Framework Part 2

in PHP added by prodevtips, on 10/11/2007 advanced tutorials content management oo programming php5

The second part in a series on how to write a combination of a CMS and community with the Zend Framework and the Smarty templating system.

comment save report
category icon

PHP Advent 2010: Localization

in PHP added by goodphptutorials, on 3/12/2010 localization oo programming php5

When creating a web site, it is important to consider the audience. Regardless of whether the web site is selling goods, providing a service, or making information available, one should consider how the site will be displayed to a visitor from another country. If visitors want to buy something, use the service, or read the information provided, will the web site be able to accommodate them? Should it? Localization allows the user interface to accommodate a user’s expectations for the display of dates, currency, and text specific to their locale.

comment save report
category icon

Using Stored Procedures & MySQLI in PHP 5

in PHP added by rvdavid, on 11/12/2007 beginner tutorials database mysql oo programming php5

For the occasions that you want to use a stored procedure you've written in MySQL 5 through PHP , the semantic tool to use is PHP's built in mysqli objects/package.

comment save report
category icon

Working with Directories

in PHP added by Nolte, on 22/2/2007 directories file handling iterators php php5 recursion

As is necessary for any language, PHP has a complete set of directory support functions. PHP gives you a variety of functions to read and manipulate directories and directory entries. Like other file-related parts of PHP, the functions are similar to the C functions that accomplish the same tasks, with some simplifications. This tutorial describes how PHP handles directories. You will look at how to create, remove, and read them.

comment save report
category icon

Adding Ajax with jQuery to Joomla 1.5

in PHP added by prodevtips, on 3/8/2009 advanced tutorials content management mysql oo programming php5

How to quickly add Ajax anywhere in Joomla 1.5 using jQuery.

comment save report