Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

edit-forms....or whatever they call them.....

Status
Not open for further replies.

tchatzi

Technical User
Dec 15, 2004
744
GR
Hello everyone,

Everybody knows these little edit forms on forums, the ones you go to post a new thread.

You know the ones where you type your text, you choose colors, fonts (from a list box), bold, italic, and you are also able to put some html tags, or custom tags.

I know, they make them with javascript (which i hate)....or php....(which is fine, but it is php...)

Does anyone knows how they call them?

I want to write one in perl, but if there is one already written,
i wouldn't bother writting one myself from the begining (i don't have that much spare time)....
unless there is no other way....

Thanks for your time...[peace]


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Well, obviously, if you're talking about one that has buttons and inserts the code for you, that's running client-side, so you only have a JavaScript option for that. Server side is just a simple question of parsing and reformating output.

I guess I'm not very sure about what you're asking. Here is a directory of (mostly commercial) versions of what you described. Looks like development has died, but there's the original HtmlEdit on Sourceforge, a JS implementation.

________________________________________
Andrew
 
Thanks icrf for the directory link, that is what i needed.
I wonder why nobody try to build one written in perl!


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
I'm not sure I understand how these things work, what would the perl code do? Generate the form and attach the javascript code? Sounds relatively simple.

Or are you talking about something completely local, like a Perl/Tk app? I recall some widgets existing for highlighting code that are probably extensible enough.

________________________________________
Andrew
 
I'm thinking of making on in perl and html.
No Javascript, not even one line.
I'm thinking mod_perl and Apache::ASP.
But i'm open to any sugestions, and any clues.


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Hi perluserpengo,

If you want to write this in Perl then Perl will need to be installed on each PC, each client, that runs it. Typically you can't rely on that as most ordinary users won't have Perl installed; that's why these things are written in Javascripts.

Mike

You cannot really appreciate Dilbert unless you've read it in the
original Klingon.

Want great answers to your Tek-Tips questions? Have a look at faq219-2884

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top