'slider' applets

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • murrayatuptowngallery@yahoo.com

    #1

    'slider' applets

    I have seen applets for mathematical functions with a mouse-operated
    slide-bar to vary a parameter in lieu of direct numeric entry.

    One waws online as Java I believe and the others were created by the
    Maple math package. I believe it can export them to various languages.

    Is such an entity possible and how difficult with PHP?

    Thank you.

    Murray

  • OmegaJunior

    #2
    Re: 'slider' applets

    On Sun, 25 Feb 2007 01:21:40 +0100, <murrayatuptown gallery@yahoo.c om>
    wrote:
    I have seen applets for mathematical functions with a mouse-operated
    slide-bar to vary a parameter in lieu of direct numeric entry.
    >
    One waws online as Java I believe and the others were created by the
    Maple math package. I believe it can export them to various languages.
    >
    Is such an entity possible and how difficult with PHP?
    >
    Thank you.
    >
    Murray
    >
    PHP has nothing to do with it, so yeah, it can be done and it wouldn't
    take a lot of time in PHP.

    There's a reason why others have used Java: it runs in the client (the
    browser). Thus you could build it in any browser-accepted environment.
    Flash and Javascript come to mind. And maybe HTML Forms 2.0 will have a
    slider, I should check that, so you don't need to build anything at all.

    --
    Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

    Comment

    • Jerry Stuckle

      #3
      Re: 'slider' applets

      murrayatuptowng allery@yahoo.co m wrote:
      I have seen applets for mathematical functions with a mouse-operated
      slide-bar to vary a parameter in lieu of direct numeric entry.
      >
      One waws online as Java I believe and the others were created by the
      Maple math package. I believe it can export them to various languages.
      >
      Is such an entity possible and how difficult with PHP?
      >
      Thank you.
      >
      Murray
      >
      Murray,

      Impossible in PHP. PHP is server-side, only. You need a client-side
      language to handle it. Java is obvious; Flash also should work. I've
      never tried but it might also be possible in Javascript.

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • murrayatuptowngallery@yahoo.com

        #4
        Re: 'slider' applets

        OK, tradeoff there...

        I've begun looking at PHP instead of JS because I like the fact that
        things run on the server.

        My thought was that an application had a better chance of running
        server-side for people with various browsers and peoplr who refuse to
        allow scripts to run or who have software that prevents scripts.

        I don't NEED the slider input method, but like the interactive
        functionality.

        Thank you

        Comment

        • jussist@gmail.com

          #5
          Re: 'slider' applets

          On Feb 25, 6:44 am, murrayatuptowng all...@yahoo.co m wrote:
          OK, tradeoff there...
          >
          I've begun looking at PHP instead of JS because I like the fact that
          things run on the server.
          >
          My thought was that an application had a better chance of running
          server-side for people with various browsers and peoplr who refuse to
          allow scripts to run or who have software that prevents scripts.
          >
          I don't NEED the slider input method, but like the interactive
          functionality.
          >
          Thank you

          Now I would suggest you to do it with JS. Last friday I just
          prototyped a slider, which could resize an image, and it worked quite
          neatly. Just google for javascript slider.

          Now for the non-javascript -users, just provide the same functionality
          with text-input -field.

          t.tj.j.t

          Comment

          • Jerry Stuckle

            #6
            Re: 'slider' applets

            murrayatuptowng allery@yahoo.co m wrote:
            OK, tradeoff there...
            >
            I've begun looking at PHP instead of JS because I like the fact that
            things run on the server.
            >
            My thought was that an application had a better chance of running
            server-side for people with various browsers and peoplr who refuse to
            allow scripts to run or who have software that prevents scripts.
            >
            I don't NEED the slider input method, but like the interactive
            functionality.
            >
            Thank you
            >
            Yes, that's nice. But something which runs server-side has no access to
            the client end, except via the HTTP protocol (i.e. POST and GET
            variables). To get client-side functionality like you want, you need
            something which runs on the client.

            And Jussist has the right idea - use JS to enhance the experience, but
            don't force people to rely on it. Provide the slider for those with JS
            enabled, and a text or select box for those who don't.

            --
            =============== ===
            Remove the "x" from my email address
            Jerry Stuckle
            JDS Computer Training Corp.
            jstucklex@attgl obal.net
            =============== ===

            Comment

            • Moot

              #7
              Re: 'slider' applets

              The Yahoo javascript library has a slider.
              Measure, monetize, advertise and improve your apps with Yahoo tools. Join the 200,000 developers using Yahoo tools to build their app businesses.


              I've never used it, but I have used some of the other provided
              components and find the library very easy to use.

              Comment

              • Manuel Lemos

                #8
                Re: 'slider' applets

                Hello,

                on 02/24/2007 10:21 PM murrayatuptowng allery@yahoo.co m said the following:
                I have seen applets for mathematical functions with a mouse-operated
                slide-bar to vary a parameter in lieu of direct numeric entry.
                >
                One waws online as Java I believe and the others were created by the
                Maple math package. I believe it can export them to various languages.
                >
                Is such an entity possible and how difficult with PHP?
                Yes, I am working on a plug-in for this forms generation and validation
                class that will provide exactly whay you ask.

                Just let me know if you would like to be notified when the plug-in is ready.

                http://www.phpclasses.org/formsgeneration

                Meanwhile you may want to take a look at some the available plug-ins in
                action here:



                and also a tutorial video that covers all the features of this class and
                the plug-ins:

                http://www.phpclasses.org/browse/video/1/package/1.html


                --

                Regards,
                Manuel Lemos

                Metastorage - Data object relational mapping layer generator


                PHP Classes - Free ready to use OOP components written in PHP
                http://www.phpclasses.org/

                Comment

                Working...