Screencast Build a Badge Viewer App With PHP PHP

  • Hampton Paulk


  1. bryantricart2 said

    The 'Try PHP' course was great! Can't wait to see a Symfony Framework course!

  2. jhzhou said

    how to get the json data, when I type json at the end of page address. Just shows {"status":"500","error":"Internal Server Error"}

  3. Faculty

    Jon Friskics said

    @jhzhou you've got to make your report card public in order to be able to access it as JSON by adding .json to the end. If you navigate to your report card there's a "Make Public" button at the top right of the page.

  4. Tapaalak said

    Hi, you should indicate this on the video as I spend a lot of time to find this requirement.

  5. Nicklas Bach Andreasen said

    Hi! I must admit, I've been waiting for PHP to come out, and it went out very well. By watching the video, I can see that your .json and local file at the start is listed, mine is just a big mess. I can also see, that you have som chrome extensions, which I think could be an answer to my prayer, but what are the extensions?

  6. Faculty

    Hampton Paulk said

    @Nicklasbach02, make sure that your report card is public

  7. Aziz Tovbaev said

    the css file doesn't have the same styling with local xampp server, but the file has the same styling as in the screencast when it's deployed into Heroku. This is another challenge !

  8. nirsegev said

    Nicely done!

  9. Nazar Tokar said

    Great session! Waiting for further php lessons!

  10. Jessie Valladares said

    how is this thing works, im new to php

  11. MonteSa said

    After writting the first two lines of code: $data = file_get_contents(''); var_dump($data); I get an error: Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in C:\AppServ\www\ejerciciosphp\index.php on line 3

    Warning: file_get_contents(): Failed to enable crypto in C:\AppServ\www\ejerciciosphp\index.php on line 3

    Warning: file_get_contents( failed to open stream: operation failed in C:\AppServ\www\ejerciciosphp\index.php on line 3 bool(false) Previously, I uncomment extension = php_openssl.dll in php.ini
    in order to solve another error, that said I had forgotten to enable wrapping https. But I cannot fix this one by myself. I have php 5.6, Aptana, Appserv. I am stuck. Thanks for the help

  12. eling said

    How did you unminify the json data @ 6:22?

  13. MonteSa said

    Hello again, I tried to solve it inserting openssl.cafile=/usr/local/etc/openssl/cert.pem in Now return these errors: failed loading cafile stream: `/usr/local/etc/openssl/cert.pem' Failed to enable crypto failed to open stream Apreciate some advice to keep on. Thanks

  14. Camilo Riviere said

    It would be nice if the links for the requirements opened up in a new tab.

  15. David Mellor said

    Great video! I followed it step by step but for some reason my css files wouldn't apply to my page, so I just had one big list of courses with resized image files. I even forked the repo from github and copied across the css and image folders from there into my atom project, and it still didn't work. I've also copied and pasted the exact html/php code from the repo (whilst keeping my own badges linked in) and this didn't change anything, so I know my written code has no errors in it. Please can you help?

    Thanks! :-)

  16. Denver Prophit Jr. said

    In the git add and commit, you guys should have just done git commit -a -m '...' To add and commit untracked and modified files.

About This Screencast

In this episode, we will be utilizing the skills you learned in the Try PHP course to build a simple badge viewer app. We will demonstrate how to use PHP to bring in data from a JSON API to display badges and other information from your Code School profile.

You need to be an enrolled student in order to view this video and subscribe.

Enroll Now