Tuesday, May 31st, 2005

Toolkit: Toxic for PHP

Category: Ajax, PHP, Toolkit

<>p>Danne Lundqvist has released the first version of hsi Ajax toolkit for rich clients. It is lightweight and features automatic form validation and fields can be bound to method calls. Currently there is only a PHP backend available.

Example

myUser.bindParams(‘save’, ‘User_id’, ‘User_login’, ‘User_firstname’,
‘User_lastname’, ‘User_email’, ‘User_group’, ‘User_age’);

myUser.execute(‘save’);

PHP piece

<?php
// The PHP code
class User {
  public function save($id, $login, $firstname, $lastname,
                       $email, $group, $age)
  {
    if ($id == null || $id == 0)
      {
          // Code to save user
          return $newUserId;
      }

    throw new Exception("Updating a user is not implemented");
  }
}?>

Read about the release

More info

Download

Related Content:

  • Ajax Learning Guide
    Chances are, you've been doing JavaScript and XML developer work in Lotus Domino for quite some time. This old/new approach is causing quite a stir in...
  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...

Posted by Dion Almaer at 11:43 am
1 Comment

+++--
3.9 rating from 25 votes

1 Comment »

Comments feed

[...] Ajaxian 2005 MayComing from a world such as Java, developers sometimes wish they had rich threading constructs. The f(m) project has gone ahead and implemented a threading construct / library for you to use. [...]

Pingback by Non Surgical Facial Rejuvenation » Blog Archive » “cosmetic acupuncture” - HyperThreading — June 11, 2006

Leave a comment

You must be logged in to post a comment.