PHP - What is...

Sdílet
Vložit
  • čas přidán 12. 09. 2024

Komentáře • 40

  • @elithecomputerguy
    @elithecomputerguy  Před 5 lety +6

    Go to www.elithecomputerguy.com to copy/paste code samples

    • @jager0724
      @jager0724 Před 5 lety

      PHP is indeed an interesting choice. However, I feel that it's a bad one. Let me explain:
      While PHP is a dynamically written language (resembling JavaScript in that regard), it's main use is the backend of a website. If you were to write JavaScript code, you would essentially be a God.
      Before node.js, JavaScript used to be a niche language used only for frontend web pages. Some browsers didn't even "understand" it, so jQuery had to be used in its stead. Plus, JavaScript was ugly and people benefited off of writing jQuery and learning PHP.
      Nowadays, with more and more JavaScript reworks (ES6 and later), JavaScript is arguably the most powerful and useful language, rivaling the divine Python itself.
      With JavaScript and jQuery, you can write frontend programs and some more advanced applications with React.js (courtesy of Facebook). If the code gets out of hand (my max was about 15 to 20 pages of React and around the same of CSS), you can get into state management programming and learn Redux. Holy cow, it's a lifesaver!
      With node, you can write backend using the same language. With Electron, Proton Native and Carlo, you can write desktop apps as well. And let's not forget React Native and NativeScript, the cornerstone of writing mobile applications.
      You can do a lot with a singular language and a couple of libraries and frameworks, so long as that language is JavaScript

  • @katastrophecy
    @katastrophecy Před 5 lety +7

    Eli, you are honestly one of the greatest sources of IT information on CZcams. Thank you so much for all of your content.

  • @frogout7460
    @frogout7460 Před 5 lety +18

    I'm so glad Eli you are really back!! Your videos are the best. Please keep up the good work!!

  • @HeYoK.4726
    @HeYoK.4726 Před rokem

    If Eli talks about it and you still don't get it, there is no hope for you.
    This is one of the only channel that deserves Millions of subscribers, this would be a great achievement for this tech channel...if I could, I would subscribe over 10000 times to start and subscribe again every time I watch one of your videos.
    Thank you Eli

  • @dangerousInfo9
    @dangerousInfo9 Před 5 lety +1

    Even though i know php that much. I still always want to watch Eli's lecture. One of the best teacher's out there.

  • @web_devs
    @web_devs Před 5 lety +2

    Holy Mother of God... YOU ARE BACK... Man this Christmas will turn out good

  • @samuelabel2580
    @samuelabel2580 Před 5 lety +1

    Am so happy you are back with php tutorial

  • @codingclubeictcodingclubei9689

    best and happy instructor

  • @shubhamkumarsingh8224
    @shubhamkumarsingh8224 Před 5 lety +1

    waooo old Eli is back.....

  • @rodrigomonteiro9086
    @rodrigomonteiro9086 Před 5 lety

    Hey Eli, have you ever thought about making podcasts? You have a deep voice and are pretty eloquent when speaking. It'd be awesome to ~~listen to your episodes.

  • @tasanie1
    @tasanie1 Před 5 lety +1

    Hi Eli can you do a lecture on 5G technology..the basic principles and physics ...pro and cons..future application etc

  • @willysnowman
    @willysnowman Před 5 lety +1

    Ahhh, PHP is the scratch that controls the jack. Welcome back nerd!

  • @danielcreed2106
    @danielcreed2106 Před 5 lety

    Sorry to comment an unrelated question Eli. I am long time fan I am currently a Linux administrator. I am thinking about doing my ccnp after completing my mcsa server 2016 and mcsa windows 10. I have one server exam left. Am I crazy or does this sound like a logical move to further my career. Hope you read this and answer my question. By the way I am 25 got my ccna already just to clarify but from 2013.

  • @lindroidhybridoslinux1978

    Eli , What is Articel 13 and how can it help CZcamsrs :)) Waiting for your next video about it , i,m sure you have something to say about it , thanks buddy one love

  • @Rex-ue9tn
    @Rex-ue9tn Před 5 lety

    Thank you very much!!!!

  • @MichaelFrancis222
    @MichaelFrancis222 Před 5 lety

    Thank you

  • @timelesstrance3720
    @timelesstrance3720 Před 5 lety +1

    A secretary can code php which is the secretary in itself.... php is a secretary²

  • @akbarabbas4084
    @akbarabbas4084 Před 5 lety

    please make some javascript tutorials thank you so much very helpfull

  • @marshal7102
    @marshal7102 Před 5 lety

    Hi Eli, I have been looking for help all over the net and no one can solve my dilemma , But I'm sure you can. I have been trying to log onto windows server 2012 r2 with windows xp professional and all i get is "The server is no longer available" I have tried everything I can think of to no avail I need this computer because Windows xp is the only version that I can use for this particular software but i need network access to load files off the server Can you give me any directions please. Every one else just show how to log on but They don't show what to do if you can't.

  • @ramueller11
    @ramueller11 Před 5 lety +1

    With due respect, this talk sound like a rambling spiel from someone that hasn't written PHP in the past two decades. PHP may have been born as a lightweight "fill in the blanks" language - but today is a full blown server-side language where as the only game on the client-side is Javascript. "Dynamic webpages [sic]" can be generated on the server side or client side. For some applications, the "dynamic webpage" content is rendered on the server - or in others it is rendered on the client side. In practice, most modern applications use a hybrid system where asyncronous calls to the server are made from the client. Typically, modern server code is related to data retrieval and storage where as client side code is more limited to presentation.

  • @GunDoDaTalkin
    @GunDoDaTalkin Před 5 lety +10

    Crazy how people.dont care about like you say "real technology" I know some "IT" people that are more interested in the iPhone's IP rating than PHP or even RAID or whatever other actual technology. 🤦

  • @AmanGupta-ho4rh
    @AmanGupta-ho4rh Před 5 lety

    sir please make videos on javascript. It will help us a lot

  • @terrenceseidman2587
    @terrenceseidman2587 Před 5 lety

    Glad your back!! whts a good site for a free website?

  • @sbutler7069
    @sbutler7069 Před 5 lety

    From what I was told javascript would fall under interactive not dynamic.

  • @noferblatz
    @noferblatz Před 5 lety +1

    You characterize PHP primarily as a templating language, though you don't express it that way. You mention, for example, being able to output Javascript with PHP. Nobody in their right mind would do this. Javascript would be embedded in the HTML or called between two "script" tags or whatever. PHP could be used this way, but it's not normally. It's vastly more common to use PHP to deal with databases (which you mentioned) or handling form input (which you also mentioned). But full templating of a web page is a rare use. One of the reasons is that there are tools which do a much better job when it comes to laying out a web page, like Dreamweaver. This allows designers to tailor a web page precisely, with proper CSS and HTML 5. And the process is WYSIWYG. A web designer or page designer would not normally use PHP for that task. It's an unneeded level of indirection. By contrast, there may be instances where PHP is the best choice. For example, outputting the contents of a database table. It's often easier to simply tell PHP to output the table, tr, td and th codes when doing a job like that. But full templating of web pages is rare and generally a bad idea. Note: I am a PHP programmer.

    • @Cognitoman
      @Cognitoman Před 5 lety

      noferblatz it’s. Templating a whole page isn’t rare anymore thanks to javascript 😂. Maybe in php it’s rare, but, with SPA it’s not.

    • @ericglover259
      @ericglover259 Před 5 lety +1

      PHP is literally a templating language, it was originally made that way and expanded to handle more functionality that traditional "backend" languages would serve (business logic used to be done in C++ or C apps and rendering an html file that the client could load was done based on php variables and the resulting data from you "backend" application). People do this less often now but I was working on code in production today that was written with php for templating.
      Now that I've been rude let's be fair, modern php does business logic (handles data base queries, and performs calculations and blah) and routes the Request to an html file that is appropriate (see Silex, Doctrine, Symfony for examples). This is considered best practice because it's easier to maintain and easier to write because it leverages well tested libraries.
      That said if you're just learning php don't worry about that and write anything your heart desires JUST DON'T PUT IT IN PRODUCTION - so don't run the next facebook with poorly written code. Write your Hello World.php and task list app in php. Then read Silex's documentation, understand middleware, routing, Twig templating, MySQL (or your preferred DB), Doctrine (or your preferred ORM). Then write a clean application based on those concepts and a nice style guide.
      Example - old way
      nginx routes request to index.php

    • @ericglover259
      @ericglover259 Před 5 lety

      SPA's are really fun man. Do you have your spa make calls that expect a json response or a string of html that your can $() or document.createElement() with? Just curious, I see both a lot.

    • @Cognitoman
      @Cognitoman Před 5 lety

      @@ericglover259 Well as far I know, I have never seen Jquery used as SPA or the server send back a html response. 99.99 percent of the time your going to use a framework to build an application as SPA with something with React, angular, or vue(it would be insane to build it yourself). You wanna use SPA with a REST API, where your AJAX call only sends back JSON rather then rendering some sort of html or file from the backend. All the re-rendering is done with the frontend rather then backend. With HTML5 you gan give the the illusion to the user that they are changing pages by manipulating the URL and all that.

  • @anredickerson1535
    @anredickerson1535 Před 5 lety

    40 hours to learn php let see; I've never codes before I'm kind of just paying around with it for fun

  • @Cognitoman
    @Cognitoman Před 5 lety +1

    “What is php?” Php is el diablo!!!! (Say it in Spanish)

  • @kabukisyneri296
    @kabukisyneri296 Před 5 lety

    I've heard PHP as kinda outdated at this point.

  • @hanes2
    @hanes2 Před 5 lety

    PHP... like Java, is a obsolete programming language. What's the reason to use PHP? 1. because you got a shared hosting simple crappy website. Or you use it like Java because it's already implemented, so it's cheaper to make it work until you're forced to switch.

    • @hanes2
      @hanes2 Před 5 lety

      @3,14 _ If you want so specify in terms of web applications, Javascript/TypeScript/Python is secure languages that will be used for a good while as it's also system integration languages compare to eg. PHP. Also Ruby is pretty much dead since RoR died. I personally waiting for Javascript to die, but I doubt that happens. It's a awful language. C# .NET Core is also one that as of .NET was pretty much dead for the web (remember ASP.NET MVC? XD), but now making a comeback in the enterprise with companies who already run C# code.

    • @tonifasth
      @tonifasth Před 5 lety

      @3,14 _ Yes, learn PHP, Java, HTML5, CSS and JavaScript. You'll definitely get a job with that knowledge. Python is also on the rise and it does not hurt to learn how to work with NODE.js either.
      Basically anything that is related to WEB and Mobile is worthwhile.

  • @asimabusallam3147
    @asimabusallam3147 Před 3 lety

    pless u

  • @denovo3949
    @denovo3949 Před 7 měsíci

    Peee H Peeeee