basic question on programming ?

Discussion in 'Programmer's Corner' started by vead, Nov 17, 2014.

  1. vead

    Thread Starter Well-Known Member

    Nov 24, 2011
    Hello experts
    I am student of electronics. I am also interested in software and programming

    There are several software that are used to develop computer programs as well as web sites web applications and web services
    Example - visual studio

    There are different programming languages that is used to develop computer programs, web services, web applications
    Example - java , python , C, C++

    There are different type of operating system . operating system provide Interface between hardware and application software

    Example - window 7 , window xp , Linux , vx works , window CE

    basic concept like this

    hardware-operating system -computer program - web site , web application , web service

    I think we always need software and I need to know programming language

    I have little query

    Q1. what software I have to use to develop computer programs, web services, web applications
    Q2 what language I have to use to develop computer programs, web services, web applications

    someone suggest me software and languages I will download the software and as possible I will start work

    welcome for any suggestion
  2. takao21203

    AAC Fanatic!

    Apr 28, 2012
    learn javascript first. Linux is actually quite difficult to install it right and set it up for programming. It took me 2 months or so until I had a clue.

    Windows- just buy Visual Studio, that will be it. Install it! Buy MSDN subscription too.

    For javascript you need no download. You can use HTMLkit. And run in your browser.

    Buy a web domain + webspace + learn how to set it up, how to use FTP, how to edit photos + how to use wordpress. That could keep you busy for a month.

    If you dont know the basics such as what is a web domain, what is javascript, no one will take you serious.

    How old are you actually? What kind of computer do you have?
    vead likes this.
  3. takao21203

    AAC Fanatic!

    Apr 28, 2012

    they have quite small domains and they take Rupees currency.

    800 Rupees / year. You need a domain too, thats a web address.
    Domain + hosting plan = website.

    then you can play with javascript, PHP, and database.

    you can even get for free: - they are in Italy. There are few who give free PHP and database website- altervista probably the only good company worldwide.
  4. sirch2

    Well-Known Member

    Jan 21, 2013
    You can pretty much use any mix of things you like, however there are 3 widely used "stacks" of components, LAMP, .NET and Java/J2EE and if you use one of these you will probably find life to be easier as there are plenty of tutorials and help

    LAMP is Linux (operating system), Apache (web server), My SQL (database) and PHP (web page development landuage). LAMP is all free, easy to get started with and can be run on either Linux or windows, in which case it's Windows, Apache, MySQL, PHP. Commercial hosting is usually pretty cheap

    .NET is Microsoft's offering which is normally run on Windows with the IIS web server and generally uses SQL Server as the database but any DB can be used. You pretty much need Visual Studio but MS just announced a free version for non commercial (no doubt someone is going to tell us they do .NET in EMACS on Mono but hey, I like an easy life). A lot of hosts offer .NET/SQL Server hosting but it tends to cost more.

    J2EE, is Java Enterprise Edition and uses JSP/Servlets/JSF for the web pages and can be run against any database. Tomcat or JBoss are free/open applicaion servers and can run as a web server or can be fronted by Apache for higher load websites. This is probably the hardest to get your head around but is used for some pretty heavy weight web applications, banking and the like. Retail grade commercial hosting packages are hard to come by.

    It is also worth mentioning Google App engine and Amazon S3 as these provide web application stacks deidcated to running on either Google or Amazon servers as a service.

    For you, based on what I have read of your previous posts, I'd suggest Apache and PHP, although I doubt it matters, you just need to pick something and get into it. Stop bouncing from one thing to the next.
    vead likes this.
  5. vead

    Thread Starter Well-Known Member

    Nov 24, 2011
    I am 23 years old
    I have aspire 5745 laptop
    core I 3 processor
    500 GB HDD
    GB DDR3 memory
  6. vead

    Thread Starter Well-Known Member

    Nov 24, 2011
    I know I have to start with very basic
    I want to start with small example
  7. takao21203

    AAC Fanatic!

    Apr 28, 2012
    well, download HTMLkit. Its easier for trying out javascript than browser. And its small.

    For instance, once you have your website up, install a fanlisting script. Not speaking of programming it, just install it and make it working.

    Once you get it working, examine the PHP scripts a little. You dont need to learn PHP but it is used a lot, and its useful at least to have some idea what PHP is and how it works. Even if you just install scripts.

    You can install archieves with altervista but also normally, FTP is used to install scripts. Learn how FTP with web domains works.
    vead likes this.
  8. vead

    Thread Starter Well-Known Member

    Nov 24, 2011
    Its grate explanation
    there is one thing in my mind , I know to create software like ms word , photo shop, game. we use software ( visual studio) and programming language

    so If I want to start with small one like I want to create note pad , or calculator ,
    how to start ? ( please explain in way that you did in your that post for web domain)
    I mean some little step to make easy

    thank you for your every help
  9. sirch2

    Well-Known Member

    Jan 21, 2013
    just stepping back a bit. A web page is made up of HTML which is a "mark up" which tells the web browser how to display the page content, for example the <Table> tag indicates that the following content should be displayed in a table. As another example the <img> tag tells the browser to insert an image at that point in the page and gives the URL of the image source and can optionally give the size etc.

    On the Internet the HTML is served up by a server but you can write some HTML, save it in a local file and then open it with a web browser. It may be worth looking for some basic HTML examples and trying that. The HTML can contain references to scripts or have scripts embedded in it, which is executed by the web browser. Here is an example, copy this code and save it in a file called AddUp.html and open it in a browser:

    1. <head><title>What is 2 + 3</title></head>
    2. <script type="text/javascript">
    4. // You've written here getPassword()
    5. function AddUp(){
    6. document.getElementById("ans").value=2+3;
    7. }
    9. <input type='submit' onclick='AddUp()' value='Click to add 2+3'/>
    10. 2 + 3 = <input id='ans'/><br>
    12. </body>
    13. </html>

    However websites like AllAboutCircuits are more complex than this. What happens on most interactive websites is that the data is stored in a database and when you request a specific page the data that is included on that page (such as this comment) is retrieved from the database and sent to the web browser, without there being an actual HTML file on a disk somewhere. This is where the Web Server, Database and server-side scritping language (e.g. Apache, MySQL and PHP) come in).
    vead likes this.
  10. takao21203

    AAC Fanatic!

    Apr 28, 2012
    Well it took me about 6 months, and it wasnt easy, to understand how a Windows program works.

    There is more than one way to write applications. You have to understand about "controls", and how Visual Studio provides a framework of code, which can be extended as you need it. What makes it difficult is the fact there are different versions of the doumentation, and also different technologies to get things done.

    You need to read through the documentation and try out ideas a lot, and probably work with a book (I didnt have any books back then). Why do you want to program Windows software? It isnt easy and isnt cheap if you want to keep up with the latest technology, and you have to relearn constantly.

    In addition you need to have a command of standard C and C++ too, or you have simply no foundation. If you dont know the basics properly, then the MSDN documentation will be abstract and out of this world all the time.

    you'd need to invest 1/2 a year and work very hard, try for hours, write code that doesnt work, search for alternatives, dig deep into the MSDN documentation, search the web a lot, and read books too.

    It isnt impossible.

    Microontrollers are far more easy, and far more rewarding.

    GCC on Linux isnt easier, its even more difficult, as the GUI framework isnt as much standartized, its quite hard to understand how it plays together on a LINUX machine. The "IDE" wont have MSDN documentation as you know it.

    After two months or so, I succeeded to download sources and at least, to compile them on my laptop, but then considered its too much effort to re-learn, so I should stick with Windows. Why invest a year or two only to see, I'd have learned deprecated technology?

    To become a programmer, you need to invest a lot of time, work, and money, and often it will be difficult and painful.
    absf likes this.
  11. bertus


    Apr 5, 2008

    As sirch2 said there are many LAMP courses available.
    Here is just a simple query to them:
    LAMP course

  12. Peter8519

    New Member

    Nov 18, 2014
    1. to develope program - C++, Java, C#
    2. web services - Apache server, MySQL etc
    3. web application - php, html, css
  13. darkroom

    New Member

    Oct 30, 2014
    Depending on what you want to develop and on what platform.

    Typically, C and C++ is used for high-performance software; or "low-level" components such as device drivers. Both are general - purpose programming languages, basically, anything can be programmed with them, but of course there are better , modern languages for other tasks.

    I would choose C# to start, but i'm Windows-oriented (in Linux, Mono exists as alternative). Visual Studio is an excellent programming environment and C# a lovely language. I programmed in pure C/C++ for 15 years, now I choose C# as main programming language, but keeping C or C++ in special projects or libraries. Compiled code speed differences are not that great between both worlds in most applications.

    For web, do not reinvent the wheel, directly experiment with modern HTML5 and Javascript, and incorporate some framework such as JQuery. C# can be used with .ASP for dynamic web sites with database access,etc.

    I know other programming languages but I'm not experienced (Java, Python,etc).
  14. vpoko

    Active Member

    Jan 5, 2012
    I'm not sure what the new announcement is (whether it's full a version of Visual Studio that they're allowing for noncommercial use), but Microsoft has always offered Visual Studio Express - one version per supported language - which is free, very functional, and has no restrictions on its use.

    If you're a student at a university, then you can also get a full version of Visual Studio through Microsoft's Dreamspark program, though this is limited to noncommercial use.