473,385 Members | 1,487 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

I've created a small online app to draw diagrams in ASCII...

Yes, I know, this is sort of commercial.. but how else to get people
to, what I think, is a handy online applicaton?

I created this app because I hate do document :) (Don't we all?)
Sometimes I wanted to make a small diagram to depict what a piece of
PHP-code does, a database relationship diagram, or, wel... But to do
that in ASCII is hard, and not very much fun to do! So, I created this
online app that allows you to draw simple diagrams in ASCII-chars
only, so that you can save them in your comments in code. (You can
also save them in Google Docs, or, well, where ever you want!).

I showed it to some friends of mine; they like it. I needed a way to
get it known to more people.. so, there we go:

http://www.asciidrawer.com

Thats it.... Please don't shout at me for posting it here, but let me
know if you like it?

greetings,
Paul

Jun 5 '07 #1
12 2069
On Jun 5, 2:55 pm, "pwieg...@gmail.com" <pwieg...@gmail.comwrote:
Yes, I know, this is sort of commercial.. but how else to get people
to, what I think, is a handy online applicaton?

I created this app because I hate do document :) (Don't we all?)
Sometimes I wanted to make a small diagram to depict what a piece of
PHP-code does, a database relationship diagram, or, wel... But to do
that in ASCII is hard, and not very much fun to do! So, I created this
online app that allows you to draw simple diagrams in ASCII-chars
only, so that you can save them in your comments in code. (You can
also save them in Google Docs, or, well, where ever you want!).

I showed it to some friends of mine; they like it. I needed a way to
get it known to more people.. so, there we go:

http://www.asciidrawer.com

Thats it.... Please don't shout at me for posting it here, but let me
know if you like it?

greetings,
Paul
It would be nice to be able to move the cursor by clicking. Do you
mean this is to make flow charts?

-Mike PII

Jun 5 '07 #2
On Jun 6, 1:54 am, Mike P2 <sumguyovrt...@gmail.comwrote:
On Jun 5, 2:55 pm, "pwieg...@gmail.com" <pwieg...@gmail.comwrote:
Yes, I know, this is sort of commercial.. but how else to get people
to, what I think, is a handy online applicaton?
I created this app because I hate do document :) (Don't we all?)
Sometimes I wanted to make a small diagram to depict what a piece of
PHP-code does, a database relationship diagram, or, wel... But to do
that in ASCII is hard, and not very much fun to do! So, I created this
online app that allows you to draw simple diagrams in ASCII-chars
only, so that you can save them in your comments in code. (You can
also save them in Google Docs, or, well, where ever you want!).
I showed it to some friends of mine; they like it. I needed a way to
get it known to more people.. so, there we go:
http://www.asciidrawer.com
Thats it.... Please don't shout at me for posting it here, but let me
know if you like it?
greetings,
Paul

It would be nice to be able to move the cursor by clicking. Do you
mean this is to make flow charts?
Well, that is one of those idea's I was looking for! I will try and
implement it...

Yes, it is meant to draw small charts, and, for instance databaase
relationship diagrams.
I've even used it myself to draw a design of a screen and share it on
Google Docs.
I use it myself all the time :)

Do you think it could be usefull?

thanks for taking the time to answer!

Paul

Jun 6 '07 #3
pw******@gmail.com wrote:
Yes, I know, this is sort of commercial.. but how else to get people
to, what I think, is a handy online applicaton?

I created this app because I hate do document :) (Don't we all?)
Sometimes I wanted to make a small diagram to depict what a piece of
PHP-code does, a database relationship diagram, or, wel... But to do
that in ASCII is hard, and not very much fun to do! So, I created this
online app that allows you to draw simple diagrams in ASCII-chars
only, so that you can save them in your comments in code. (You can
also save them in Google Docs, or, well, where ever you want!).

I showed it to some friends of mine; they like it. I needed a way to
get it known to more people.. so, there we go:

http://www.asciidrawer.com

Thats it.... Please don't shout at me for posting it here, but let me
know if you like it?
I definitely think you need to button up your JavaScript.

It didn't work for me in Firefox 1.5.0.11, Internet Explorer 6, or Opera
9.10.

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Jun 6 '07 #4
>
It would be nice to be able to move the cursor by clicking. Do you
mean this is to make flow charts?
I've just implemented this idea! You can now click on the screen, and
the cursor will go there... thanks for this great idea!

Paul

Jun 6 '07 #5
On 6 jun, 08:08, -Lost <maventheextrawo...@techie.comwrote:
pwieg...@gmail.com wrote:
Yes, I know, this is sort of commercial.. but how else to get people
to, what I think, is a handy online applicaton?
I created this app because I hate do document :) (Don't we all?)
Sometimes I wanted to make a small diagram to depict what a piece of
PHP-code does, a database relationship diagram, or, wel... But to do
that in ASCII is hard, and not very much fun to do! So, I created this
online app that allows you to draw simple diagrams in ASCII-chars
only, so that you can save them in your comments in code. (You can
also save them in Google Docs, or, well, where ever you want!).
I showed it to some friends of mine; they like it. I needed a way to
get it known to more people.. so, there we go:
>
I definitely think you need to button up your JavaScript.

It didn't work for me in Firefox 1.5.0.11, Internet Explorer 6, or Opera
9.10.
I knew about Opera, but it works for my in IE 6 (6.2800.1106), and FF
1.5 :-(((
(Note: on a slow computer, it might take 5 seconds or so to build the
screen...)
Can you tell me what happens? Do you get an JS-error?

thanks for the feedback!

Paul
Jun 6 '07 #6
Hi Paul,

Great tool. What a way to efficiently document an application.

Greeetz

Jun 6 '07 #7
Some more things:

-vertical bar color needs to change back on backspace as it does when
navigating with arrows

-would be nice if it would use the symbol instead of the number when
holding shift and pressing a number key to the left of backspace (on
US keyboards I mean). probably would also be nice to add localization
for other countries' standard keyboards, a lot of work...

-alt+[number combination] support to directly enter ASCII values would
be cool (like String.fromCharCode() does)

-home and end keys put into practice

By the way, your draw mode is fun...it's like like etch-a-sketch

-Mike PII

Jun 6 '07 #8

Hi Mike,
-vertical bar color needs to change back on backspace as it does when
navigating with arrows
This was supposed to happen.. Definitely a bug!
-would be nice if it would use the symbol instead of the number when
holding shift and pressing a number key to the left of backspace (on
US keyboards I mean). probably would also be nice to add localization
for other countries' standard keyboards, a lot of work...
Teah, keyboardhandling sucks in JS. I'm thinking about starting a
little OSS side-project to try and solve this. Stopping events from
propagating for instance is a drag, esp. in IE. This needs solving on
a larger bases than just this little programm....
-alt+[number combination] support to directly enter ASCII values would
be cool (like String.fromCharCode() does)
I'm gonna try that :-)
-home and end keys put into practice
Good idea, this can be done easily....
By the way, your draw mode is fun...it's like like etch-a-sketch
Thank you! Your constructive criticism is helping me improve greatly!

Paul

Jun 7 '07 #9
pw******@gmail.com wrote:
On 6 jun, 08:08, -Lost <maventheextrawo...@techie.comwrote:
>pwieg...@gmail.com wrote:
>>Yes, I know, this is sort of commercial.. but how else to get people
to, what I think, is a handy online applicaton?
I created this app because I hate do document :) (Don't we all?)
Sometimes I wanted to make a small diagram to depict what a piece of
PHP-code does, a database relationship diagram, or, wel... But to do
that in ASCII is hard, and not very much fun to do! So, I created this
online app that allows you to draw simple diagrams in ASCII-chars
only, so that you can save them in your comments in code. (You can
also save them in Google Docs, or, well, where ever you want!).
I showed it to some friends of mine; they like it. I needed a way to
get it known to more people.. so, there we go:
>I definitely think you need to button up your JavaScript.

It didn't work for me in Firefox 1.5.0.11, Internet Explorer 6, or Opera
9.10.

I knew about Opera, but it works for my in IE 6 (6.2800.1106), and FF
1.5 :-(((
(Note: on a slow computer, it might take 5 seconds or so to build the
screen...)
Then that should tell you something right there.
Can you tell me what happens? Do you get an JS-error?
Sure I can.

I see aa[x], and aa[fa] has no properties.

Or aa[] is null or not an object.

If I remember correctly [x] is dealing with your ROW and COLUMN
inserting/removing. The [fa] problem occurred when I hit the line
button and the delete everything button.

If I click one of the delete methods before doing *anything* it gives me
a single line running through the vertical center with *78*
(seventy-eight!) "undefined"s.

I noticed today, after having the page loaded in my browser forever. I
actually forgot about it whilst I tried to read your attempt at
obfuscated code. Or was that merely an attempt to minify?

Speaking of minifying, it strikes me really funny that your code is
exactly 500 lines. Well, assuming your beginning braces for functions
and conditionals start on the same line as them.
thanks for the feedback!
Anytime. I would like to offer a few more items for digestion though.

Why not use DOM methods to create and insert the elements you need
instead of relying on the non-standard innerHTML to create *EVERYTHING*?

You realize that you exclude a *WIDE* range of browsers because of the
methods you employ?

Oh, and the only thing that I have *ever* seen work, is the new feature
you added to pinpoint where you click.

I think that's it for now...

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Jun 7 '07 #10
>
Can you tell me what happens? Do you get an JS-error?

Sure I can.

I see aa[x], and aa[fa] has no properties.
Ah! This only happens on the first column, i see... This should be
easy to fix...
Speaking of minifying, it strikes me really funny that your code is
exactly 500 lines. Well, assuming your beginning braces for functions
and conditionals start on the same line as them.
That's funny :-)
Anytime. I would like to offer a few more items for digestion though.

Why not use DOM methods to create and insert the elements you need
instead of relying on the non-standard innerHTML to create *EVERYTHING*?
I tried the first time. It does not perform in IE :-((( The
performance is very, very bad that way!
I'm creating a page online where I will explain the 3 different way's
I used to create the drawing area - so far, only this one performs...

But that is more something for the javascript-usenet group :-)
You realize that you exclude a *WIDE* range of browsers because of the
methods you employ?
Well... FF and IE seem to be doing well... that _is_ 99% of the
market....
Oh, and the only thing that I have *ever* seen work, is the new feature
you added to pinpoint where you click.
Try to just walk with the cursorkeys a bit, when having pressed the
drawingbuttong. That should leave you with a drawing - it does on
every browser I tried... including Opera, minus Konqueror..?
I think that's it for now...
Again: thanks!

Paul

Jun 7 '07 #11
pw******@gmail.com wrote:
Yes, I know, this is sort of commercial.. but how else to get people
to, what I think, is a handy online applicaton?

I created this app because I hate do document :) (Don't we all?)
Sometimes I wanted to make a small diagram to depict what a piece of
PHP-code does, a database relationship diagram, or, wel... But to do
that in ASCII is hard, and not very much fun to do! So, I created this
online app that allows you to draw simple diagrams in ASCII-chars
only, so that you can save them in your comments in code. (You can
also save them in Google Docs, or, well, where ever you want!).

I showed it to some friends of mine; they like it. I needed a way to
get it known to more people.. so, there we go:

http://www.asciidrawer.com

Thats it.... Please don't shout at me for posting it here, but let me
know if you like it?
Pretty cool. Works much better in FF 2.x than IE7. On IE7 on my system
it was a bit slow, and the help section was screwy.

I had fun playing around with it, be sure to let us know as the app
progresses.
Jun 7 '07 #12
pw******@gmail.com wrote:
>>Can you tell me what happens? Do you get an JS-error?
Sure I can.

I see aa[x], and aa[fa] has no properties.

Ah! This only happens on the first column, i see... This should be
easy to fix...
>Speaking of minifying, it strikes me really funny that your code is
exactly 500 lines. Well, assuming your beginning braces for functions
and conditionals start on the same line as them.

That's funny :-)
>Anytime. I would like to offer a few more items for digestion though.

Why not use DOM methods to create and insert the elements you need
instead of relying on the non-standard innerHTML to create *EVERYTHING*?

I tried the first time. It does not perform in IE :-((( The
performance is very, very bad that way!
I'm creating a page online where I will explain the 3 different way's
I used to create the drawing area - so far, only this one performs...

But that is more something for the javascript-usenet group :-)
Yep, and I'll be watching out for your post.

Believe me, if done correctly, DOM code can greatly increase the
efficiency of your code.

I was just benchmarking some code the other day and in a field of 20,000
elements, traversing the childNodes as opposed to seeking with
getElementById yielded that traversing the DOM was 26.25 times faster.

The same can be said about innerHTML as opposed to creating text nodes.
>You realize that you exclude a *WIDE* range of browsers because of the
methods you employ?

Well... FF and IE seem to be doing well... that _is_ 99% of the
market....
No it isn't. Sure it is high, but it is nowhere near 99% I am sure.
You forgot Mac users (Camino, Konqueror, iCab et cetera) and Opera users.

And for God's sakes man, give the users something to see when JavaScript
is disabled.
>Oh, and the only thing that I have *ever* seen work, is the new feature
you added to pinpoint where you click.

Try to just walk with the cursorkeys a bit, when having pressed the
drawingbuttong. That should leave you with a drawing - it does on
every browser I tried... including Opera, minus Konqueror..?
Aaah, there we go. Internet Explorer 6 has a go at it. Now I get
"console is undefined", *sometimes*. It is remarkably slow though.

Now, in Firefox 1.5.0.11 it runs smooth as silk. *EXCEPT*, clicking on
the copy/paste whatever stuff takes quite a few seconds to load.

This also happens in the loading of both Internet Explorer and Firefox,
where it takes a substantial amount of time to load. In actuality I get
a "warning unresponsive script" in Firefox every time and I have to hit
"continue."

Now, you ready for the big kicker? All this time I think I did not hit
a button before traversing with the keys. For the most part I tried to
hit a button, then draw with the cursor. *sigh*

Good job!

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Jun 7 '07 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: sams | last post by:
Is there a flow draw tool/API in Java to map out a simple application flow? Tks Sam
9
by: syd | last post by:
I don't even know where to begin. This is just bizarre. I just picked up the Gnuplot.py module (a light interface to gnuplot commands) and was messing around with it today. I've got a tiny...
4
by: luc wastiaux | last post by:
Hello, my boss is looking for a tool that would enable her to draw web interfaces easily, like visio does for other types of diagrams. What she wants this for is , I assume, to give me an exact...
3
by: faustino Dina | last post by:
Hi, I was looking on the SDK but I can't find how to draw text in angles different from 0 and 90. Is it possible? If not, does exist some 3rd party library allowing this? Any hint is welcomed ...
21
by: DraguVaso | last post by:
Hi, I have an inherited DataGrid, that does lots of extra stuff. For exemple drawing a backgroundimage in every cell. The problem is that it's taking too much time (using gdi+), so I want to do...
0
by: david | last post by:
I want draw the statistical curve diagrams (such as density, probability) on web page or window form. I know how to use OWC10 for simple chart, but I do not know how to set the parameters for...
6
by: Paul McGuire | last post by:
Back in the mid-90's, Kees Blom generated a set of railroad syntax diagrams for Python (http://python.project.cwi.nl/search/hypermail/python-1994q3/0286.html). This pre-dates any Python awareness...
4
by: babyinc | last post by:
Please help me. I am totally beginner of C++ and my tutor give us these huge program to solve within 20 days. As a MSc student I am really gonna cry. Please anyone can help me. sumon1in1@yahoo.com ...
2
by: slapsh0t11 | last post by:
So, I've been working on this Game of Life (http://www.bitstorm.org/gameoflife/) project, and all the code has been written. However, it will not run. First, I will post the error message and the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.