Thread: Building web pages.

  1. #1
    Unregistered
    Guest

    Building web pages.

    I am wanting to build a browser-based app that allows users to manipulate drawings over a network. The drawings will be in Auto-cad format, along with a few others. I have searched Google for libraries that would simplify the process, but unfortunately I'm not sure what to look for. Does anyone have experience doing this sort of thing or something similar? If so, would you mind explaining what technologies will be needed?

    Thanks in advance

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Doing so over a dial-up connection would be painfully slow if your intent is real-time manipulation. I would suggest a large-bandwidth connection if the users are to interact in a satisfactory way. Either way, you will have to transmit the data. So you should compress/decompress as necessary. If you intend to diplay through existing browsers, you will have to consult the microsoft documentation for doing that sort of thing(or rather the vendor of your target browser). If you wish to build an app that will run beside the browser, that may be easier. Going that direction, you will either have to write a program that parses the bytes into a displayable format, otherwise, you can exploit existing codecs residing in libs such as libmmsystem.a where there are functions you can call to simplify the process.

    To be sure, it would take one to six months minimum to have such a process up and running smoothly. Maybe less if you're productive. Let me know how it goes
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    273
    HA! is that you keith? if not, never mind. www.kamelsoftware.com does exactly that but just viewing, not editing. Weblook is the product name.
    always looking, make an offer. get me out of this place.

  4. #4
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175
    Sebastiani - the only thing which would be transmited across the internet is the actually paramiters the user changed. That isn't very clear, basically you could have a set of commands which would be transmited across the network i.e. "Line (123, 321) - (321, 123)" or (more likely) a set of 32 bit opp-codes with paramiters.
    VC++ 6

  5. #5
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Excellent point VB. That is excepting the initial transfer, of course. Hmm, that would tighten things up quite well. Additionally, if that data were to be sent in binary, you would most certainly guarantee a nice transfer rate. This is starting to sound like a fun project!



    [edit]

    ...or (more likely) a set of 32 bit opp-codes with parameters...
    ...as you were saying, of course...

    [/edit]
    Last edited by Sebastiani; 07-31-2002 at 12:19 AM.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  6. #6
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175
    I seen someone who did an online white board type thing using the same kind of ideas. I think it would be a nice project to get round to one day!
    VC++ 6

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Web browser based program
    By Lauris in forum C++ Programming
    Replies: 3
    Last Post: 11-14-2007, 05:01 PM
  2. embedding web pages
    By Devil Panther in forum Windows Programming
    Replies: 9
    Last Post: 01-14-2005, 09:37 AM
  3. Layout of web pages whilst browsing.
    By Fountain in forum Tech Board
    Replies: 9
    Last Post: 11-19-2003, 09:24 PM
  4. creating a user login system for web pages
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 07-04-2002, 11:02 PM