By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,950 Members | 989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,950 IT Pros & Developers. It's quick & easy.

php visio

P: n/a
Hi
I need to create a website, the function of the web should near
microsoft visio. Please tell me what php library can let me to create
a sharp on the web, and able to drag it and put a line to link two
sharps (like the flow chart).
thanks
from Peter (cm****@hotmail.com)

May 17 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
cm****@hotmail.com wrote:
Hi
I need to create a website, the function of the web should near
microsoft visio. Please tell me what php library can let me to create
a sharp on the web, and able to drag it and put a line to link two
sharps (like the flow chart).
thanks
from Peter (cm****@hotmail.com)
Peter,

Impossible in PHP. PHP is server side; it doesn't know what the client
is doing until the click on a submit button, etc.

You might be able to do it with Javascript and/or Ajax - I've never
tried so have no idea what might be out there for libraries. But I
think even that might be difficult.

I think you need to find another option.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
May 17 '07 #2

P: n/a
cm****@hotmail.com wrote:
I need to create a website, the function of the web should near
microsoft visio. Please tell me what php library can let me to create
a sharp on the web, and able to drag it and put a line to link two
sharps (like the flow chart).
thanks
from Peter (cm****@hotmail.com)
: Peter,
:
: Impossible in PHP. PHP is server side; it doesn't know what the
: client is doing until the click on a submit button, etc.
:
: You might be able to do it with Javascript and/or Ajax - I've never
: tried so have no idea what might be out there for libraries. But I
: think even that might be difficult.
:
: I think you need to find another option.

<gThe word impossible engrosses quite a bit. Visio is an image
creation tool for the most part, and PHP offers quite a bit as far
as image manipulation goes, so PHP probably offers a way to
accomplish the goals. My initial thoughts involved HTML and
using a <mapto specify links inside an image.

Some thoughts of Javascript crossed my mind as well.

http://us2.php.net/manual/en/ref.image.php

I'm not familiar with what a Visio sharp is (musical sharp # ?).
Flowcharts tend to use parallelograms, rectangles, circles and
some odd house - shapes, and a set of connecting lines.

He probably can create a set of functions to draw the images
upon a canvas (basically that's all Visio does, some folks tend
to create Visio specific VBA applications which do the same
thing that the PHP image functions do).

My own guess is that PHP can accomplish most anything Visio
can do, which kind of is the direct of opposite of impossible.
I'm just not an imaging expert and don't have the time nor
interest to dig into the topic.

Different versions of Visio offer different things. I personally like
Visio 2000.

--
Jim Carlock
Post replies to the group.
May 17 '07 #3

P: n/a
At Thu, 17 May 2007 09:58:37 -0700, cmk128 let his monkeys type:
Hi
I need to create a website, the function of the web should near
microsoft visio. Please tell me what php library can let me to create
a sharp on the web, and able to drag it and put a line to link two
sharps (like the flow chart).
thanks
from Peter (cm****@hotmail.com)
While you might combine Javascript for the interactive dragging bits and
PHP for the imagery, this sounds like the wrong tool for the job.
You'll see the majority of interactive graphical
in-browser demo's/utilities online are either flash apps or Java applets.

I'd recommend looking at one of those. In fact ther might be ready-made
Java tools out there. Consider asking this in a Java group.

HTH
Sh.
May 17 '07 #4

P: n/a
Jim Carlock wrote:
cm****@hotmail.com wrote:
>I need to create a website, the function of the web should near
microsoft visio. Please tell me what php library can let me to create
a sharp on the web, and able to drag it and put a line to link two
sharps (like the flow chart).
thanks
from Peter (cm****@hotmail.com)

: Peter,
:
: Impossible in PHP. PHP is server side; it doesn't know what the
: client is doing until the click on a submit button, etc.
:
: You might be able to do it with Javascript and/or Ajax - I've never
: tried so have no idea what might be out there for libraries. But I
: think even that might be difficult.
:
: I think you need to find another option.

<gThe word impossible engrosses quite a bit. Visio is an image
creation tool for the most part, and PHP offers quite a bit as far
as image manipulation goes, so PHP probably offers a way to
accomplish the goals. My initial thoughts involved HTML and
using a <mapto specify links inside an image.
OK, show me one way you can manipulate graphic objects on the client
with PHP.
Some thoughts of Javascript crossed my mind as well.

http://us2.php.net/manual/en/ref.image.php

I'm not familiar with what a Visio sharp is (musical sharp # ?).
Flowcharts tend to use parallelograms, rectangles, circles and
some odd house - shapes, and a set of connecting lines.

He probably can create a set of functions to draw the images
upon a canvas (basically that's all Visio does, some folks tend
to create Visio specific VBA applications which do the same
thing that the PHP image functions do).

My own guess is that PHP can accomplish most anything Visio
can do, which kind of is the direct of opposite of impossible.
I'm just not an imaging expert and don't have the time nor
interest to dig into the topic.
Show me how a server-side only language can process what's going on on
the client side.
Different versions of Visio offer different things. I personally like
Visio 2000.
Your "thoughts" are great. Now show how it can be done.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
May 18 '07 #5

P: n/a
Your "thoughts" are great. Now show how it can be done.

Have to 100% honest and don't really understand what OP is trying to achieve
but I've recently been reviewing a number of frameworks and found the
following:
http://examples.qcodo.com/examples/a..._ajax/move.php

Cheers

Phil
May 21 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.