
ShipOfFools
Novice
Nov 3, 2004, 3:36 PM
Post #3 of 4
(1228 views)
|
|
Re: [codeword] Large APP and Perl modules
[In reply to]
|
Can't Post
|
|
>I have fairly large perl \TK GUI application as Engine >which drives all other perl programs which uses number >of standard modules which gets installed through PPM. I've heard of, but never used this TK. As I understand it, and please correct me if I'm wrong, TK lets you create a GUI application with widgets that are used like those in an .exe program for your PC, right? >Now since this gets used by number of users, is it >necessary that each one should have perl installed >and each one should install all these modules on >individual PC. Is this a client/server or a single user app? Standard modules are installed with Perl. And yes, you will have to tell each user to install Perl on their machines. Any operating system will not load and execute source code. It has to be compiled/linked/translated to machine language. Are you trying to create a single-user application? You know, like those you use on your PC with a .exe extension? >Can I follow the approach that install perl at one >place on server with all need standard modules through >PPM and let individual user point PERL5LIB to this dir >on server? Don't expect someone's PC software to rely on a remote machine's software for it to execute. Not even if it's, for example, a service like the weather or a proprietry data service from a stockbroker or somewhere. Servers are for data requests. They are not for sending source code to. (Not yet anyway)! :) There are some very efficient web sites which rely entirely on Perl. It is not the most efficient way to do it, but there are certain advantages (ease/speed of development, input checking/cleansing, garbage collection, etc.). You should also think about how often the interpreter is being called. >Won't this approach make it more easy to maintain for >further updates.? I can understand some people calling Perl a "hacking" or "glue" language because that's how I use it. If I suddenly have an idea, I don't bother with the pseudocode that they teach at uni. I just write a quick Perl script with modules. Sometimes those scripts hang around for years before they're converted to something more appropriate. I think you should check out ACE (Adaptive Communications Environment) for your networking. It is platform independent, yes, you heard me right, awesomely platform independent. There are plenty of toolkits for executables. I use C++ with MFC and .NET for Windows and QT for NIX. If anyone thinks I'm wrong about Perl not being the right horse for this course, I would be grateful to hear from you. Dave
|