Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Wrox Announcements and Feedback > Wrox Book Feedback
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Wrox Book Feedback A forum to submit feedback on Wrox books if other forums on P2P have been unable to address your book-specific needs. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Wrox Book Feedback section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 8th, 2013, 01:25 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Frustration RE: beginning PHP 5.3 (Matt Doyle - WROX)

Hello,

I am a first-time user of this forum, but I have used several WROX books in the past as both reference and tutorials. I have recently encountered a problem that I have experienced before with WROX books, and I would like to express this here.

I am currently in the beginning chapters of working my way through Matt Doyle's Beginning PHP 5.3. It is important to note that in the intro and description of the book, the author says:

This book is intended for anyone starting out with PHP programming… the book assumes no prior experience of programming or of building web applications. That said, it will help if you have at least some knowledge of other web technologies, such as HTML and CSS.

That's great. Just what I am looking for, as I have plenty of experience with both CSS and HTML.

But when I get to Chapter 3 (PHP Language Basics) and out of NOWHERE, I encounter this:

BITWISE OPERATORS

PHP's bitwise operators let you work on the individual bits within integer variables. Consider the integer value 1234. For a 16-bit integer, this value is stored as two bytes: 4 (the most significant byte) and 210 (the least significant). 4 * 256 + 210 = 1234.


I know what an integer is, and I know what a byte is, but the rest of that paragraph is a mystery to me. Am I supposed to be able to follow what is going on there?

Then he goes on to a lengthy discussion of how bitwise operators let you manipulate bits directly, and there is an extensive chart with a list of bitwise operators with examples like:

14 & 3 = 2
00001110 & 00000011 = 00000010


All this with no preface or breakdown of what is actually happening when the author says something like:

For a 16-bit integer, this value is stored as two bytes: 4 (the most significant byte) and 210 (the least significant). 4 * 256 + 210 = 1234.

Perhaps I am in the minority in that I have not studied the sub-atomical depths of integers and bits and bytes since high school (many, many years ago), but as a reader and student of the teachings of this book, this took me right out of the flow of the text and frustrated me to no end. Did I miss something? Will I be able to navigate the coming examples and lessons when I have not grasped the unexplained concepts in this section? The author gives no insight.

I asked a friend of mine who is a PHP programmer about this. His take on it was:

"The deal with bit and bitwise ops is that mostly you never need to think about them, unless you're doing REALLY low level stuff with binary and such.

The take home is to understand how the operators work and what they do."


This is great. This is what I needed to know and get back on track. It would be awesome if the author included notes like this to his readers so we don't get hung up on an out-of-left-field concept that appears needlessly cryptic with no real explanation or set up.

Again, maybe I am simply lacking in a certain level of knowledge of mathematical concepts. But the description and intro of the book contain no disclaimers about this - simply that if I have a good knowledge of HTML and CSS (and a basic awareness of web applications and how they function as a user) , I should be able to follow this book.
Reply With Quote
  #2 (permalink)  
Old March 5th, 2015, 01:29 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

All the three APP PHP, Apache and MySql has been installed and have checked it after installing but only PHP is not getting success as Apache server didn't get restart after editing the httpd.conf file with the given steps to configure the PHP Modules.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning Access 2000 VBA (Wrox) Book CloudNine Access 8 October 1st, 2012 08:02 PM
BEGINNING XHTML (2000, Wrox Press) aggman BOOK: Beginning HTML, XHTML, CSS, and JavaScript 0 August 16th, 2010 03:17 PM
PHP 5, Wrox, CH 7 navigator.php Jon_ BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 August 24th, 2008 02:13 PM
Wrox beginning asp.NET 2.0 (e-commerce section) darren0 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 December 18th, 2007 04:05 PM



All times are GMT -4. The time now is 07:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.