ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Where to read Code? or Best practices to Learn Code?

    Water Closet
    readin code
    14
    151
    9.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • WrCombsW
      WrCombs @scottalanmiller
      last edited by

      @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

      @WrCombs said in Where to read Code? or Best practices to Learn Code?:

      The question i was going for was *can you write a html webpage, and put python, php, ruby, java, etc. into the html?

      No, because HTML is only a markup language and it does not have the ability to contain arbitrary code. It CAN hold JavaScript code, that is the one language that HTML can contain. But it's isolated code inside the page.

      You can also use JavaScript to make HTML, like you do with NodeJS.

      I gotcha,
      SO understanding all of them together is a great idea?
      I mean - HTML CSS JavaScript PHP (MySQL, and JQuerey) is a good idea to learn all the way around for basics of web development

      WrCombsW scottalanmillerS 2 Replies Last reply Reply Quote 0
      • WrCombsW
        WrCombs @WrCombs
        last edited by

        @WrCombs said in Where to read Code? or Best practices to Learn Code?:

        @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

        @WrCombs said in Where to read Code? or Best practices to Learn Code?:

        The question i was going for was *can you write a html webpage, and put python, php, ruby, java, etc. into the html?

        No, because HTML is only a markup language and it does not have the ability to contain arbitrary code. It CAN hold JavaScript code, that is the one language that HTML can contain. But it's isolated code inside the page.

        You can also use JavaScript to make HTML, like you do with NodeJS.

        I gotcha,
        SO understanding all of them together is a great idea?
        I mean - HTML CSS JavaScript PHP (MySQL, and JQuerey) is a good idea to learn all the way around for basics of web development

        but It'd be better to learn python first?

        jmooreJ ObsolesceO scottalanmillerS 3 Replies Last reply Reply Quote 0
        • jmooreJ
          jmoore @WrCombs
          last edited by

          @WrCombs Depends on whether you have picked web development or programming

          1 Reply Last reply Reply Quote 0
          • ObsolesceO
            Obsolesce @WrCombs
            last edited by

            @WrCombs said in Where to read Code? or Best practices to Learn Code?:

            @WrCombs said in Where to read Code? or Best practices to Learn Code?:

            @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

            @WrCombs said in Where to read Code? or Best practices to Learn Code?:

            The question i was going for was *can you write a html webpage, and put python, php, ruby, java, etc. into the html?

            No, because HTML is only a markup language and it does not have the ability to contain arbitrary code. It CAN hold JavaScript code, that is the one language that HTML can contain. But it's isolated code inside the page.

            You can also use JavaScript to make HTML, like you do with NodeJS.

            I gotcha,
            SO understanding all of them together is a great idea?
            I mean - HTML CSS JavaScript PHP (MySQL, and JQuerey) is a good idea to learn all the way around for basics of web development

            but It'd be better to learn python first?

            Learn what you are interested in, otherwise you'll give it up too soon.

            If HTML and CSS are fun, then why the hell not? Maybe after a few months or more down the road, you'll want to move on to programming languages, or maybe from doing html and CSS, you'll want to learn some Javascript to be able to do more with what you see on the web page. Then from there maybe Node.js or PHP.

            It's up to you, really. If you want to do Python first, that's great too. Do what interests you.

            1 Reply Last reply Reply Quote 1
            • scottalanmillerS
              scottalanmiller @WrCombs
              last edited by

              @WrCombs said in Where to read Code? or Best practices to Learn Code?:

              I mean - HTML CSS JavaScript PHP (MySQL, and JQuerey) is a good idea to learn all the way around for basics of web development

              Yes, that is true. But keep in mind that "web development" is a lot more moving parts than just "development". So learning it "first" tends to be hard because you are not just learning markup, and programming at the same time, but also learning them in the context of them interacting!

              Imagine trying to learn to write a book. But do so in the context of building a Rube Goldberg machine that you trigger and it types out the book through a series of actions!

              WrCombsW 1 Reply Last reply Reply Quote 2
              • scottalanmillerS
                scottalanmiller @WrCombs
                last edited by

                @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

                @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                The question i was going for was *can you write a html webpage, and put python, php, ruby, java, etc. into the html?

                No, because HTML is only a markup language and it does not have the ability to contain arbitrary code. It CAN hold JavaScript code, that is the one language that HTML can contain. But it's isolated code inside the page.

                You can also use JavaScript to make HTML, like you do with NodeJS.

                I gotcha,
                SO understanding all of them together is a great idea?
                I mean - HTML CSS JavaScript PHP (MySQL, and JQuerey) is a good idea to learn all the way around for basics of web development

                but It'd be better to learn python first?

                I think no matter what, you want to learn to program before you learn to do web development, and the best place to start learning to program is Python.

                WrCombsW 1 Reply Last reply Reply Quote 0
                • WrCombsW
                  WrCombs @scottalanmiller
                  last edited by

                  @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

                  @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                  I mean - HTML CSS JavaScript PHP (MySQL, and JQuerey) is a good idea to learn all the way around for basics of web development

                  Yes, that is true. But keep in mind that "web development" is a lot more moving parts than just "development". So learning it "first" tends to be hard because you are not just learning markup, and programming at the same time, but also learning them in the context of them interacting!

                  Imagine trying to learn to write a book. But do so in the context of building a Rube Goldberg machine that you trigger and it types out the book through a series of actions!

                  Okay, That makes sense, In every "web development" program and book I've seen it starts with HTML and CSS to give the writer and idea on syntax and the front end part of web pages, then it goes deeper with Javascript or Jquerery and PHP (MySQL in most cases that i've seen. although any database server would work.. right? )

                  scottalanmillerS 2 Replies Last reply Reply Quote 0
                  • WrCombsW
                    WrCombs @scottalanmiller
                    last edited by

                    @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

                    @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                    @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                    @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

                    @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                    The question i was going for was *can you write a html webpage, and put python, php, ruby, java, etc. into the html?

                    No, because HTML is only a markup language and it does not have the ability to contain arbitrary code. It CAN hold JavaScript code, that is the one language that HTML can contain. But it's isolated code inside the page.

                    You can also use JavaScript to make HTML, like you do with NodeJS.

                    I gotcha,
                    SO understanding all of them together is a great idea?
                    I mean - HTML CSS JavaScript PHP (MySQL, and JQuerey) is a good idea to learn all the way around for basics of web development

                    but It'd be better to learn python first?

                    I think no matter what, you want to learn to program before you learn to do web development, and the best place to start learning to program is Python.

                    I can understand that

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @WrCombs
                      last edited by

                      @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                      In every "web development" program and book I've seen it starts with HTML and CSS to give the writer and idea on syntax and the front end part of web pages, then it goes deeper with Javascript or Jquerery and PHP (MySQL in most cases that i've seen. although any database server would work.. right? )

                      Yes AND it is like this...

                      You have to learn...

                      1. PHP as the "server development language."
                      2. Databases, because you have to talk to something.
                      3. HTML / CSS because this is the "presentation markup".
                      4. JavaScript, a second programming language for doing things in the HTML.
                      5. How to tie them all together.

                      All very doable, but a lot to learn about all at once and keep straight which thing is doing what. And that's before we consider any frameworks, which are often used, like Laravel on PHP, and AngularJS on the front end, which is built on JQuery. The number of things you tend to learn is way higher than the necessary pieces. It gets nuts.

                      1 Reply Last reply Reply Quote 1
                      • scottalanmillerS
                        scottalanmiller @WrCombs
                        last edited by

                        @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                        (MySQL in most cases that i've seen. although any database server would work.. right? )

                        That's correct. If you are writing your own PHP app, you can choose any database that you want to work with. Of any type.

                        WrCombsW 1 Reply Last reply Reply Quote 0
                        • WrCombsW
                          WrCombs @scottalanmiller
                          last edited by

                          @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

                          @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                          (MySQL in most cases that i've seen. although any database server would work.. right? )

                          That's correct. If you are writing your own PHP app, you can choose any database that you want to work with. Of any type.

                          And if you're not writing your own?
                          (just out of curiosity)

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • ObsolesceO
                            Obsolesce @scottalanmiller
                            last edited by

                            @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

                            @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                            The question i was going for was *can you write a html webpage, and put python, php, ruby, java, etc. into the html?

                            No, because HTML is only a markup language and it does not have the ability to contain arbitrary code. It CAN hold JavaScript code, that is the one language that HTML can contain. But it's isolated code inside the page.

                            You can also use JavaScript to make HTML, like you do with NodeJS.

                            And that only works because it's isolated AND because the web browser processes it. It's completely separate from Html. But, the Javascript inside the Html page can manipulate and alter the Html and CSS.... as it it can change in real time what you see on the web page after it loads.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @WrCombs
                              last edited by

                              @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                              @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

                              @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                              (MySQL in most cases that i've seen. although any database server would work.. right? )

                              That's correct. If you are writing your own PHP app, you can choose any database that you want to work with. Of any type.

                              And if you're not writing your own?
                              (just out of curiosity)

                              Then you are stuck with the decisions of whoever wrote it.

                              WrCombsW 1 Reply Last reply Reply Quote 1
                              • WrCombsW
                                WrCombs @scottalanmiller
                                last edited by

                                @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

                                @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                                @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

                                @WrCombs said in Where to read Code? or Best practices to Learn Code?:

                                (MySQL in most cases that i've seen. although any database server would work.. right? )

                                That's correct. If you are writing your own PHP app, you can choose any database that you want to work with. Of any type.

                                And if you're not writing your own?
                                (just out of curiosity)

                                Then you are stuck with the decisions of whoever wrote it.

                                ah fair enough .

                                1 Reply Last reply Reply Quote 0
                                • F
                                  flaxking
                                  last edited by

                                  I can't stand web design, drives me nuts. And you can pay someone peanuts to do the design for your web apps. Definitely not worth the torture.

                                  Python can be the first tool in your web development learning path. Django is popular web development framework, often used by companies who make custom web apps for clients.

                                  ObsolesceO scottalanmillerS 2 Replies Last reply Reply Quote 0
                                  • J
                                    JasGot @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in Where to read Code? or Best practices to Learn Code?:

                                    @WrCombs said in Where to read Code?:

                                    what software do you use to write code?

                                    Notepad!

                                    Just kidding. But overall I like Visual Studio Code (but not for beginners or learners), Atom, Notepad++ and some people like PyCharm and Sublime.

                                    Oh! Can I plug UltraEdit? I love it to pieces!!!!!!!

                                    1 Reply Last reply Reply Quote 0
                                    • ObsolesceO
                                      Obsolesce @flaxking
                                      last edited by

                                      @flaxking said in Where to read Code? or Best practices to Learn Code?:

                                      I can't stand web design, drives me nuts. And you can pay someone peanuts to do the design for your web apps. Definitely not worth the torture.

                                      Python can be the first tool in your web development learning path. Django is popular web development framework, often used by companies who make custom web apps for clients.

                                      If the goal is web development, wouldn't Node be a generally better route than Python?

                                      F scottalanmillerS 2 Replies Last reply Reply Quote 0
                                      • F
                                        flaxking @Obsolesce
                                        last edited by

                                        @Obsolesce said in Where to read Code? or Best practices to Learn Code?:

                                        @flaxking said in Where to read Code? or Best practices to Learn Code?:

                                        I can't stand web design, drives me nuts. And you can pay someone peanuts to do the design for your web apps. Definitely not worth the torture.

                                        Python can be the first tool in your web development learning path. Django is popular web development framework, often used by companies who make custom web apps for clients.

                                        If the goal is web development, wouldn't Node be a generally better route than Python?

                                        I'd say there probably aren't as many Python web development jobs, and most web apps built by a company to provide a service aren't using Django. Python does have a path to web development, and when people trying to figure out what language to start with, they tend to want a path to their end goal from the language they learn to program with. However in reality the knowledge all combines together, so someone who learns Python first and then Node isn't going to be losing much time and will probably be better for it.

                                        That being said, using a server-side JavaScript language was one of the recommendations made to me when I was looking to start learning programming.

                                        1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @flaxking
                                          last edited by

                                          @flaxking said in Where to read Code? or Best practices to Learn Code?:

                                          I can't stand web design, drives me nuts. And you can pay someone peanuts to do the design for your web apps.

                                          You can't. That's a myth. Web development is as hard or harder than non-web and needs more skills and expertise. Like any development, no one skilled is cheap. You can't actually get it cheaper offshore. They charge less per hour, but it costs more.

                                          F 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @Obsolesce
                                            last edited by

                                            @Obsolesce said in Where to read Code? or Best practices to Learn Code?:

                                            @flaxking said in Where to read Code? or Best practices to Learn Code?:

                                            I can't stand web design, drives me nuts. And you can pay someone peanuts to do the design for your web apps. Definitely not worth the torture.

                                            Python can be the first tool in your web development learning path. Django is popular web development framework, often used by companies who make custom web apps for clients.

                                            If the goal is web development, wouldn't Node be a generally better route than Python?

                                            No, for learning Node is one of the worst options. So difficult to figure out what is going on. Never do you see the raw language. You write heavily modified JS on top of JS on top of frameworks with all kinds of library extensions. Node is amazing as a tool, but one of the worst possible ways to learn something.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 7 / 8
                                            • First post
                                              Last post