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

news


CodeLovely.com starts beta testing

Hi folks, I've launched a new website called codelovely where developers and web designers can get together and share links. It's like goodphptutorials, but users get to vote up or down links that are posted. So, sign up posts some links, snapshots, code or ask questions.

 

tutorials


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
category icon

Prepare for PHP 5.3

in PHP added by goodphptutorials, on 31/7/2009 cakephp migration php5 ubuntu

PHP 5.3 is a big leap forward for PHP and brings of a lot of neat features. However, big leaps can also mean big changes and potentially big breakage when it comes to backwards compatibility. I did some experimenting with running a big legacy application and a CakePHP application on PHP 5.3 and would like to share my findings with you. Here are a couple of tips to prepare your code for PHP 5.3

comment save report
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

Design Patterns in PHP [PDF]

in PHP added by nirajam, on 29/7/2009 advanced tutorials beginner tutorials oo programming php5

In this tutorial you learn some of the Design Patterns and how to implement them in PHP. These are an essential part of OOP and make your code more effective, better performing, and easier to maintain. Sometimes we implement these design patterns in our code without knowing that these solutions are defined by design patterns. Proper usage of the correct pattern can make your code perform better; similarly using them improperly could make your code slower and less efficient.

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

BackType Tweetcount 1.2 with su.pr Short URL Support

in PHP added by appdev, on 27/7/2009 advanced tutorials api su.pr

The new BackType Tweetcount just launched last night. With a little work, it’ll support your very own custom shortened URL in the re-tweet. This isn't just limited to su.pr.

comment save report
category icon

Parse a String with BB Code or RSS

in PHP added by appdev, on 16/7/2009 bb code functions php5 string handling

Writing a function to parse BB Code and RSS Feeds each time you need them is a pain. Here’s a use function to throw into an include or just have on hand for later.

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

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

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