browse by tag: php5
sort by
Multiple select lists with jQuery, JSON and PHP
in PHP added by prodevtips, 2 weeks ago 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 reportScaling Web Applications with HMVC
in PHP added by goodphptutorials, 3 weeks ago framework hmvc kohana mvc php5 scaling
The last decade has been witness to the second iteration of web design and development. Web sites have transformed into web applications and rarely are new projects commissioned that do not involve some element of interactivity. The increasing complexity of the software being developed for the internet fuelled a requirement for structured and considered application design.
comment save reportFaceoff: CodeIgniter vs CakePHP
in PHP added by goodphptutorials, on 7/2/2010 cakephp codeigniter framework php5
In the red corner, we have CakePHP, the heavyweight fighter with guns to show. In the blue corner, we have CodeIgniter, the lightweight fighter, quick on the feet.
comment save reportTransforming 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 reportZend Framework on a shared host
in PHP added by goodphptutorials, on 10/1/2010 framework oo programming php5 zend framework
When you deploy a Zend Framework website to a shared host, you usually cannot change the DocumentRoot to point at the public/ folder of the website. As a result the URL to the website is now http://www.example.com/public/. This doesn't look very professional, so we'd like to remove it. The easiest way, given a ZF project created using Zend_Tool.
comment save reportWriting a daemon in PHP
in PHP added by besx, on 22/12/2009 daemon linux php5
Many browser based games need to run processes in the background to fulfill special tasks. Think of a chatsever that handles incoming messages and broadcasts them to all connected clients. For such a purpose one cannot rely on user-executed scripts or cronjobs. We need an approach that runs a set of commands all the time as a background process on the server. This is where daemons come in handy.
comment save reportFacebook 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
2 comments save reportNever write the same code twice: Dependency Injection
in PHP added by goodphptutorials, on 20/11/2009 dependency injection oo programming php5
Is Dependency Injection difficult? Is it hard to do? Certainly it provides value. Particularly in Php, but also in other object-oriented languages, Dependency Injection gives steroids to the process of class reuse, designing components as loosely coupled objects.
2 comments save reportPHP 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 reportPrecision 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 reportCreating a secure PHP contact form
in PHP added by sneakybox, on 6/10/2009 contact form mysql php5 secure
An in-depth tutorial explaining how to create a spammer-stopping PHP contact form for your website.
comment save reportPHP5 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 reportSending e-mails via SMTP with PHPmailer and Gmail
in PHP added by finalwebsites, on 3/9/2009 email gmail php5 phpmailer smtp
Using the SMTP server from Gmail is a good choice for mail application with less than 500 recipients a day. This tutorials shows you how to send mail messages via SMTP using PHPmailer and Gmail.
comment save reportZend 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 reportWhy PHP Frameworks Matter
in PHP added by goodphptutorials, on 13/8/2009 frameworks oo programming php5
n a 1998 interview with Dr. Dobb’s Magazine, creator of the Perl programming language Larry Wall concluded his answer to the final question with a tip I’ve never forgotten, remarking, “Take a good look at what you want to do, and try to come up with the long-term lazy way, not the short-term lazy way.” [1] To paraphrase another Larry Wall-ism, in the programming world “laziness is indeed a virtue”, and if you’re not a lazy programmer, then frankly you’re not trying hard enough.
comment save reportEnhancing a URL Handling Helper Class in PHP 5
in PHP added by goodphptutorials, on 12/8/2009 beginner tutorials general php5 url
Are you a PHP developer wishing to find an approachable guide that walks you through building different kinds of helper classes in PHP 5? Then look no further, because this group of articles may be the material that you really need.
comment save reportAdding 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 reportPrepare 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 reportDesign 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 reportParse 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 reportHow 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 reportMySql 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.
1 comment save reportHow to Implement Text to Speech in PHP
in PHP added by cyberhitesh, on 10/6/2009 Festival php5 text to speech
One such application is Festival, it allows us to convert Text to Speech(WAV) format. In this article we will learn on how we can convert text to speech from PHP applications.
comment save reportImage watermark with PHP
in PHP added by webmonitore, on 22/5/2009 advanced tutorials beginner tutorials content management general php5 security
To prevent quality images being stolen, we can use PHP to watermark web-images in popular formats like GIF/PNG/JPEG. We print a transparent gif-image on a jpeg-photo in this tutorial.
1 comment save reportAdd 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