He ended up with IWL which is, in Viktors words:
basically a graphical toolkit, or widget library, much like Gtk+ or the ETK library for enlightenment. The main goal of this library is to create a full blown RIA, without the need to write html in your code. When I started working on it roughly a year and a half ago, there was nothing similar existed for Perl. By using the library where I work, it has so far mostly achieved its main objective (and has also proven to be an excellent subject for my diploma thesis :))
If you are a Perl developer who prefers writing apps in a toolkit style like below, then IWL may be fore you:
PLAIN TEXT
PERL:
1.
2.
use IWL;
3.
4.
# create the main container, and a few widgets
5.
my $page = IWL::Page->new;
6.
my $frame = IWL::Frame->new;
7.
my $iconbox = IWL::Iconbox->new
8.
(width => 800px, height => 600px);
9.
my $button = IWL::Button->newFromStock
10.
(IWL_STOCK_CANCEL);
11.
my %some_icon_info = ("foo.jpg" => foo, "bar.png" => ar);
12.
13.
# Setting up the icons and adding them to the iconbox
14.
foreach (keys %some_icon_info) {
15.
my $icon = IWL::Iconbox::Icon->new;
16.
$icon->setImage($_);
17.
$icon->setText($some_icon_info{$_});
18.
$icon->setDimensions(64px, 64px);
19.
$icon->setSelected(1) if $_ == isomething;
20.
$iconbox->appendIcon($icon);
21.
}
22.
23.
$page->appendMetaEquiv("Cache-control" => "no-cache");
24.
$frame->setLabel("Frame label");
25.
# Adding the children to their parents
26.
$frame->appendChild($iconbox);
27.
$frame->appendChild($button);
28.
$page->appendChild($frame);
29.
30.
# Finally printing the page
31.
$page->print;
32.
source: ajaxian
Related Stuff
-
MooV: Using cutting edge Video phones and Software Video Phones - coupling all that with VoIP and empowering the disabled.
-
Moo Telecom: VoIP communications made easy - Ring anyway with the fun and ease of using a normal phone
-
TagR:Mobile Social Network with Real Time Locations Based services, and Ambience Intelligence, VoiP, IM, Skype, Googletalk, Mapping, Flickr, Events, Calendaring, Scheduling, SecondLife Support
-
ClearSMS : ClearSMS is a Web-based application that lets you send bulk SMS messages to your customers, contacts, or just about anyone.
-
Jajah:jah is a VoIP (Voice over IP) provider, founded by Austrians Roman Scharf and Daniel Mattes in 2005[1]. The Jajah headquarters are located in Mountain View, CA, USA, and Luxembourg. Jajah maintains a development centre in Israel.
-
Skype: It’s free to download and free to call other people on Skype. Skype the number one voice over ip software
- PrivatePhone: a free local phone number with voicemail and messages you can check online or from any phone.
Be the first ... |Add your comment.
Your Comment ...
Name (required)
Email (required, hidden)
Website
