Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.546.385 Times

Posy::Docs::ProgrammerGuide 0.99

  Date Added: February 12, 2010  |  Visits: 505

Posy::Docs::ProgrammerGuide

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)



Posy::Docs::ProgrammerGuide is a guide for programmers of Posy. How Posy Works Posy has two modules which drive the whole thing: Posy and Posy::Core. Posy has been set up so that, when you give it a list of plugin modules to use, it imports them as children of each other, so that each one overrides the methods of the previous one, and/or adds new methods of its own. (see "import" in Posy for more details). What this boils down to is that, if you want to change Posys behaviour, you can (a) write methods which override existing methods, simply by writing a method with the same name, and (b) add additional functionality to Posy by writing new methods, especially new Action methods. Action methods? Okay, back to how Posy works. Posy first sets up all the Plugins with its "import" method, and then it calls its "run" method, which (a) creates a new Posy object, (b) calls "init" on the object, (c) calls "do_actions" on the object. The "do_actions" method in turn calls all the actions in the passed-in "actions" array, which should include the "do_entry_actions" method, which in turn calls all the actions in the passed-in "entry_actions" array. The entry actions are called once per entry; the "flow" actions are called once per run. Flow actions? Well, I had to have a name for them. They flow on, one after another. Posy doesnt always manipulate the Posy object itself when building up the final web page -- it manipulates the "flow-state" hash, which is passed to every flow-action. Until finally the "render_page" action takes all the separate parts of the page which have been built up (head, page_body and foot) and pastes them together and outputs them (to either a file or STDOUT). Entry actions? Entry actions are applied to each entry. One of the early flow-actions, "select_entries", picks the list of entries which are going to be in the final page, either one (for an "entry" page) or many (for a "category" or "chrono" page). Entry actions not only deal with the "flow_state" hash, but they have two other hashes that they manipulate, the "current_entry" hash, and the "entry_state" hash. The current_entry hash contains (as one would expect) information about the current entry, such as the raw content of the entry ($current_entry->{raw}) and the processed content of the entry (such as $current_entry->{body}, $current_entry->{title}) and so on. What the entry actions do is build up the "page_body" part of the page (the flow actions deal with the head and the foot). Though, actually, "head_render" and "foot_render" could be considered dual-purpose actions. Dual-purpose actions? There are some actions which can be called as either "flow" actions or "entry" actions, and change their behaviour according to whether they are called as one or the other. See "head_render" in Posy::Core for an example. They arent common, but can be useful in certain circumstances..

Requirements: No special requirements
Platforms: Linux
Keyword: Actions Entry Libraries Methods One Page Posy Posydocsprogrammerguide Programmerguide Programming
Users rating: 0/10

License: Freeware Size: 71.68 KB
USER REVIEWS
More Reviews or Write Review


POSY::DOCS::PROGRAMMERGUIDE RELATED
Modules  -  One page profile 6.x-1.13
One page profile, when used with the core profile module, allows users to edit their entire profile on one page, as opposed to a separate page for each category.Features: * Supports ordering of profile categories on the edit user page * Integrated...
10 KB  
Java Based Databases  -  One Page Order Form RapidShop 4. 3. 2003
Quick and easy to use one page order form (shopping cart). Perfect solution for wholesale companies. Integrated with PayPal, GoogleCheckout. HTML + JavaScript based. Direct from MS Excel. Free version limited up to 2 categories and up to 10 products.
390 KB  
Modules  -  One Page Advance Search 1.0
This contribution allows the search results of the advance search page to be displayed on the same page using XMLHttp (so that no page refreshes occur) thus allowing a user to refine or redo a search without clicking back. The product info is also...
 
Business  -  5Min Business Plan 1.0
Create your personalised Business Plan in just 5 minutes on your mobile device. Create an unlimited number of business plans Key Features: - 90% Less Typing than traditional Business Planning methods - Your one page business plans will...
5.4 MB  
Business  -  OscMax 1 Page Checkout 1.0
This project is a one page checkout for OscMax (osCommerce branch). The current checkout procedure is about 5 pages, this code shortens it to the shopping cart review, shipping/billing/credit card info page, and the checkout confirmation page.
48.91 KB  
Business  -  RPN Turbo Calc 1.1.0.1
An RPN stack based Calculator and adding machine. It contains 8 landscape pages supporting : Annuities, Bonds, Cash Flow, Depreciation, Statistics, Probability and other Math - Trigonometry functions. One page supports user defined and NAMED...
1024 KB  
Network & Internet  -  AJAX Book Reader 1.00
AJAX Book Reader is a complete AJAX client-server application that may be used with a Web browser to display a sequence of text files one page at a time. The display style is completely controlled by a configuration file. The first application...
4.1 KB  
Project Management  -  ToDo_List_Template 5.0.2
A free simple To Do list template is provided in WORD, Excel and PDF formats. Instructions are included. The To Do List Template is easy to learn and use. A free one page action plan template is also provided to make identifying To Do's...
323.24 KB  
Application Add-Ins  -  10 Minute Work Plans 5.0.1
A simple one page template is provided in PDF form. Instructions are included on how to complete a work plan in less than 10 minutes. Examples of completed plans are provided. The Plan Template is easy to learn and use. The plan template is...
327.68 KB  
Libraries  -  Chilkat Class Libraries for Java 9.2.1
The full suite of Chilkat components & libraries are now available for the Java programming language. Commercially licensed components include: Email (POP3 / SMTP) IMAP Zip, GZip, and Unix Compress Encryption MIME and S/MIME FTP HTTP MHT...
 
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB