Reddit Reddit reviews PHP and MySQL Web Development (4th Edition)

We found 24 Reddit comments about PHP and MySQL Web Development (4th Edition). Here are the top ones, ranked by their Reddit score.

Computers & Technology
Books
SQL
Databases & Big Data
PHP and MySQL Web Development (4th Edition)
CD-ROM included with PDF version of text.
Check price on Amazon

24 Reddit comments about PHP and MySQL Web Development (4th Edition):

u/Xpertbot · 5 pointsr/PHP

LOL, I am also a Junior PHP developer with a Java background ( I didn't want to work for a big corporation doing Java). I took a whole summer to read this and that was more than enough to get the basis of PHP. Its way easier than Java for sure. Good luck.

u/CaptinShmit · 4 pointsr/PHP

> I'm trying to learn programming had have chosen as my language of choice.

What? What language have you chosen?! The suspense is killing me!

But seriously, this tutorial on Tizag was very helpful to me when I was first learning PHP a few years ago.

And the book PHP and MySQL Web Development is huge, and I never technically "finished" reading it, but it's certainly got some good stuff in it and I would recommend you check it out.

By and far, the best way to learn any kind of programming, is to just do it! Before I started reading programming books, I only knew exactly enough to do what I wanted to do. Choose a project to start with and keep Googling until you figure out how to make it a reality.

Let us know if you need any further help!

u/cs2818 · 4 pointsr/PHP

Grab a decent book on the subject, I used PHP and MySQL Web Development years ago to get started.

Alternatively, Lynda.com has some basic PHP intro videos.

And you can find both of these options for free by searching around if you want.

u/mogwai512 · 3 pointsr/PHPhelp

> I want to return response in real time to javascript

I'm about to get really thorough with my response so, "hold on to your butts"

 

As /u/Mike312 hinted at, this is not how PHP and vanilla Javascript works, and as such you would have to seek alternative frameworks or languages(like Websockets, NodeJS) or you can keep reading for an alternate solution.
 

What you must understand is that PHP is code that lives on and is rendered on the back-end (server). That means that by the time the front-end (browser) has access to the page, the PHP code on the server has already executed.

 

Now that you better understand relationship between PHP & Javascript means you have two options, a simple one and a more complex one:

 

Simple Option: Abandon real-time
 

Since you seem to be a beginner when it comes to PHP, this is the option I recommend as it is the simplest and fastest. In this case, you would have something on the front-end, like a button, that would call a new page. This page will render the results of the function I provided you.
 

To break it down:
 

  1. You press a button in the browser.
     
  2. The button redirects you to a new page.
     
  3. The new page has the PHP function I provided you above, and runs it.
     
  4. A page is the rendered to the user saying something like "After X attempts, here are the results: "
     
     

     

    Complex Option: Explore AJAX
     

    AJAX or Asynchronous JavaScript and XML allows your browser(front-end) to make calls to your server (back-end) without reloading the page. This means that, as an example, you can create a button on the front-end that executes a javascript function. The javascript function would then make an AJAX call to your server, and you could return that server data WITHOUT having to reload your page. Please see the link I provided above for a very good example.

    I won't write up full on code for you that shows you how the HTML/JS/AJAX/PHP all interact but, here is an outline of how I would do it:
     

  5. Modify the fgcContents function I gave you above to only take in a URL, and only return results and data. Since you are using AJAX, your front-end should manage and return the number of attempts. This will be explained in more depth later

  6. Create an HTML page with a button.
     

  7. Have the button trigger a Javascript function
     

  8. Have the JS function define two variables, the number of attempts and the URL to hit (the url is where your PHP code will reside).
     

  9. With those variables defined, build out your AJAX request using the url variable, but do NOT call it yet. Instead, define a loop that will repeat X times, with X representing the variable you defined above as the "number of attempts".
     

  10. Inside the loop, make the AJAX call, but also add checks for whether or not the AJAX call failed or succeeded.
     

  • If the AJAX call succeeded: This means that the AJAX call was successful, it does NOT mean that your fgcContents function was successful, so you need to examine the results of the call (which should be the results of the "fgcContents" function) and use javascript to update your HMTL. For example, if "fgcContents" returns an array where "results" is TRUE, then you can update or add some HTML on your page that says "Attempts: 1 and Data: your_data_here". If results is "false" ("fgcContents" returns an array where "results" is FALSE), then you can update your HTML to list out the number of failed attempts, and with each failed attempt, the users page will update, thus providing you real-time results.

  • If the AJAX call failed: Again, this does NOT mean the fgcContents function failed, it just means the AJAX call did not go through. This can happen due to errors in your code, network issues, etc. Either way you will need to capture this and report it to the user somehow.

     

    I know this is a lot of info to take in, but it should help implement a simple solution, then as your knowledge grows you can implement the complex solution.
     

    As a side note, if you are really looking into learning front-end/back-end development, I recommend the following books:

    Web Design with HTML, CSS, JavaScript and jQuery Set

    PHP & MySQL Development
u/warl0ck08 · 3 pointsr/androiddev

Depending on what you are looking to do, and how ambitious you are, you can use something like Parse if you wanted.

The cheapest way, and the most customizable is using JSON, PHP, and MySQL. You can calculate, do whatever, and give it back to the app. [This] (http://www.amazon.com/PHP-MySQL-Web-Development-4th/dp/0672329166/ref=sr_1_1?s=books&ie=UTF8&qid=1397851709&sr=1-1&keywords=php+and+mysql+web+development) is a good book on PHP and MySQL. A simple tutorial on how to use JSON in Android and PHP should get you on the right track.

u/U3011 · 2 pointsr/webdev

PHP and MySQL Web Development (4th Edition)

Beginning PHP and MySQL: From Novice to Professional

Read the second book, do all the examples, then go back to the first book. Pay a lot of attention toward array manipulation. When you're comfortable with that, get into OOP. Once you do and OOP clicks for you, you'll be able to go to town on anything. I've heard a lot of good about Jefferey Way's video lesson courses over at TutsPlus. I've never used them nor do I need to, but I've never heard a single bad thing about their video courses. Their Javascript and Jquery is a great starting point. This is great stuff too if you're willing to put in the time.

Professional JavaScript for Web Developers

JavaScript: The Definitive Guide: Activate Your Web Pages

Responsive Web Design with HTML5 and CSS3

The Node Beginner Book
Professional Node.js: Building Javascript Based Scalable Software

Paid online "schooling":

http://teamtreehouse.com/

http://www.codeschool.com/

Bonus:

http://hackdesign.org/


I've got a shit ton (Excuse my French) of books in print and E-Format that I could recommend, but it would span a couple pages. Anything is easy to learn so as long is it's served in a hierarchical format that makes it easy to absorb the information. A year ago I started to learn Ruby and using ROR as a framework. I can say it's been quite fun and I feel confident that I could write a fully complete web app using it. I started node.JS a few months ago, but it's been on break due to being sick and some unexpected events.

My knowledge is extensive only because I wanted it to be. I'm not gifted by any means nor am I special. Not by a longshot. Some people are gifted when it comes to dev and design, most are not. Most only know one or the other. I forced myself to learn and be good at both. I'm 23, I started when I was about 12. I'm only breathing more comfortably now. I know a load of people on here and other sites who make me look like complete shit.


Also for what it's worth, sign up to StackOverflow. It's the bible and holy grail rolled up into one site. It's amazing.

u/shinigamiyuk · 2 pointsr/learnprogramming

I learn by doing: Become a PHP developer from Treehouse. I have found that treehouse is pretty basic for learning, but you are leaning by project based. They do keep adding stuff though, this is not apart of the learning adventure but they just finished using PHP with MYSQL. I like the flow and challenges and type everything out that they are doing. There is also this great PHP book, it was written in 2008 but I didn't have any trouble with the text, or project. You basically build a dynamic web app that you keep adding features to. First book I have picked up that kept me interested from chapter to chapter. I normally get programming books and never read them, or get super bored with them.

u/SandyZoop · 2 pointsr/PHP

My company is working on an introductory PHP book, but I'm not sure when it'll be out (my hope is soon). It will be up to date, at least.

Until then, the most solid introductory one I've found is Luke Welling and Laura Thomson's book. It, too, is a bit long in the tooth now, but it's pretty solid. They are working on a new edition, apparently, which I'll recommend until my wallet says to trash it in favor of ours. ;)

For free resources, as always, I'll plug PHP the Right Way which really does cover up-to-date practices for developing with PHP and also covers lots of PHP 5.4 and 5.5 stuff.

u/pisskidney · 2 pointsr/PHP

read this
then this

Build something you like while reading them.

u/FurriesRuinEverythin · 2 pointsr/PHP

This was the book that helped me learn a lot of what I know

http://www.amazon.com/PHP-MySQL-Web-Development-Edition/dp/0672329166

It's probably considered somewhat dated with all the current obsession with OO, MVC and "unzip and run" web apps. I'm not sure though as I had the first edition, years ago. But it is one of the best PHP books out there for beginners.

u/systematical · 2 pointsr/PHP

I grabbed a book from my local library 12 years ago and thats how I started. Went through half the book doing all the samples by hand, modifying them, even the dumb loop examples. It was this one https://www.amazon.com/PHP-MySQL-Web-Development-4th/dp/0672329166/ref=pd_lpo_sbs_14_img_1?_encoding=UTF8&psc=1&refRID=MX0CNNA5F6P8BBSAD4J7

I'd start by rummaging through your local library. The book will act as a lecture, you can use google for the rest. It's best to have a project in mind that you will build. It was at least motivating for me knowing that once I got through enough of the book I could actually build what I wanted. Wasn't pretty to start, but it worked.

u/AjdinSamurai · 2 pointsr/learnprogramming

Add "" around free.This is an amazon link.I am short on money too but at least I will say it's pirated.

u/no_dice_grandma · 2 pointsr/learnprogramming

For PHP and MYSQL I really liked this book:

http://www.amazon.com/PHP-MySQL-Web-Development-Edition/dp/0672329166/ref=sr_1_1?ie=UTF8&qid=1372691445&sr=8-1&keywords=php+and+mysql+web+development

It doesn't have much in the way of JS, and it is not free, but the 20 dollar kindle version is worth it in my opinion. The high reviews are accurate, and the author doesn't spend much time with stuff like "this is a variable, a variable is blahblah!!"

I haven't made it all the way through yet, as I am currently picking up Java at the same time for work, but so far the book is great.

u/[deleted] · 2 pointsr/PHP

PHP's documentation is quite good. Keep http://php.net/quickref.php handy. Also, you can search for any function, etc. by going to http://php.net/<keyword>

NetTuts has some good stuff.

This book is good, but is a little dated now. Still good info in it, though.

If you want to make life easier for yourself, install XDebug (here's a guide to get it up and running with XAMPP (not sure how up to date this is as I've never had a need for it personally)). The stack traces will make finding/debugging errors a lot easier.

u/appfiction · 1 pointr/PHP

I would suggest you reading some well written PHP books, although this is a bit old fashioned.

For example:
http://www.amazon.com/PHP-MySQL-Web-Development-4th/dp/0672329166/ref=sr_1_16?ie=UTF8&qid=1427697951&sr=8-16&keywords=PHP+5

u/ReconZeppelin · 1 pointr/PHP

Wow. Thanks for the list. Yep, that's pretty much what I had in mind - and I suppose I'm doing this to learn and to have a working system at the end of all of this. As for my knowledge, I'm NOT very smart in PHP or MySQL. I've been reading a book called PHP and MySQL Web Development it's long, but I hope to be familiar with the language as I take my time with it throughout my life.

u/softwaredev · 1 pointr/learnprogramming

I like PHP and MySQL Web Development, it explains everything step by step and with usage examples.
http://www.amazon.com/PHP-MySQL-Web-Development-4th/dp/0672329166/ref=sr_1_1?ie=UTF8&qid=1289178511&sr=8-1

You should also check out w3schools http://www.w3schools.com/php/default.asp

u/SavageGoatToucher · 1 pointr/learnprogramming

I'd recommend this book. The examples start you off small, and in many chapters they build upon each other as well. They go over important concepts including things that you may not think about right off the bat, like Security. It's the book I used when I got started, and I just adapted the examples to my own needs as I was going through the book.

u/unconscionable · 1 pointr/learnprogramming

This book will walk you right through all the basic stuff you'll need.

Eventually you'll almost certainly want to move into a PHP framework that takes care of a lot of the messy stuff you'll learn how to do in that book.

I'd highly recommend watching some of the introductory zend casts.

u/junglizer · 1 pointr/IWantToLearn

That looks like a pretty solid book. I have used PHP and MySQL: The Developers Guide in the past and it has served me well. I used it in college and bought myself a copy a while back. However, I will caution that I know several versions of PHP or SQL, or specifically how it connects has changed since the release of the book. I have found that the PHP information is otherwise accurate and very helpful.