Sponsored Content
Special Forums News, Links, Events and Announcements Software Releases - RSS News Mnemosyne Project 1.1.1 (Default branch) Post 302228259 by Linux Bot on Saturday 23rd of August 2008 05:40:14 PM
Old 08-23-2008
Mnemosyne Project 1.1.1 (Default branch)

Image The Mnemosyne software resembles a traditional flash card program to help you memorize question/answer pairs, but with an important twist: it uses a sophisticated algorithm to schedule the best time for a card to come up for review. Difficult cards that you tend to forget quickly will be scheduled more often, while Mnemosyne won't waste your time on things you remember well. License: GNU General Public License (GPL) Changes:
The "learn new cards in random order" problem for imported cards was fixed. Detection of relative paths under Windows was fixed. The Czech and Japanese translations were updated.Image

More...
 
Mojolicious::Plugin::DefaultHelpers(3pm)		User Contributed Perl Documentation		  Mojolicious::Plugin::DefaultHelpers(3pm)

NAME
Mojolicious::Plugin::DefaultHelpers - Default helpers plugin SYNOPSIS
# Mojolicious $self->plugin('DefaultHelpers'); # Mojolicious::Lite plugin 'DefaultHelpers'; DESCRIPTION
Mojolicious::Plugin::DefaultHelpers is a collection of renderer helpers for Mojolicious. This is a core plugin, that means it is always enabled and its code a good example for learning to build new plugins, you're welcome to fork it. HELPERS
Mojolicious::Plugin::DefaultHelpers implements the following helpers. "app" %= app->secret Alias for "app" in Mojolicious::Controller. "config" %= config 'something' Alias for "config" in Mojo. "content" %= content foo => begin test % end %= content 'foo' %= content Store content and retrieve it. "content_for" % content_for foo => begin test % end %= content_for 'foo' Append content to named buffer and retrieve it. % content_for message => begin Hello % end % content_for message => begin world! % end %= content_for 'message' "current_route" % if (current_route 'login') { Welcome to Mojolicious! % } %= current_route Check or get name of current route. "dumper" %= dumper {some => 'data'} Dump a Perl data structure using Data::Dumper. "extends" % extends 'blue'; % extends 'blue', title => 'Blue!'; Extend a template, all arguments get merged into the stash. "flash" %= flash 'foo' Alias for "flash" in Mojolicious::Controller. "include" %= include 'menubar' %= include 'menubar', format => 'txt' Include a partial template, all arguments get localized automatically and are only available in the partial template. "layout" % layout 'green'; % layout 'green', title => 'Green!'; Render this template with a layout, all arguments get merged into the stash. "memorize" %= memorize begin %= time % end %= memorize {expires => time + 1} => begin %= time % end %= memorize foo => begin %= time % end %= memorize foo => {expires => time + 1} => begin %= time % end Memorize block result in memory and prevent future execution. "param" %= param 'foo' Alias for "param" in Mojolicious::Controller. "session" %= session 'foo' Alias for "session" in Mojolicious::Controller. "stash" %= stash 'foo' % stash foo => 'bar'; Alias for "stash" in Mojolicious::Controller. "title" % title 'Welcome!'; % title 'Welcome!', foo => 'bar'; %= title Page title, all arguments get merged into the stash. "url_for" %= url_for 'named', controller => 'bar', action => 'baz' Alias for "url_for" in Mojolicious::Controller. "url_with" %= url_with 'named', controller => 'bar', action => 'baz' Does the same as "url_for", but inherits query parameters from the current request. %= url_with->query([page => 2]) METHODS
Mojolicious::Plugin::DefaultHelpers inherits all methods from Mojolicious::Plugin and implements the following new ones. "register" $plugin->register($app); Register helpers in Mojolicious application. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojolicious::Plugin::DefaultHelpers(3pm)
All times are GMT -4. The time now is 03:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy