This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Do I use Javascript or Flash? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Do I use Javascript or Flash?" Watch "Do I use Javascript or Flash?" New topic
Author

Do I use Javascript or Flash?

Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Hi guys,

I have 2 questions, first off, is there a good editor for JavaScript? I currently arenn't using any - but I'm looking to build something a little more complex so obviously it would come in handy.

I'm looking to build a tool, embeded in my webpage that will allow me to 'paint' (write a signiture) or write text in a designated area, I need to give my users differnt colours to use - so like a MS 'paint' utility allowing them to write their signiture. I also want to add further functionality later such as different types of brush strokes, pencil strokes etc.. maybe even throwing on a dollop of paint.

My dilemna is should I use JavaScript or Flash?? Iknow a little Javascript carry out very basic functions and know zero Flash.

Could people from the community give input on their thoughts and experineces, if someone knows anything open source that I can use please feel free to post links etc.

Thanks in advance
Regards
Zein
Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Sorry, adding to the above, I want to be able to save the 'signiture' as described above on my server as well.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Look into this: http://developer.yahoo.com/yui/editor/
Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Thank you for your response Eric, thats a great piece of software.

But still not exactly 100% what I'm looking for, see thats more like a word processor, whereas i'm looking for something more along the lines of a 'paint' prgram, that would allow me to change the background, 'paint' a signiture.
Thanks for the link anyway, I think its a very nice piece of software.

Regards
Zein
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1175
Please have a look at http://www.ektron.com/ewebeditpro.aspx. Ektron's eWebEditPro uses JavaScript. I doubt you can accomplish your task with Flash, which is more for presentation of content than editing content.

-- Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Hi guys,

Dan, thanks for your advice above.

See for me that really seems to be too structed, as in you can have boxes/text columns etc, I dont really need that functionality, what I need is something more 'free hand', as I said before to write a signiture/draw. So a MS Paint like program, which is web-based would be more useful.

Any ideas? I could try to build my own, but I'm unsure if I should use

JavaScript/flash. Any pointers?
Thanks for your help
Regards
Zein
 
 
subject: Do I use Javascript or Flash?