Ajax + PHP

Base Concepts of Internationalization in PHP

Octavia Anghel popst an article about creating international application with PHP and PEAR. She writes:

«If you develop Web applications that have an international target audience, then you have to take internationalization into account—a process that includes avoiding date/time or currency confusions and delivering all text pertinent to the user interface in the user's preferred language. Applications that can grow international traffic and improve revenue must respect their clients' needs.

PHP comes with a set of PEARs that support internationalization from several different angles and levels of complexity. The I18N PEAR presented in this article offers the core internationalization support for your PHP applications. You will see how to:

  • Download and install the I18N PEAR

  • Internationalize numbers

  • Internationalize currencies

  • Internationalize dates and times

»

Source: devX.com

Wordpress: Display Content in multiple Columns

Christian Budshedi post an article in which he tells about Displayin contents of WordPress in several columns. He writes:

«While CSS 3 is capable of doing this on its own with the new Grid Position Module, a lot of browsers do not support this functions yet, so I needed to add a little extra markup to the output which is generated via the_content() to get the following result:

To get this result we need to filter the_content() before output with a custom function and add 2 divs to the output, which we style with CSS later on. So Ladys and Gentleman please open the functions.php file of your current WordPress Theme.»

Source Kriesi.at.

Wordpress Page Template

Muhammad Harris post a new article in WebDevLounge blog in which he tells about structure of aWordPress templates:

«I am a guest blogger for WebDevLounge. My name is Muhammad Haris and I am here to teach you how can you build custom wordpress page template.

Wordpress page template with custom fields is the power to customize wordpress completely. With the combination, you can build different types of systems with Wordpress including but not limited to Portfolios and CSS Galleries.

Today, our goal will be to achieve a similar layout like Tom Huveners Work page.»

Source: WebDevLounge.com

WordPress Tips and Ideas Learned From Implementation

Trevor Davis is gives some advices about building your blog with WordPress in his new article. He writes:
«Recently, I had to slice and implement a blog for the CEO of my company. I decided to go with WordPress because that is what I have become enamored with recently, when I created a job board using it. I used some features of WordPress that I had never used before, so I figured I would talk about them so that others could learn how to use them as well.»

Source: Trevor Davis blog.

Useful WordPress Tricks

Dejan Cancrevic post an article in which he tells about several usefull WordPress tricks. He writes:

«After a short break of writing on WordPress and on the request of my subscribers i decided to make a list of useful WordPress tricks and you are probably already using some of them, if not going to when making a WordPress theme. As you already know WordPress is one of the most popular blog platforms these days and it has grown so powerful that you can use it also use as Content Management System (CMS).

If you are new to WordPress and blogging itself you should read "Before you start blogging" article and go with some free themes for now, which you can find here in free themes directory.»

Source:Stylized Web.

A Guide to Cryptography in PHP

There is a intresting article posted on a devX.com site about using cruptography in PHP by Octavia Anghel. Here's the short list of topics disscussed in this article:

  • Encrypting Large Data with Mcrypt

  • Building Hashes with Mhash

  • Using the Crypt_RSA PEAR Package

  • Generating Secret Keys with the Crypt_DiffieHellman PEAR Package

Source: devX.com.

Drupal 6.0: Installation and Basic Usage

Michael J. Ross post an intresting article about installing and basic usage of Drupal 6.0 CMS. Here's the short list of topics that disscused in this article:

  • Overview of CMSs and Drupal

  • System Requirements

  • Downloading Drupal

  • Administering Drupal

  • Resources

Ajax and XML: Ajax for tables

Thereis an intresting article about builduing tabbed tables with AJAX and PHP posted on IBM developerWorks site. Here is the main topics disscised in this article:

  • Tabbed windows

  • Basic tables with Ajax

  • Paged tables with Ajax

  • Hidden paged tables

  • Gliders

PHP-Ext beta

PHP-Ext is an open source widget library written for PHP 4 and 5 to empower the UI Layer.
It is based on ExtJS JavaScript widgets which provide a standard and powerful API to build Rich Internet Applications. It basically works as a convenient wrapper for the Ext JS Javascript Objects.

YouTube, Picasa Web Albums and Documents List in PHP!

YouTube, Picasa Web Albums and Google Documents List now supported by Google Data PHP client library. This client library intended for PHP developers to interact with Google Data APIs through an object-oriented data model and a set of convenience classes.

Also you can view video with examples.

Source: Google Data Api blog

Cruiser Behaviors library

Cruiser logoOne of most comon web developer's tasks is making HTML element s do some useful things when events are fired by browser, for example, when user's mouse cursor is hovered over the element.
Classic solution for this is attaching event handlers right in HTML code, i.e. <div onclick=...
A great approach for programmer when you have full access to source code, have enough skills to modify it etc. But sometimes you cannot control element's event handlers (imagine you write an article on some website, or you need some event handlers to a particular mod_mainmenu links in Joomla)
While surfing the Web, I've found a library that solves this problem  - Cruiser Behaviors library.
I'll show you how you can separate the content and it's behavior using this library. Let's make a HTML that displays Google PR retreived live from Google server without writing event handlers as HTML element properties. PR will be displayed as a tooltip for element, updated once per page display and displayed when user's mouse cursor hovers over the link

The Definitive Guide to Symfony and symfony 1.0 RC1 released

The 490 pages of this book explain all you need to know from starting up symfony to managing a symfony application, with a lot of practical examples and expert tips. It is available in bookstores right now; if you want to order it online, go here publisher's website or amazon.com.

A pile of books

The book is released under a GFDL license, which means that anybody can download the book's content for free. This shouldn't discourage you from buying it though, because the work involved in writing it is really worth its price!

AJAX Chat Tutorial

Introduction

Creating a chat application is not a difficult task. Honest!

This tutorial is a step by step introduction to creating a lightweight chat application using XML as a storage medium. As personal motivation, I develop PHP games as a hobby. In pursuit of that hobby I've found that offering a flat threadless forum in such games tends to result in heavy usage as players attempt to use it as a chat room. The reason is that even with the advent of irc and instant messengers, users continue see an alternative web based solution as attractive for a number of reasons whether its limited access to instant messengers through a corporate proxy or simply for convenience sake.

You can download the current version of the source code for this application from: chat.tar.gz or chat.zip. This will be the final version of the code after finishing the tutorial (plus any subsequent patches).

To create this application, I'll be using standard third party libraries. I have no intention of creating new solutions for tasks which are already well covered by a range of excellent libraries. A lot of unnecessary work can be blamed on the "Not Made Here" mentality, so let's not subscribe to that mentality.

On the server side I will be utilising the Zend Framework 0.20 (released 31 October 2006). On the client side, AJAX and Javascript processing will be simplified by using the Prototype library. Should any visual effects be required, I will use Scriptaculous. Proponents of alternate solutions like jQuery, Dojo or any number of others can apply the same principles using their preferred libraries as they wish.

This chat application tutorial focuses on blending the Zend Framework (PHP5), Javascript and Prototype libraries in order to create a simple elegant solution. The code is liberally licensed under the New BSD License to the extent it's original and readers are free to modify (and mangle) the code under that license as they see fit. Formalities aside, let's dig in!

The Zend Framework

The Zend Framework has quickly established itself as one of my favourite libraries in PHP. Personally I dislike large frameworks which establish an edificial structure you're forced to adhere to. The Zend Framework however is packaged as a library of mostly independent classes which is simple to adapt and mix with my personal library of code.

Dolphin Web community Software combining AJAX elements

With Dolphin community software you may literally build your site any way you want. Unique drag & drop interface allows you to build pages using available modules as blocks, positioning them any way you want and using only those you need. Just create your site, choose your languages, create membership types, set prices (if need be) and your site is ready to go! Just a few of the many features include: personal blogs, moderators, drag&drop index compose, media gallery, multiple payment providers, rate photos (hot or not), rate profiles, and so much more.
 

Shark Dating Business Software with PHP+AJAX features

Shark Dating Business Software is a powerful script, combining PHP+AJAX features, stable C engine, scheduled backups, modular architecture.
Media gallery functionality is based on drag-and-drop technology, which helps users find their way around gallery. The same feature empowers photos management in profiles. Users features include ability of site members to easily navigate through user panel, get quickly registered, use rights of gold, silver, bronze or any other type administrator creates membership, place pictures in Photo Gallery, add feedback.

Syndicate content