/    Sign up×
Community /Pin to ProfileBookmark

Please recommend a "Learn PHP" book for me/my needs

I have a specific website/app/project that I’ve been contemplating/envisioning/intending to get started on for about a year now. I’d really like to go from the ‘thinking’ stage to the ‘doing’ stage ASAP. I don’t want a book that’s all theory and best practices because it takes too long for them to get around to applying the knowledge. Conversely, I don’t want a book that shows me how to do stuff by having me build some webapp from start to finish — I may learn a lot, but in the end, I spent all that time and ended up with an app I don’t care about, while my own app is no closer to fruition. To me, the ideal book would read something like…

“Your webapp is nothing without users, so let’s start with a basic registration form… but first, we’ll need a database to store our users and their data…”
. . .
“Of course, any time we prompt a user for input, we expose ourselves to maliciousness through SQL injections, etc. so let,s go back and modify our basic registration form…”
. . .
“And by the way, since we’ll be accepting user input throughout the site/app, let’s take that input sanitization code and put it in a function so we can easily reuse it later…”

In other words, I like examples (and I’d like to have lots of them – covering all manner of common functionality) but I’d like them to be presented in a fairly general manner so I can choose which ones are right for me and customize them to fit my app. And I don’t mind redoing something multiple times in order to apply newly learned concepts – at least I’ll be making progress.
Sorry for the long post. (I thought the examples might best illustrate what I’m looking for.) Thanks so much for reading and thanks in advance for your input and suggestions.

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @Donny_Bahama spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...