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

    Dipping Toes Into Programming

    Developer Discussion
    16
    142
    18.7k
    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.
    • ObsolesceO
      Obsolesce
      last edited by Obsolesce

      I am liking PHP more than Python. PHP seems so much easier in every way so far... but I'm not very far with either.

      matteo nunziatiM scottalanmillerS 2 Replies Last reply Reply Quote 1
      • matteo nunziatiM
        matteo nunziati @Obsolesce
        last edited by

        @tim_g said in Dipping Toes Into Programming:

        I am liking PHP more than Python. PHP seems so much easier in every way so far... but I'm not very far with either.

        If you are mostly focused on websites logic go php. This is the very application field for php. Python is a general purpouse lang. Still useful but for simple web stuff php is the entry point. Let say that if you have to do website jobs for the most, path could be php-> any framework of any general purpouse -> node.js

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

          @tim_g said in Dipping Toes Into Programming:

          I am liking PHP more than Python. PHP seems so much easier in every way so far... but I'm not very far with either.

          I feel that PHP is the easiest language to learn. It was completely designed around simplicity from the very beginning, and was the first language designed specifically around the needs of making web apps.

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

            And since PHP 7 the performance has really leapt forward.

            ObsolesceO 1 Reply Last reply Reply Quote 0
            • popesterP
              popester
              last edited by

              Might be worth a scan. https://www.codementor.io/blog/worst-languages-to-learn-3phycr98zk?utm_content=posts&utm_source=sendgrid&utm_medium=email&utm_term=post-3phycr98zk&utm_campaign=newsletter20180307

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

                @popester said in Dipping Toes Into Programming:

                Might be worth a scan. https://www.codementor.io/blog/worst-languages-to-learn-3phycr98zk?utm_content=posts&utm_source=sendgrid&utm_medium=email&utm_term=post-3phycr98zk&utm_campaign=newsletter20180307

                It doesn't list so many key languages, though. Doesn't really make sense as a list. And community engagement and jobs are both bad indicators - since community engagement is at best loosely related to value and jobs is a reflection of legacy support more than anything. Things like "utility for making products" aren't even considered, nor are some of the most important languages like JavaScript, Python, PHP or the ones that are obviously the worst, like VB.

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

                  @scottalanmiller said in Dipping Toes Into Programming:

                  And since PHP 7 the performance has really leapt forward.

                  I've seen that. I pushed all my servers to PHP 7 a while ago.

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

                    I'm sticking with PHP for now no matter what. I'm getting a bit in to it now, and it's really easy for me to understand and pick up.

                    I don't know if that's because I'm already used to loops and that type of logic already from PowerShell and BASH, but it's way easier for me to catch on than it was with Python.

                    But the differences are so small. I took a quick look at Python last night to compare it to PHP, and it was SO MUCH EASIER after I had done the same stuff with PHP.

                    So PHP is definitely going to be my gateway language, I've been wanting to learn PHP anyways, becuase it's just everywhere and I will get a lot of personal benefits from knowing it.

                    I'd rather do Python, but I feel learning PHP first will be better for me when I get into Python.

                    F 1 Reply Last reply Reply Quote 2
                    • dafyreD
                      dafyre
                      last edited by

                      I actually prefer PHP. I've tried some dot net, Java, and even some node.js (I haven't completely ruled this one out yet as I'm still learning what I like / not like about it).

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

                        @dafyre said in Dipping Toes Into Programming:

                        I actually prefer PHP. I've tried some dot net, Java, and even some node.js (I haven't completely ruled this one out yet as I'm still learning what I like / not like about it).

                        PHP is quite good, I like it a lot.

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

                          I really like Ruby, though.

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

                            @tim_g said in Dipping Toes Into Programming:

                            But the differences are so small. I took a quick look at Python last night to compare it to PHP, and it was SO MUCH EASIER after I had done the same stuff with PHP.

                            Lots of programming is very cumulative that way. You should also be able to apply what you're learning back to powershell

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

                              @scottalanmiller said in Dipping Toes Into Programming:

                              I really like Ruby, though.

                              I had to write a quick little code snippet in Ruby once, was not as intuitive |for| me as I expected.

                              Part of the problem is that I didn't believe the syntax my google searches were showing me.

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

                                @flaxking said in Dipping Toes Into Programming:

                                @scottalanmiller said in Dipping Toes Into Programming:

                                I really like Ruby, though.

                                I had to write a quick little code snippet in Ruby once, was not as intuitive for=>me as I expected.

                                I think you mean the above...

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

                                  @scottalanmiller said in Dipping Toes Into Programming:

                                  I really like Ruby, though.

                                  I've not done much with that one. I tried a few things, but never really took off with it.

                                  1 Reply Last reply Reply Quote 0
                                  • dafyreD
                                    dafyre
                                    last edited by

                                    I actually find it faster to build the interface in straight HTML, CSS, & Javascript and then let PHP or whatever handle the data transports and such.

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

                                      I've been digging through WordPress a little bit in the evenings to see how it's really set up, starting with index.php and following it.

                                      It's freakin huge with so many moving parts and gears, I can see why there's so many devs lol.

                                      But it's very interesting to see how it works at that level, and helps to learn a little too.

                                      dafyreD 1 Reply Last reply Reply Quote 2
                                      • dafyreD
                                        dafyre @Obsolesce
                                        last edited by

                                        @tim_g said in Dipping Toes Into Programming:

                                        I've been digging through WordPress a little bit in the evenings to see how it's really set up, starting with index.php and following it.

                                        It's freakin huge with so many moving parts and gears, I can see why there's so many devs lol.

                                        But it's very interesting to see how it works at that level, and helps to learn a little too.

                                        That will actually help if you ever find yourself having to clean up a hacked Wordpress site.

                                        1 Reply Last reply Reply Quote 1
                                        • ObsolesceO
                                          Obsolesce
                                          last edited by Obsolesce

                                          I came across this link:

                                          Usage of server-side programming languages for websites
                                          https://w3techs.com/technologies/overview/programming_language/all

                                          0_1520486336347_8b7e2bcd-aee8-4c84-88ab-f7cf1cb98630-image.png

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

                                            PHP definitely rules the roost by number of deployments. Just keep it in perspective that that is mostly WordPress, Drupal, Joomla and similar, simple frameworks that are widely deployed. And lots of free apps like vTiger, SugarCRM, SuiteCRM, you name it were always PHP apps. And most web hosts only offer PHP. So PHP does insane numbers of simple "personal websites". That's its name, Personal Home Page.

                                            Then things like Erlang or Java might have small numbers of deployments, but they tend to be things like big financial transaction systems or whatever. Things that aren't deployed very often, but are really significant on a "per deployment" model.

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