hypercard-like Javascript editor?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mfidelman@fidelman.net

    #1

    hypercard-like Javascript editor?

    Folks,

    Every once in a while I start missing having a simple end-user
    programming environment like hypercard. Not for large applications,
    but for something a simple as embedding some smarts into an email
    message (say for meeting scheduling).

    More recently, it's struck me that Javascript has all the needed
    functionality - but what's missing is a simple editing environment -
    not a full-up IDE or building large apps, but something like a page
    template that includes a few functions for editing itself (insert
    button, insert field, and so forth). Something that's a couple of steps
    up from the simple scripts that you find in some tutorials (type code
    in one frame, see it rendered in a 2nd frame).

    Has anybody come across such a beast?

    Thanks much,

    Miles

  • Razzbar

    #2
    Re: hypercard-like Javascript editor?


    mfidelman@fidel man.net wrote:[color=blue]
    > Folks,
    >
    > Every once in a while I start missing having a simple end-user
    > programming environment like hypercard. Not for large applications,
    > but for something a simple as embedding some smarts into an email
    > message (say for meeting scheduling).
    >[/color]
    Hypercard was so sweet! Back around 90-92 I and someone else
    implemented
    a Hypercard internet browser. This had the same basic functionality of
    a web browser -- before the web. It wasn't hard to implement although
    it was crude (it used ftp to fetch other stacks from a server) it
    worked
    just fine. You'd click on a link on a card and it would ftp-get a stack
    and take you to it.
    [color=blue]
    > More recently, it's struck me that Javascript has all the needed
    > functionality - but what's missing is a simple editing environment -
    > not a full-up IDE or building large apps, but something like a page
    > template that includes a few functions for editing itself (insert
    > button, insert field, and so forth). Something that's a couple of[/color]
    steps[color=blue]
    > up from the simple scripts that you find in some tutorials (type code[/color]
    in one frame, see it rendered in a 2nd frame).[color=blue]
    >
    > Has anybody come across such a beast?[/color]

    Well, no... but I've thought about doing such a beast myself. It would
    take some client side editing functions, a hidden form to post the edit
    data to a server, and a script on the server side to process the data.

    The dilemma is that IE has such a nice editor built into it, allowing
    the user to edit page elements with 'contentEditabl e' set to true. IE
    and FF also have a "designMode " attribute, but it works only on the
    body element, and has other problems.

    I sure would like to see other browsers implement the contentEditable
    attribute. It wouldn't be easy, with the first hurdle being to specify
    just exactly how an editable element would behave -- would it just
    allow
    text to be edited, could you stretch and reposition images, etc...

    But yeah, a hypercard clone web page is totally doable.

    Thanks for showing me other people have had this idea.

    Comment

    Working...