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.
    • JaredBuschJ
      JaredBusch @flaxking
      last edited by

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

      When you go through learning material you should always have a project in mind/on the back burner that you can mentally (and then actually) apply what you are learning to.

      This is the most important thing.

      You have to have an actual goal. When I was teaching myself VB4, I had ideas but no goals.

      It definitely made things slower and I did give up without learning as much as I could have at the time.

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

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

        Whatever form of BASIC the TRS-80 used.

        Given your age, I can only imagine you used a late model TRS80 and not the shitty model I from 1977. If I'm right, then it was "standard" Microsoft BASIC.

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

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

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

          Whatever form of BASIC the TRS-80 used.

          Given your age, I can only imagine you used a late model TRS80 and not the shitty model I from 1977. If I'm right, then it was "standard" Microsoft BASIC.

          I'm fairly certain it was TRSDOS, but mid 80's was a long time ago....

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

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

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

            Whatever form of BASIC the TRS-80 used.

            Given your age, I can only imagine you used a late model TRS80 and not the shitty model I from 1977. If I'm right, then it was "standard" Microsoft BASIC.

            I'm fairly certain it was TRSDOS, but mid 80's was a long time ago....

            TRSDOS was the OS name for Microsoft's BASIC on the TRS80.

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

              after the kiddo got to bed last night I started thinking about coding a little and My future and what I want to do in IT - and I got to thinking :

              Why do I want to look at Coding?

              Because I want to Expand and try new things to see if I like it - I've been working with Computers/Point of sale for a year ( officially and studying/learning for at least 2.5-3 years ) It makes sense In my mind to look at other options such as Web Design (someone said something in this thread and I thought about it a little)
              App building, software engineering ( i know we have a few of those guys running around here on ML) even Mark up languages like HMTL and CSS ( I dont know what careers come from those, but they're options... )
              Why would I hold my self back from trying different things? (at least in mind my, Since im not exactly sure what I want to do. )
              I started python, Sure.
              Haven't started any projects yet, cause I dont understand Python. where as with HTML and CSS (so far) It makes sense- I put in what I want it to do and what I want to be there, and it works.
              python looks like it's all math, basically up to this point.
              In my mind right now - I want to try Building a website, A blog ( or something along those lines)

              why?

              because I want to see if I can!
              I want to try different things and see what works for me and if it's something I can do- ultimately.
              Under that, I feel like it'd be good practice to build a website from scratch, use mark ups and add python.
              You guys have said multiple times "having a goal in mind while learning is best because if you dont you'll get distracted."

              But how do I do that?

              learning PHP as @bnrstnr said?

              I've made a goal: I want to build a website this time.
              Specifics on the website are still hazy, But I'm working on that.

              SO - How do I start?
              if the answer is python, skip it. because I'm already in the classes for python.

              travisdh1T EddieJenningsE scottalanmillerS 7 Replies Last reply Reply Quote 2
              • travisdh1T
                travisdh1 @WrCombs
                last edited by

                @WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.

                Most important thing when working with dynamic web pages is sanitizing any input.

                https://imgs.xkcd.com/comics/exploits_of_a_mom.png
                https://xkcd.com/327/

                WrCombsW 1 scottalanmillerS 3 Replies Last reply Reply Quote 2
                • WrCombsW
                  WrCombs @travisdh1
                  last edited by

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

                  @WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.

                  Most important thing when working with dynamic web pages is sanitizing any input.

                  https://imgs.xkcd.com/comics/exploits_of_a_mom.png
                  https://xkcd.com/327/

                  Just looking up difference between static and dynamic websites didn't do me any good.

                  what's the difference other than one is database server language(dynamic) and the other is html (static)

                  travisdh1T 1 Reply Last reply Reply Quote 0
                  • travisdh1T
                    travisdh1 @WrCombs
                    last edited by

                    @WrCombs Just what the words mean. Static = content doesn't change. Dynamic = content changes.

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

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

                      @WrCombs Just what the words mean. Static = content doesn't change. Dynamic = content changes.

                      That's what I figured. but thanks for clarifying

                      1 Reply Last reply Reply Quote 0
                      • EddieJenningsE
                        EddieJennings @WrCombs
                        last edited by

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

                        why?

                        because I want to see if I can!
                        I want to try different things and see what works for me and if it's something I can do- ultimately.

                        I can empathize with this concerning almost anything I want to learn.

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

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

                          why?

                          because I want to see if I can!
                          I want to try different things and see what works for me and if it's something I can do- ultimately.

                          I can empathize with this concerning almost anything I want to learn.

                          at least im not the only one- plus it's great experience on resume's and in general.. IMO

                          1 Reply Last reply Reply Quote 0
                          • 1
                            1337 @travisdh1
                            last edited by

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

                            @WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.

                            Most important thing when working with dynamic web pages is sanitizing any input.

                            I'm almost downvoting that one.

                            Sanitizing is for losers, binding is for winners.
                            :smiling_face_with_open_mouth_smiling_eyes:

                            travisdh1T WrCombsW 2 Replies Last reply Reply Quote 0
                            • travisdh1T
                              travisdh1 @1337
                              last edited by

                              @Pete-S said in Where to read Code? or Best practices to Learn Code?:

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

                              @WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.

                              Most important thing when working with dynamic web pages is sanitizing any input.

                              I'm almost downvoting that one.

                              Sanitizing is for losers, binding is for winners.
                              :smiling_face_with_open_mouth_smiling_eyes:

                              Well yeah, but there isn't a classic XKCD for binding 😛

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

                                @Pete-S said in Where to read Code? or Best practices to Learn Code?:

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

                                @WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.

                                Most important thing when working with dynamic web pages is sanitizing any input.

                                I'm almost downvoting that one.

                                Sanitizing is for losers, binding is for winners.
                                :smiling_face_with_open_mouth_smiling_eyes:

                                LOL so rather than google it - What are the differences between Sanitizing and binding input?

                                is that learned from PHP?

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

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

                                  @Pete-S said in Where to read Code? or Best practices to Learn Code?:

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

                                  @WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.

                                  Most important thing when working with dynamic web pages is sanitizing any input.

                                  I'm almost downvoting that one.

                                  Sanitizing is for losers, binding is for winners.
                                  :smiling_face_with_open_mouth_smiling_eyes:

                                  LOL so rather than google it - What are the differences between Sanitizing and binding input?

                                  is that learned from PHP?

                                  No, it's not language specific.

                                  The difference is how the information the user supplied (for instance in a form) enters the database.

                                  Binding means it goes directly from a variable in the program to the database.

                                  Other option is to use the users data and assemble an SQL statement (database language). Problem is that the user can put SQL code in the information (called SQL injection attack). To avoid that you have to sanitize the input and remove or reencode the data from the user before using it to make an SQL statement.

                                  WrCombsW ObsolesceO 2 Replies Last reply Reply Quote 1
                                  • WrCombsW
                                    WrCombs @1337
                                    last edited by

                                    @Pete-S 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?:

                                    @Pete-S said in Where to read Code? or Best practices to Learn Code?:

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

                                    @WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.

                                    Most important thing when working with dynamic web pages is sanitizing any input.

                                    I'm almost downvoting that one.

                                    Sanitizing is for losers, binding is for winners.
                                    :smiling_face_with_open_mouth_smiling_eyes:

                                    LOL so rather than google it - What are the differences between Sanitizing and binding input?

                                    is that learned from PHP?

                                    No, it's not language specific.

                                    The difference is how the information the user supplied (for instance in a form) enters the database.

                                    Binding means it goes directly from a variable in the program to the database.

                                    Other option is to use the users data and assemble an SQL statement (database language). Problem is that the user can put SQL code in the information (called SQL injection attack). To avoid that you have to sanitize the input and remove or reencode characters.

                                    OH! okay that makes sense.
                                    I've heard of SQL injections before, I read an article years ago on them and how to prevent them . I just didnt remember.

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

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

                                      Mark up languages like HMTL and CSS ( I dont know what careers come from those, but they're options... )

                                      Web Designer. That's the one and only job with those skills.

                                      1 WrCombsW 2 Replies Last reply Reply Quote 1
                                      • 1
                                        1337 @WrCombs
                                        last edited by

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

                                        @Pete-S 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?:

                                        @Pete-S said in Where to read Code? or Best practices to Learn Code?:

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

                                        @WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.

                                        Most important thing when working with dynamic web pages is sanitizing any input.

                                        I'm almost downvoting that one.

                                        Sanitizing is for losers, binding is for winners.
                                        :smiling_face_with_open_mouth_smiling_eyes:

                                        LOL so rather than google it - What are the differences between Sanitizing and binding input?

                                        is that learned from PHP?

                                        No, it's not language specific.

                                        The difference is how the information the user supplied (for instance in a form) enters the database.

                                        Binding means it goes directly from a variable in the program to the database.

                                        Other option is to use the users data and assemble an SQL statement (database language). Problem is that the user can put SQL code in the information (called SQL injection attack). To avoid that you have to sanitize the input and remove or reencode characters.

                                        OH! okay that makes sense.
                                        I've heard of SQL injections before, I read an article years ago on them and how to prevent them . I just didnt remember.

                                        https://www.veracode.com/sites/default/files/styles/media_responsive_widest/public/what-is-sql-injection_0.png

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

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

                                          Mark up languages like HMTL and CSS ( I dont know what careers come from those, but they're options... )

                                          Web Designer. That's the one and only job with those skills.

                                          And front end programmer.

                                          Or backend programmer working on html export.

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

                                            Haven't started any projects yet, cause I dont understand Python. where as with HTML and CSS (so far) It makes sense- I put in what I want it to do and what I want to be there, and it works.

                                            Distill this to help understand...

                                            What you understand is web design or, more generally, making documents. Using HTML is basically like a "more technical" form of making a Word document.

                                            What you don't understand is programming. Or more generally, making software.

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