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.6k
    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.
    • 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
                            • F
                              flaxking @scottalanmiller
                              last edited by

                              @scottalanmiller 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.

                              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.

                              For web design? For someone to make up CSS stylesheet and HTML template to use?

                              With proper vetting of someone who is using modern tools, I can't imagine that since I don't have the aptitude for that kind of thing, I could ever be able to justify the cost of me learning it and hours spent messing around to get it right.

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

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

                                For web design? For someone to make up CSS stylesheet and HTML template to use?

                                Oh sorry, just design itself. Even that, I don't know. If you just want some colours I guess. But there is a reason why companies pay for high cost web design every day - good design costs money. We don't offshore our stuff, the cost of managing an offshore process, the time needed to coordinate changes, hard to believe it wouldn't be more costly, too.

                                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?:

                                  With proper vetting of someone who is using modern tools, I can't imagine that since I don't have the aptitude for that kind of thing, I could ever be able to justify the cost of me learning it and hours spent messing around to get it right.

                                  Outsource it every time, absolutely. You can say that about any task that isn't your bailiwick. But I don't think you can get that for peanuts. Cheaper than trying to do it yourself, yes, definitely. But it's still a costly process to get done well.

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

                                    @scottalanmiller 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?:

                                    With proper vetting of someone who is using modern tools, I can't imagine that since I don't have the aptitude for that kind of thing, I could ever be able to justify the cost of me learning it and hours spent messing around to get it right.

                                    Outsource it every time, absolutely. You can say that about any task that isn't your bailiwick. But I don't think you can get that for peanuts. Cheaper than trying to do it yourself, yes, definitely. But it's still a costly process to get done well.

                                    That's true, it influences customer perception and directly affects usability. A business is definitely going to want to invest there.

                                    However, if I'm doing a personal project to help myself learn web development, I'm going to pay peanuts for it, just so I have something I'm working with. And learn some good outsourcing lessons in the process.

                                    1 Reply Last reply Reply Quote 1
                                    • wirestyle22W
                                      wirestyle22 @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.

                                      Yeah I use PyCharm but I'm also not planning on learning any other languages. Taking my time with Python.

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

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

                                        Yeah I use PyCharm but I'm also not planning on learning any other languages. Taking my time with Python.

                                        I find it too "heavy" to use comfortably, and for commercial use I think you have to pay for it so pfft

                                        wirestyle22W 1 Reply Last reply Reply Quote 0
                                        • wirestyle22W
                                          wirestyle22 @scottalanmiller
                                          last edited by

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

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

                                          Yeah I use PyCharm but I'm also not planning on learning any other languages. Taking my time with Python.

                                          I find it too "heavy" to use comfortably, and for commercial use I think you have to pay for it so pfft

                                          There's a community version that is free

                                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @wirestyle22
                                            last edited by

                                            @wirestyle22 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?:

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

                                            Yeah I use PyCharm but I'm also not planning on learning any other languages. Taking my time with Python.

                                            I find it too "heavy" to use comfortably, and for commercial use I think you have to pay for it so pfft

                                            There's a community version that is free

                                            9234011c-ad64-4860-9073-7eac65bb2a62-image.png

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