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

browse by tag: advanced tutorials

sort by

newest, oldest, most popular


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

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

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

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

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

Search without refreshing page using jQuery, Ajax and PHP.

in PHP added by foxscan, on 8/8/2009 AJAX advanced tutorials database jquery mysql

This tutorial about how to display twitter like search results with jQuery and Ajax. When you click the search button the results will display on the same page. This is very interesting and simple.

comment save report
category icon

Playing with Zend_Navigation and routes

in PHP added by goodphptutorials, on 10/8/2009 Zend advanced tutorials framework routes

I wanted to set up routes in such way that when a user requests a page, all requests for non-existing controllers/modules are directed to a specific controller (not the error controller). In other words, if we have controllers IndexController, FooController and PageController, anything but http://example.com/index and http://example.com/foo is directed to the PageController.

comment save report
category icon

Functional PHP 5.3 Part I - What are Anonymous Functions and Closures?

in PHP added by goodphptutorials, on 18/8/2009 advanced tutorials closure content management lambda

One of the most exciting features of PHP 5.3 is the first-class support for anonymous functions. You may have heard them referred to as closures or lambdas as well. There's a lot of meaning behind these terms so let's straighten it all out.

comment save report
category icon

Facebook style information box with jQuery

in PHP added by prodevtips, on 2/9/2009 AJAX advanced tutorials jquery

How to create a small left-side information box that behaves like the one on Facebook.

comment save report
category icon

CodeIgniter and jQuery - Real Live Search with Pagination

in PHP added by goodphptutorials, on 22/10/2009 AJAX advanced tutorials codeigniter framework jquery pagination

In this tutorial, we will create a search page with CodeIgniter and jQuery. We’re not gonna create only a default search page using CodeIgniter framework, but also a real time search with jQuery’s support. And one more, enable GET method in CodeIginter that was stupidly disable by default.

comment save report
category icon

Writing an easy to use A/B test helper with CakePHP and jQuery

in PHP added by goodphptutorials, on 1/11/2009 ab test advanced tutorials cakephp framework jquery metrics

Knowing what is driving the user experience is key to the success of an application. Subtle changes in the interface can cause dramatic shifts in user behavior. Here, A/B tests display two (or more) language choices or color choices to a user (any HTML). Metrics are measured in two ways - 1) did the user click on the button at all and 2) how long did it take them to find it from the moment the page has started loading?

comment save report
category icon

Precision color searching with Gmagick and Amazon Elastic MapReduce

in PHP added by CalEvans, on 3/11/2009 advanced tutorials cloud gmagick php5

In this article we look at combining Amazon's cloud tools, PHP and Gmagick to perform color searching on photographs.

comment save report
category icon

PHP on the D-Bus

in PHP added by CalEvans, on 10/11/2009 advanced tutorials oo programming php5 podcast

The D-BUS Inter Process Communication mechanism is the basis for many system-related functionality on Linux-based systems. Both GNOME, KDE, as well as the Open Moko Linux computing platform use it extensively for everything related to talking to services and hardware. Skype, as well as other applications, provide D-BUS APIs as well. In this presentation I will be presenting a PHP/D-BUS integration to allow PHP to talk to D-BUS aware applications. I will demonstrate controlling Skype from PHP, as well as the implementation of PHP-GTK based applications on the OpenMoko to talk to, and use the different hardware services it offers, such as GSM and GPS. This talk should show a few things that people don’t really associate PHP with, and thus provide some insight that PHP’s strength is not only on the Web.

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

Setting up your Git repositories for open source projects at GitHub

in PHP added by goodphptutorials, on 15/12/2009 advanced tutorials git github version control

Like a lot of projects in the Ruby on Rails world, the Insoshi social networking platform uses Git and GitHub to manage its open source development and contributions. In setting up the repositories for Insoshi, I've applied the version control experience I gained at Discover, where I was technical lead for the software configuration management (SCM) team. Since some aspects of our setup aren’t obvious if you haven't managed large projects before, we at Insoshi decided to share the details so that other GitHub projects might benefit as well.

comment save report
category icon

Port Scanning and Service Status Checking in PHP

in PHP added by ducani, on 26/12/2009 advanced tutorials port scanning service status

While building web applications, it's often important to keep an eye on the other services running on your server. Having access to the current status of public servers can empower your applications to make decisions and respond to problems automatically.

comment save report
category icon

Understanding MVC in PHP

in PHP added by goodphptutorials, on 30/12/2009 advanced tutorials mvc oo programming

This article series (continued in Implementing MVC in PHP: The Controller, Implementing MVC in PHP: The View, and Implementing MVC in PHP: The Model) demonstrates how to build an MVC web framework using PHP 5. This article covers the basics of MVC web frameworks, building the foundation classes for a framework that the other three articles in this series will build.

comment save report
category icon

Transforming XML with PHP and XSL

in PHP added by lornajane, on 13/1/2010 advanced tutorials php5 xml xsl

Advanced tutorial on using XSL with PHP - including examples, tips and links to resources. A must-read for anyone needing to transform XML.

comment save report
category icon

Howto Publish a Pear Package on Pearhub

in PHP added by goodphptutorials, on 17/1/2010 PEAR advanced tutorials pearhub

First of all you may be wondering what is Pear? From the Pear Documentation - "PEAR is short for "PHP Extension and Application Repository" and is pronounced just like the fruit". It is an umbrella-term that encompasses a package management system, an official package repository, a coding standard and a command-line tool.

comment save report
category icon

Advanced CouchDb (techPortal Podcast)

in PHP added by lornajane, on 22/1/2010 advanced tutorials conference couchdb database podcast

Learn how to use CouchDB replication for load-balancing, fault tolerance, offline work and backup. We are showing how to set up each and what you need to look out for. Finally, this talk is sprinkled with neat tricks and best practices for deploying CouchDB. Which load balancers are people using, how to make the best use of caching, etc

comment save report
category icon

User authentication with a secure cookie protocol in PHP

in PHP added by goodphptutorials, on 14/2/2010 advanced tutorials authentication cookie hmac security

The use of cookies introduces a few security issues. The data in the cookie is stored in plain text and can easily be modified or hijacked. Liu et al. (2005) propose a secure cookie protocol which we will use as a guideline in this example.

comment save report
category icon

PHP Continuous Integration with Atlassian Bamboo

in PHP added by goodphptutorials, on 9/3/2010 advanced tutorials continous integration unit tests

Continuous integration is all the rage these days; you are unit testing your code are you not? During some consulting in January with the help of Sebastian Bergmann, from thePHP.cc, we setup continuous integration utilizing Atlassian Bamboo and received training on PHPUnit.

comment save report
category icon

Tips for working with Zend_Search_Lucene

in PHP added by goodphptutorials, on 10/3/2010 Zend advanced tutorials framework lucene search

A common misstep for a developer who is implementing Lucene for the first time is to stuff an overabundance of data inside it, reducing performance. For someone who doesn't have a background in natural language processing or information retrieval, some data normalization steps may not come naturally. This post specifically regards Zend_Search_Lucene, but much of my advice can be abstracted across various languages to other Lucene ports, such as Lucene.NET.

comment save report
category icon

Facebook style chat with jQuery and Joomla

in PHP added by prodevtips, on 29/3/2010 AJAX advanced tutorials oo programming php5

Tutorial on how to create a Facebook style chat with the help of jQuery and PHP.

comment save report
category icon

PHP Buzz Stream Reader

in PHP added by goodphptutorials, on 29/3/2010 advanced tutorials google buzz web service

I'm on to the next shiny thing: Google Buzz. It provides the instant gratification of Twitter, along with a system for commenting, liking, geolocation, sharing links, and more. It's sort of like Facebook, except that it's embedded into GMail and there's no Mafia Wars yet.

comment save report