Software Index
Linux Software Programming  

Array::Window

download download home home   report broken
important software information
company name:
Adam Kennedy
license: Freeware
minimum requirements:
functional limitations:
Array::Window description
Many applications require that a large set of results be broken down into a smaller set of 'windows', or 'pages' in web language. Array::Window is a Perl module that implements an algorithm specifically for dealing with these windows. It is very flexible and permissive, making adjustments to the window as needed.

Note that this is NOT under Math:: for a reason. It doesn't implement in a pure fashion, it handles idiosyncracies and corner cases specifically relating to the presentation of data.

SYNOPSIS

# Your search routine returns an reference to an array
# of sorted results of unknown quantity.
my $results = SomeSearch->find( 'blah' );

# We want to display 20 results at a time
my $window = Array::Window->new(
source => $results,
window_start => 0,
window_length => 20,
);

# Do we need to split into pages at all?
my $show_pages = $window->required;

# Extract the subset from the array
my $subset = $window->extract( $results );

# Are there 'first', 'last', 'next' or 'previous' windows?
my $first = $window->first;
my $last = $window->last;
my $next = $window->next;
my $previous = $window->previous;. . Adam Kennedy
Similar software
Tie::Array::QueueExpire for Linux (Popularity: ) : Tie::Array::QueueExpire is a Perl module that requires Time::HiRes, TokyoCabinet (database and perl module.) The insertion is ms unique ( 0.001 seconds ).

The normal ARRAY function present are

push
pop
shift
exits
scalar
clear
unshift (but put data 1 second ...

#Calculation Component (Popularity: ) : #Calculation component is a powerful calculation engine for your applications. This ActiveX component integrates expression parsing and evaluation. Generally speaking, #Calculation is very useful in two main areas: first, when a formula has to be defined and evaluated at runtime ...
zfuncs (Popularity: ) : The zfuncs package contains various utility programs that were used in building the other applications on the kornelix.squarespace.com website. These programs are also included with the other applications. This package includes documentation that will make it easier to use these ...
Tie::Queuefor Linux (Popularity: ) : Tie an ARRAY over a TokyTyrant DB and allow to push, pop shift data.

Tie::Queue requires TokyoTyrant (database and Perl module.) If the serialisation is required, the module Data::Serilizer is also required

The normal ARRAY function present are

push
pop
...

Data::LineBuffer for Linux (Popularity: ) : Data::LineBuffer is a Perl module that provides a very rudimentary input push back facility. It provides a layer between the input source and the calling routine which allows data to be pushed back onto the input source for retrieval, as ...
MYTUI (Popularity: ) : MYTUI is a TUI widget library based on curses. It is written in C and provides many ready-to-use widgets for rapid application development of text user interfaces. It is mainly delivered to develop UNIX-based applications. Basically a curses or ncurses ...
VideoCap Pro Video OCX ActiveX (Popularity: ) : Capture Video from capture card, tv tuner, dv cam, dvd player to AVI or WMV 9, WMV8 file format.
Draw overlay bitmap on live video or save to video file. User define transparent color, alpha value.
Draw overlay time stamp ...

xpyb for Linux (Popularity: ) : The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility.

The xpyb package offers Python binding to the X Window System protocol via libxcb.. ...

EditiX 2009 for Linux (Small Business License) (Popularity: ) : A powerful and easy to use XML editor and XSLT debugger for Windows, Linux, and Mac OS X designed to help web authors and application programmers take advantage of the latest XML and XML-related technologies such as XSLT / FO, ...
Attribute::Handlers (Popularity: ) : The Attribute::Handlers Perl module, when inherited by a package, allows that package's class to define attribute handler subroutines for specific attributes. Variables and subroutines subsequently defined in that package, or in packages derived from that package may be given attributes ...
Astaro Security Linux (Popularity: ) : Astaro Security Linux is an award-winning, unique network security solution in an integrated and easy-to-use and manage package. Astaro Security Linux includes a combination of the following security applications:

- A Firewall with stateful packet inspection and application proxies guards Internet ...

aseqmm (Popularity: ) : aseqmm is a C++ wrapper around the ALSA library sequencer interface using Qt4 idioms, objects and style. The ALSA sequencer provides software support for MIDI technology on Linux.

Basic build commands:

cd aseqmm-x.x.x

cmake .

(or ccmake .)
(or cmake . -options, see below...)
(for simple ...

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar scripts
Antenna's Array Synthesis (Popularity: ) : This is an old program (1.999) that I have written for understanding radiation patterns of antennas. Basically I was looking for the relationship between interference diagram (Fourier transform of ilumination, usually called Array Factor) and 3D radiation pattern of the ...
Generate Arrays (Popularity: ) : Two simple functions to convert a Matlab array in a set of instructions for LaTeX or C. The functions generate a string that can be printed in the Matlab command window and the copied and pasted into your code.
Label connected components in 2-D array (Popularity: ) : LABEL is a generalization of BWLABEL: BWLABEL works with 2-D binary images only, whereas LABEL works with 2-D arrays of any class. L = LABEL(I,N) returns a matrix L, of the same size as I, containing labels for the connected ...
Add/Remove lists (select lists) (Popularity: ) : ADDREMOVELIST creates a GUI which contains two main listboxes, one on the left and one on the right. With the usage of two buttons (Add/Remove) the user can select items from the list on the left and transfer them to ...
Growyn Search (Popularity: ) : Growyn Search allows you to add a widget with a growyn searchbox on your site. You can also get the searchbox by calling the growyn_search() function. (See installation or the Growyn Search plugin homepage.) You can easily choose if the ...
Inner Window (Popularity: ) : Inner Window, can be added to your site to add content in an attractive manner. Window can be dragged around, minimized, maximized, or closed. Scrolling speed and "lag" can be changed very easily.
Moving DHTML pop up window Javascript (Popularity: ) : Animated pop up scripts are very popular with site owners. They offer you the option of displaying ads or alerts to your visitors and can be quite useful. This Javascript will launch an animated pop up window. This DHTML window ...
DHTML Window widget (Popularity: ) : This is a robust DHTML Window widget that replicates the look and functionality of a traditional pop-up window, minus the intrusiveness. Drag or resize the window widget on the page, minimize or close it, load a new page into it, ...
Window Docking System (Popularity: ) : This code consists of three files, two are a header file and source file for the window docking system and the third is a simple program that demonstrates the use of the window docking system.The window docking system allows any ...
Window Maximizer (Popularity: ) : Window Maximizer automatically maximizes any window where the code is placed.
Rate me
supported os's
stats
downloads 4
version 1.02
size in Kb 31
popularity   
750/1272475
user rating 0/10
our rating 0 Stars
share info
Recommend Array::Window
Report spyware
New Software
Popular Software
Latest Reviews