Linux SoftwareProgrammingLibrariesJifty::Client 0.60912

Jifty::Client 0.60912


Jifty::Client is a subclass of WWW::Mechanize with extra Jifty features. This module is a base for building robots to interact wit
Developer:   Jifty::Client Team
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   520K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Jifty::Client is a subclass of WWW::Mechanize with extra Jifty features.

This module is a base for building robots to interact with Jifty applications. It currently contains much overlapping code with Jifty::Test::WWW::Mechanize, except that it does not inherit from Test::WWW::Mechanize.

Expect this code to be refactored in the near future.

METHODS

new

Overrides WWW::Mechanize's new to automatically give the bot a cookie jar.

moniker_for ACTION, FIELD1 => VALUE1, FIELD2 => VALUE2

Finds the moniker of the first action of type ACTION whose "constructor" field FIELD1 is VALUE1, and so on.

fill_in_action MONIKER, FIELD1 => VALUE1, FIELD2 => VALUE2, ...

Finds the fields on the current page with the names FIELD1, FIELD2, etc in the MONIKER action, and fills them in. Returns the HTML::Form object of the form that the action is in, or undef if it can't find all the fields.

action_form MONIKER [ARGUMENTNAMES]

Returns the form (as an HTML::Form object) corresponding to the given moniker (which also contains inputs for the given argumentnames), and also selects it as the current form. Returns undef if it can't be found.

action_field_value MONIKER, FIELD

Finds the fields on the current page with the names FIELD in the action MONIKER, and returns its value, or undef if it can't be found.

send_action CLASS ARGUMENT => VALUE, [ ... ]

Sends a request to the server via the webservices API, and returns the Jifty::Result of the action. CLASS specifies the class of the action, and all parameters thereafter supply argument keys and values.

The URI of the page is unchanged after this; this is accomplished by using the "back button" after making the webservice request.

fragment_request PATH ARGUMENT => VALUE, [ ... ]

Makes a request for the fragment at PATH, using the webservices API, and returns the string of the result.

field_error_text MONIKER, FIELD

Finds the error span on the current page for the name FIELD in the action MONIKER, and returns the text (tags stripped) from it. (If the field can't be found.

uri

WWW::Mechanize has a bug where it returns the wrong value for uri after redirect. This fixes that. See http://rt.cpan.org/NoAuth/Bug.html?id=9059

session

Returns the server-side Jifty::Web::Session object associated with this Mechanize object.

continuation [ID]

Returns the current continuation of the Mechanize object, if any. Or, given an ID, returns the continuation with that ID.

current_user

Returns the Jifty::CurrentUser object or descendant, if any.

Requirements:
  • Perl
    tags returns the  the current  www mechanize  the action  finds the  and returns  for the  action moniker  current page  the fields  using the  the jifty  field finds  

    Download Jifty::Client 0.60912


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/J/JE/JESSE/Jifty-0.60912.tar.gz


    Authors software

    Jifty::Client 0.60912 (by Jifty::Client Team)
    Jifty::Client is a subclass of WWW::Mechanize with extra Jifty features.

    This module is a base for building robots to interact wit


    Similar software

    Jifty::Client 0.60912 (by Jifty::Client Team)
    Jifty::Client is a subclass of WWW::Mechanize with extra Jifty features.

    This module is a base for building robots to interact wit

    Jifty::Request 0.60912 (by Infinity Interactive, Inc.)
    Jifty::Request is a canonical internal representation of an incoming Jifty request.

    This document discusses the ins and outs of ge

    WWW::Mechanize 1.18 (by Andy Lester)
    WWW::Mechanize is a handy web browsing in a Perl object.

    SYNOPSIS

    WWW::Mechanize, or Mech for short, helps you automate interac

    Jifty::Manual::Tutorial 0.60912 (by Jifty::Manual::Tutorial Team)
    Jifty::Manual::Tutorial is a Perl module for Zero to Jifty in a Jiffy.

    This tutorial should give you everything you need to build

    Object::Declare 0.13 (by Audrey Tang)
    Object::Declare is a Perl module for declarative object constructor.

    SYNOPSIS

    use Object::Declare ['MyApp::Column', 'MyApp:

    SOAP::Data::ComplexType 0.041 (by Eric Rybski)
    SOAP::Data::ComplexType is an abstract class for creating and handling complex SOAP::Data objects.

    SYNOPSIS

    package My:

    MP3::Tag::CDDB_File 0.9708 (by Thomas)
    MP3::Tag::CDDB_File is a Perl module for parsing CDDB files.

    SYNOPSIS

    my $db = MP3::Tag::CDDB_File->new($filename, $track); #

    Rose::HTML::Form 0.53 (by John C. Siracusa)
    Rose::HTML::Form is a HTML form base class.

    SYNOPSIS

    package PersonForm;

    use Rose::HTML::Form;
    our @ISA = qw(Rose::HT

    Jifty::Script::Help 0.60912 (by Best Practical Solutions, LLC.)
    Jifty::Script::Help is a Perl module to show help.

    OPTIONS

    Optionally help can pipe through a pager, to make it easier to read

    Pluto Request Action Library 2.0.0.36 (by Pluto Inc.)
    Pluto Request Action Library allows you to create a client/server application, where client sends requests, server replies with respo


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags