Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: How to make a friendly UI

by AgentM (Curate)
on May 03, 2001 at 05:56 UTC ( #77549=note: print w/replies, xml ) Need Help??

in reply to How to make a friendly UI

In order to use server side perl scripts, you need to have the form submitted. This can be automated with JavaScript, but....

The question is whether you really want to do this. Web developers tend to stay away from JavaScript for a number of reasons.

  • different browsers differ greatly in expected Jscript objects. This means that most likely, you will never have a fully cross-Jscript-capable interface. While EczemaScript has been a worthy attempt in perhaps the right direction, but even the world's most popular browser is skimpy on compatibility.
  • Many browsers do not support JavaScript or many users prefer to have it off- even if it's just to avoid annoying pop-up ads. I am one of this breed. I doubt that I'm alone.
  • JavaScript tends to be...well- annoying. One sees it alot sliding buttons or switching colors. This is all fine and well in the land of non-JScript-capable browsers, just as long the links are not of the JScript clicking variety. This is functionality which I believe is the correct domain of JScript- non-crucial tasks only. If I switch off JScript, I still can navigate the site perfectly fine.
Of course, you may argue that you're web app is used only in a limited pool of computers all of which support X, Y, and Z and will work great with whatever you cough up. That's nice, but as soon as the company Dilbert sees that he could work at home and he can't use your app because of JavaScript errors. OR the company wishes to move or sell or copy the app to a different circle of users, all of which have NO Jscript or use a different browser. Bad news and one that is actually easily avoidable...just use a recent version of HTML.

If you find that you your web application would be better represented using objects or states, then look into jellybean or CGI::Application, not to mention everything2 and a slur of proprietary web object servers.

If you're looking for TRUE interactivity, you're not looking for web-based apps. In that case, you'd be looking at actual GUI implementations which your customer may benefit from. Try Tk for a cross-platform solution. Web searches on any of these topics will get you off to a strong start. Good luck!

AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://77549]
[corenth]: i have a question. I used map{ blah();blah(); blah();}@stuff; and it used up a ton of memory vs. the for(@stuff){} equivalent. What gives? (if anyone knows)
[Cosmic37]: FANN also has LGPL license which I like and its supposed to be quite a capable library from what I read
[corenth]: Cosmic, that sounds interesting. What is FANN (I could search it if I weren't so lazy about it)?
[Cosmic37]: how big was @stuff corenth?
[Cosmic37]: Fast Artificial Neural Network (FANN) is cross-platform open source programming library for developing multilayer feedforward Artificial Neural Networks
[corenth]: @stuff was pretty big. I think it grew to about 8000.
[corenth]: each element was several three + element references
[corenth]: That FANN thing sounds like something I
[Cosmic37]: When I say I like LGPL what I mean is that I like the GPL aspect. I am a fan of Rishard Stallman and the Free Software Foundation but I wish I could be more virtuous... self-flagellates

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2018-02-20 18:17 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (274 votes). Check out past polls.