Re: Portable GUI Toolit
by Abigail-II (Bishop) on Sep 11, 2003 at 13:24 UTC
|
Probably the most wellknown GUI module for Perl is Tk.
But there's also a gtk interface, and there are a few
more. A search on CPAN should reveal them.
As for report generator tools, there's a lot already
buildin in Perl, like formats and print(f). For more
advanced stuff, it all depends what kind of reports you
want to create from which data in which format.
Search CPAN to see if there's something that's useful
for you.
Abigail | [reply] |
|
Although GTK+ is portable to a lot of platforms, and Perl is portable to a lot of platforms, the Perl-GTK+ interface doesn't work on Win32 (at least, that was the situation when I tried it ~6 months ago).
Tk or Wx are probably the best bets for portable GUIs under Perl.
---- I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
| [reply] |
|
I would like to offer multi-font reports with
possibility to place grafical objects, the
program should provide report preview and
has possibility easely change report templates
(at least for power users).
I think it could be some XML based report
generator...
-- Yuriy Syrota
| [reply] |
|
Perl, XHTML1.1, <insert favorite web server here>
Here's all the portable interface toolkit you need.
| [reply] |
Re: Portable GUI Toolit
by naChoZ (Curate) on Sep 11, 2003 at 13:56 UTC
|
| [reply] |
Re: Portable GUI Toolit
by jdtoronto (Prior) on Sep 11, 2003 at 15:28 UTC
|
The most portable are Perl/Tk and WxPerl - Tk is more mature - widely transportable ( I use on Win98, Win2k, WinXP, FreeBSD, Linux and I have a client using a Tk app of mine on HP/UX. )
WxPerl looks very nice, seems to be highly portabletually used it yet.
jdtoronto | [reply] |
Re: Portable GUI Toolit
by Albannach (Monsignor) on Sep 11, 2003 at 17:07 UTC
|
I think Prima is defintely work a look, though it is relatively new. It seems to have a lot of nice features including a nice GUI designer, and works with both Win32 and X at least.
For reports, you can get a lot of bang for your buck using HTML, unless pagination is a serious issue, and PDFs could also be an option. I still use format and write a lot, with some limited font manipulation by inserting printer control codes in the output stream. Yes I am a walking anachronism ;-)
Please see also (GUI) Windows Programming FAQ and your local Super Search as GUIs and report generation do get discussed here fairly often.
--
I'd like to be able to assign to an luser | [reply] |
Re: Portable GUI Toolit
by LordWeber (Monk) on Sep 11, 2003 at 15:04 UTC
|
| [reply] |
Re: Portable GUI Toolit
by kirbyk (Friar) on Sep 11, 2003 at 16:54 UTC
|
This isn't appropriate for all solutions, but for portability and good user interface, there's a lot to be said for making it a web app. Everyone already knows how to use a browser on their platform of choice, it's easy to display graphics, there's a refined toolkit of useful widgets, and it's a well understood space.
If all you're doing is displaying reports from, say, a database, it'd be hard to beat this approach.
-- Kirby | [reply] |
Re: Portable GUI Toolit
by adrianh (Chancellor) on Sep 11, 2003 at 14:53 UTC
|
| [reply] |
|
Sure,
I mean Linux, FreeBSD and Windows.
-- Yuriy Syrota
| [reply] |
Re: Portable GUI Toolit
by hannibal (Scribe) on Sep 12, 2003 at 04:40 UTC
|
gtk2-perl will run on Windows, and although there are no binaries available at the moment, there are plans to release some as soon as it hits 1.0 (very soon) | [reply] |
Re: Portable GUI Toolit
by richardX (Pilgrim) on Sep 11, 2003 at 21:35 UTC
|
If you want a totally flexible report generation tool, I would look at older tools like RPG and look at the script language syntax. You could write a RPG like psuedo language in Perl that would give you the same power.
Richard
There are three types of people in this world, those that can count and those that cannot. Anon | [reply] |
Re: Portable GUI Toolit
by ravish (Acolyte) on Sep 12, 2003 at 03:47 UTC
|
Hi,
I would suggest use PERL/QT module. It is portable and also gives lot of flexibility.
You can find this on search.cpan.org.
There is also QT designer interface is available
Thanks
| [reply] |
perlcc etc with gui?
by mattr (Curate) on Sep 12, 2003 at 13:56 UTC
|
Hi All,
I've been wondering about this for a while and always figured I'd hack at it instead of asking but..
Has anybody succeeded in using anything like perlcc or other tools to package an entire gui perl program (on windows at least) as a single exe file? I did see something that seemed to make a virtual file system inside the exe for your programs and would run a shell inside it, but I couldn't figure out if it was annoyware or not. | [reply] |
|
| [reply] |
|
Thank you mandog, that is some good info!
Matt
| [reply] |