1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Learning programming and javascript

Discussion in 'Computers & Technology' started by Jan, Dec 5, 2017.

  1. Jan
    Offline

    Jan The Experienced
    Donator

    Joined:
    Jul 14, 2014
    Messages:
    2,554
    Likes Received:
    640
  2. Hans Tier
    Online

    Hans Tier Guest

    Really depends on what you are doing. Since you are apparently making web stuff I would suggest using JS only when needed. Since things like html, css and js are interpreted by the browser, test your stuff in target environments. (hellclan.co.uk css for example is throwing tons of stuff where my browser ignores declarations). Write any code and script structured and readable. And document + comment at least your PHP. When working with Databases and CMS, use the connection your CMS gives you.
     
    #2
    • Like Like x 1
  3. Jan
    Offline

    Jan The Experienced
    Donator

    Joined:
    Jul 14, 2014
    Messages:
    2,554
    Likes Received:
    640
    I am currently using a program called webstorm. I use html with javascript in it. I am learning the basics now.
    EDIT: Currently using w3school for simple instruciton for things, but if you have another website that is better, then please leave a comment!
    https://www.w3schools.com/
     
    #3
  4. Hans Tier
    Online

    Hans Tier Guest

    w3schools is good for beginners, as it offers tutorials and viewable examples. Unfortunately my main reference for html, js and css is available in german only. If you ever go to server-side this is a great reference: http://php.net/
     
    #4
  5. Jan
    Offline

    Jan The Experienced
    Donator

    Joined:
    Jul 14, 2014
    Messages:
    2,554
    Likes Received:
    640
    OKIII thanks hans :h:
     
    #5
  6. Nomy
    Offline

    Nomy Administrator
    Super Admin ]HeLL[ Member

    Joined:
    Oct 11, 2010
    Messages:
    35,883
    Likes Received:
    3,688
    I think CSS and js are more front end... Php meanwhile is more back end. A lot of newer tutorials for php are object oriented but I personally prefer the procedural style. But php is another topic.

    For CSS I think the developer tools from chrome and FF are great tools to experiment. I don't think WYSIWYG programs compare well and the output on browsers might be interpreted quite differently.

    In js, the possibilities are endless, there are events from the browser and numerous frameworks and libraries such as jquery being quite popular which can be used to provide a lot of functions easily.

    W3schools is great site to learn all of this.
     
    #6
    • Agree Agree x 1
  7. Elite
    Offline

    Elite Member
    Donator

    Joined:
    Jun 25, 2014
    Messages:
    274
    Likes Received:
    91
    One thing I forgot to do early on was to annotate/add comments on to any my code. Can be really helpful when you go away for a long time to come back to programming and understand the code you have actually written will help with getting back into it, although it is a very tedious task to do, just helps you understand what you're actually coding, as opposed to just copying it from the web.
    To comment just add to slashes like so and add your comment, (e.g. "int example = 0; //declaring a variable and setting it's value to 0"). No need for any more it just automatically stops when you go down a line. Obviously for more basic stuff might not be needed, when coding procedures and functions always helpful to know it is being used for.
     
    #7
    • Agree Agree x 1
  8. Captain Shhhh
    Offline

    Captain Shhhh Member
    Donator

    Joined:
    Aug 26, 2017
    Messages:
    362
    Likes Received:
    125
    Hello , as a web/mobile developer and founder of my startup , i would suggest to :
    - first of all to understand how to work on algrithmic and analyse the problems and scripts. It's really important to be familiar to think on algorithmic way, because after all, languages seems different , but actually not , some are optimised, some are easier to use , each language have some good and bad things.
    -Second : once you're familiar with algo, choose an easy language (pascal (ooooold but sooo easy to understand and improve your thinking) and C also is good to start ) just learn basics , and then practice basics ( if else and for , while ... ). Give a good time for this step .
    - Third , you can choose what languages to start (JS, PHP(AND MYSQL ) , HTML5 , CSS3 for your case ) . everyone have a specific job. So , now that you have learned your languages ( it would be easy if you did great the previous two steps , i would suggest you to follow THENEWBOSTON channel on YouTube. it's really great to learn ) .
    - 4th : now start to download templates and read the scripts(you'll dont understand some , but dont worry , you'll learn by time ) , make changes on those templates , take some scripts and parts to another template you did and continue like that .. you'll feel improvements by the time !
    -5th : join my startup :D:D:D:p

    Pleaaase , if you need any help tell me , i love helping people , giving advices .. i suggest you to contact me , we will talk about it more and more and i'll give you more specific things ( it's not an ad :D this is friendly and for free :h::rock: )

    BEING A PROGRAMMER , IS BEING PATIENT AND GIVING SO MUCH TIME TO DO GREAT THINGS. -Captain Shhhh
     
    #8
    • Useful Useful x 1
  9. Jan
    Offline

    Jan The Experienced
    Donator

    Joined:
    Jul 14, 2014
    Messages:
    2,554
    Likes Received:
    640
    Thanks :h:
     
    #9