Can we utilise Visual Basic.Net to create reliable and fashionable Website ?

Discussion in 'Programming' started by TheCreator, Nov 30, 2012.

  1. #1
    Hi all, first of all is visual basic.net available to use to create website, and is it easy to do with visual basic.net ? IF yes, please share me the reference on how to utilise Visual Basic.net to create a website because I well know Visual Basic 6, but never use Visual Basic.Net. Appreciate if there are links on the tips and trick from beginning to the complete upload the domain as I will be very thankful on this.
     
    Solved! View solution.
    TheCreator, Nov 30, 2012 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    Available? Yes. Advisable? Definitely not. It's like painting a house with a brush with one bristle, using cheap paint that's the wrong color.

    Yes.

    Look at http://www.youtube.com/watch?v=9EJXzWasTq4 or search YouTube for other tutorials. Basically, learn how a website works, learn programming if you don't already know programming (knowing a programming language isn't knowing programming), learn the document object model (what a web page looks like to the browser) and write the page.
     
    Rukbat, Nov 30, 2012 IP
  3. TheCreator

    TheCreator Banned

    Messages:
    372
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Does above statement mean Visual Basic.Net is a NOT good choice as software to create a website ? Why ?

    Thanks.
     
    TheCreator, Dec 1, 2012 IP
  4. #4
    Yes, it does mean that it's not. It produces "the wrong color" or, in this case, very bad and very bloated code. (Bloated code means slow load times.) You pay for the ease of development.

    But if you invest the time and effort to learn to do it the right way - designing the code, then writing it by hand - you'll write good, tight (meaning fast), maintainable code.

    And Microsoft is very bad in maintaining backward compatibility. In 5 years, when you're running VB.Net, version 2018, and you try to modify your 2012 code, you'll get tons of errors, because the new version of VB doesn't understand the old code. So it makes maintenance and modification somewhere between extremely difficult and "impossible unless you just scrap the whole thing and start over". It's like trying to get your old backups from 8" floppy disks, or listening to that "only recording" on an 8-track.

    If you're doing this as a hobby, and won't ever change your site, or you'll make a new site every few years, fine. Of course it won't be a good site, but it'll be a site.

    But if you have to maintain the site for a customer, VB isn't the way to go. (I'm still maintaining site I had to modify for Y2K. But they were manually written, and they were manually updated as both the technology and the needs of the customer changed.)
     
    Rukbat, Dec 1, 2012 IP
  5. TheCreator

    TheCreator Banned

    Messages:
    372
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    OK, that's very clear. Thanks. How about the application we create in visual basic in general ( I mean both visual basic 6 and visual basic.net) and we make .exe file. Can we upload the .exe file to a website and has this .exe run well ?
     
    TheCreator, Dec 2, 2012 IP
  6. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #6
    There are ways to write an application (an .exe file) to work under CGI, but just writing a normal VB (6 or .net) program won't give you something that will run on a web server. (For one thing, all input and output has to be done through stdin and stdout.)

    Ant it won't run on a Linux server, only a Windows server. Which severely limits what you can do. (MSSQL is a toy compared to MySQL, and you're stuck with .net, not PHP or Ruby with most hosting companies.)

    All in all, you're trying to do carpentry with brain surgery tools. It's possible, but it's the wrong way to do it. If you know programming (not a programming language, but data structures and algorithms), PHP is a trivial language to learn. In fact, you can load a VB6 file into a text editor and pretty much translate it on a sub/function by sub/function basis into PHP functions. (That's how I started learning PHP - I had to convert a VB6 program so it would be available to customers by connecting to the company's site, and that was the fastest way.)
     
    Rukbat, Dec 2, 2012 IP
  7. TheCreator

    TheCreator Banned

    Messages:
    372
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #7
    Thanks. Could you please suggest me COMPLETE LIST of materials/knowledge I have to purely master to become a good webmaster ?
     
    TheCreator, Dec 3, 2012 IP
  8. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #8
    Webmaster? That's someone who runs a site. What you need depends on the site. (Running a cooking site? Then you should be a great cook or an experienced chef.)

    To write good websites? First learn computer programming. (That should take about 6 months of full-time study, just to learn data structures, algorithms, object oriented programming, not even to become good at it - which can take a few years.) Then learn how the browser and server interact. Learn how and where Javascript and PHP run (and learn Javascript and PHP). Learn HTML and CSS. Learn the document object model.

    To become an entry level web programmer, starting from scratch, should take about a year. From then on, it's just a matter of getting experience. I've been programming for 40 years, and I still learn new things all the time. No one ever learns it all. But to become really good? At least a few years.
     
    Rukbat, Dec 3, 2012 IP
  9. TheCreator

    TheCreator Banned

    Messages:
    372
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #9
    Great. I see. Thanks for the valuable knowledge.
     
    TheCreator, Dec 3, 2012 IP