Free Downloads
The Joy Of PHP: Deep Dive Into Sessions

In the book “The Joy of PHP” we introduced new programmers to the world of creating interactive web sites using PHP. To make the topic more interesting we invented a case study of “Sam’s Used Cars” to describe the how someone who sells used cars could use PHP and mySQL together to create a website that accurately reflects the ever-changing inventory of used cars. That book has been a consistent best-seller and is the top-rated book in its primary category (Computers & Technology --> Programming --> PHP).Readers told me (overwhelmingly) that they wanted more, and specifically wanted a series short books that cover a particular topic in detail. This way you can pick out just the topics that interest you. In this SHORT book we extend Sam’s story (and the accompanying sample website and source code) to take advantage of a feature of PHP called “sessions”. By using sessions we’ll allow people to log into Sam’s website (if they want to) and present different features and information to different people. For example, Sam (the owner) should be able to see how much a car actually cost while the car shopper should only be able to see the asking price. Other features might be appropriate for sales people, data entry people, etc. We call this role-based features and explain how it works in the book. This book will walk you through--step by step-- in creating a user table in your cars database to store users' name, password and role. We'll explain how to create a login form, submit that form to a PHP script to perform the necessary user lookup, and then assign the user a set of session variables to that user based on who they are. Every line of code is explained in clear, easy-to-understand English. While it isn’t required that you first read The Joy of PHP, I do (naturally) recommend it. This book is a continuation of that story and builds on the knowledge (and code base) that The Joy of PHP presents. Although I’ll try to make this book stand on its own, I do want you to succeed so I’ll warn you right up front. For this book to make sense, you will need to know some basic PHP syntax, you will have PHP already installed and running on your computer, and you will know how to use phpMyAdmin. You will also need to know basic SQL queries such as INSERT, UPDATE, DELETE, and CREATE TABLE. If you know these things already then you should be just fine with this book. even lets you return it if you are not satisfied.Are you ready to take the next step and take a Deep Dive into Sessions?

File Size: 752 KB

Print Length: 57 pages

Publisher: Plum Island Publishing, LLC; 3 edition (November 15, 2013)

Publication Date: November 15, 2013

Sold by:  Digital Services LLC

Language: English


Text-to-Speech: Enabled

X-Ray: Not Enabled

Word Wise: Not Enabled

Lending: Not Enabled

Enhanced Typesetting: Enabled

Best Sellers Rank: #409,267 Paid in Kindle Store (See Top 100 Paid in Kindle Store) #53 in Kindle Store > Kindle eBooks > Computers & Technology > Programming > PHP #99 in Books > Computers & Technology > Programming > Web Programming > PHP #372 in Kindle Store > Kindle Short Reads > 90 minutes (44-64 pages) > Computers & Technology

The Joy of php: Deep Dive into Sessions and the original Joy of php are great books to learn php. They are a fun and easy read, not like a text book; and with real life examples (and a large continuing project) anyone can walk away with a good understanding of php.

I can already program and I needed something to get me onto PHP and this book did it with ease and the shortest time. The last time I coded was some 10years ago so I was rusty. This book refreshed and got me up to speed. In my case, there was no skipping through as this book just focussed on getting the important programming concepts across for PHP like variables scopes and naming, loops, forms, and databases. Exactly what I needed to focus on to get back on track. I am so glad I found this book so I didn't have to spend a fortune on a mazed up gold mine.

This "small" book is a great way to go deeper into the session variables! it's a perfect add-on to the joy of PHP

After purchasing and reading the original Joy of PHP, I decided to buy this book too as I could learn a lot from its formal book.I was sure that I can learn further about PHP languages and this has been working so great too. It has many real examples to understand self-learners like myself. I would like to recommend you to buy this small but strong book, after the Joy of PHP for beginners. This is shorter than its formal book but it has many strong points.P.S, price is very reasonable too! If you are still deciding? just buy it. You won't regret it.Thank you, Alan :-)

This book covers only the simplest and most basic usage and too little about sessions in it self. No deep dive at all. Instead, much space is dedicated to explain simple php and html code as well as simple protection that has little to do with sessions.The meat of this could easily fit into a short article.

PHP: Learn PHP In A DAY! - The Ultimate Crash Course to Learning the Basics of the PHP In No Time (PHP, PHP Programming, PHP Course, PHP Development, PHP Books) The Joy of PHP: Deep Dive into Sessions PHP: QuickStart Guide - The Simplified Beginner's Guide To PHP (PHP, PHP Programming, PHP5, PHP Web Services) Php: Learn PHP In A DAY! - The Ultimate Crash Course to Learning the Basics of PHP In No Time (Learn PHP FAST - The Ultimate Crash Course to Learning ... of the PHP Programming Language In No Time) PHP: MySQL in 8 Hours, For Beginners, Learn PHP MySQL Fast! A Smart Way to Learn PHP MySQL, Plain & Simple, Learn PHP MySQL Programming Language in Easy Steps, A Beginner's Guide, Start Coding Today! PHP: MYSQL 100 Tests, Answers & Explanations, Pass Final Exam, Job Interview Exam, Engineer Certification Exam, Examination, PHP programming, PHP in easy steps: A Beginner's Guide Dive the Cayman Islands (Interlink Dive Guide) Dive Log: A Divemaster's Dive Log Programming iOS 9: Dive Deep into Views, View Controllers, and Frameworks Embedded Programming with Android: Bringing Up an Android System from Scratch (Android Deep Dive) Deep Dive: The Magical World of Functional Programming- Part II Learning PHP, MySQL & JavaScript: With jQuery, CSS & HTML5 (Learning Php, Mysql, Javascript, Css & Html5) PHP Cookbook: Solutions and Examples for PHP Programmers Zend PHP Certification Guide 5.5: A programmers guide to PHP Beginners Guide On PHP Programming: Quick And Easy Guide To Learn PHP With My-SQL PHP: Crash Course - The Ultimate Beginner's Course to Learning PHP Programming in Under 12 Hours Deep Thoughts & Vulgar Quotes: The Book for Adults filled with Dirty Quotes, Deep and Vulgar Thoughts, Profane Proverbs! (Shut the F*ck Up and Color 7) Deep Calling Unto Deep: The Dynamics of Prayer in the Perspective of Chassidism (Mystical Dimension) Essays That Will Get You into Medical School (Essays That Will Get You Into...Series) [Second Edition] (Barron's Essays That Will Get You Into Medical School) Upside Down: How the Left Turned Right into Wrong, Truth into Lies, and Good into Bad