Ajax + PHP

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.

Barracuda Traffic Development Software combining PHP+AJAX technologies

Barracuda Links Directory combines the power of PHP+AJAX technologies, visual aesthetics of modern design and strong community support. You can create a powerful links directory like Yahoo or DMOZ with tons of modern AJAX-based features.

krit20's picture

How to Calculate Age from Date of Birth

Yu Might have face the problem to calculate your date of birth in terms of year , days , month hrs, mins , sec via php . every one now issue.

when i started my career i spent more then 2 days for this script then after i made this script and after 4 years of work i am still using this script coz it was my 1st most worst time taking script for which my team leader shouted .

 well dont worry script could be more easy if u can use 2% your Greate Brain...

AJAX-enabled Smarty plugins Part 2: ajax_form

In my previous post I’ve described several simple AJAX plugins. Now I’ll show how to use one of them — ajax_form — in real applications. I think this is the most powerful plugin therefor I’ll dwell on it more elaborately.

Most of Web-forms has variuos validation mechanisms. Simplest way is to process form on the server and parse result on client, where return data can be in following format:

true;User was registered successfully;http://example.com/login/ false;
Please enter your name;Entered passwords doesn't match

Result string can be splitted on client and results can be shown in some part of page. Process function may looks like following (it’s part of smarty_ajax):

AJAX-enabled Smarty plugins

Today I’ve created simple AJAX-enabled plugins for Smarty. I don’t try to develop powerful reach-applications framework. I can give you only idea how to integrate AJAX-technology into Smarty. But if you have any offers how to improve anything I’ve described or if you just want to leave feedback please post you comments on my site.

In my practice I need several things from AJAX: to update some nodes in DOM, to send forms without post-back, to retrieve some values or to perform server-side calculation (maybe using database or other server-side resources). It’s necessary to write tons of JavaScript to implement my requirements in spite of using cool JavaScript library Prototype.

Syndicate content