Sam Vilain > Tangram-2.10 > Tangram::Remote

Download:
Tangram-2.10.tar.gz

Annotate this POD

CPAN RT

New  3
Open  2
Stalled  5
View/Report Bugs
Source   Latest Release: Tangram-2.10_01

NAME ^

Tangram::Remote - represent persistent objects in client space

SYNOPSIS ^

   use Tangram;

   $remote = $storage->remote( $class );
   @remotes = $storage->remote( @classes );

   ... $remote->{$field} ...

DESCRIPTION ^

A Remote object is a client-side representation of an object that resides in a database. It has the same fields as a normal object of the same class - as declared in the Schema associated to the database the Remote was obtained from. The values of the fields are not normal Perl values, but Tangram::Exprs that will be evaluated on the database server side.

Remote objects are somewhat similar to SQL table aliases.

Note that there are no objects which are actually Tangram::Remote instances; the objects will be called Tangram::Expr::QueryObject et al.

syntax highlighting: