Boston PHP Message Board › Chapter 1: PHP Percolate! Season 4

Chapter 1: PHP Percolate! Season 4

Gene Babon
Posted Aug 2, 2012 12:18 PM
babong
Brighton, MA
Post #: 1,385
Send an Email Post a Greeting


This space is reserved for updates and questions about Chapter 1 of the PHP for the Web book being used in the PHP Percolate!, Season 4 virtual self-study group.

Thanks,

Gene Babon
Chief Percolator

Go to ... Master Discussion List
William F. Zachman...
Posted Aug 4, 2012 5:06 PM
canopusresearch
Duxbury, MA
Post #: 16
Send an Email Post a Greeting
Off to an early start. Just went through the first chapter. I've got Apache, PHP, and MySQL set up on my desktop system and am using Adobe Dreamweaver CS6 as my editor. I've set up a localhost/phppercolate directory and put all the downloaded files from the book (http://www.larryullma...) in a sub-directory under that one. Chapter 1 is pretty basic and it only took a few minutes to work through the examples from it. I've also set up with a membership over at Larry Ullman's site at http://www.larryullma... to get access to the forums there.
Gene Babon
Posted Aug 5, 2012 10:35 AM
babong
Brighton, MA
Post #: 1,398
Send an Email Post a Greeting
@William -- Rockin'! Nice to see you jump in and get an early start. This is a solid summary of Chapter 1. I appreciate you're leading the way.
Gene Babon
Posted Aug 8, 2012 8:36 PM
babong
Brighton, MA
Post #: 1,411
Send an Email Post a Greeting
Chapter 1 -- complete.

Nothing too tricky here. A nice basic intro about how PHP code gets intermingled with HTML and CSS code.

The one adjustment I made was in the creation of a template page called welcome.html (pp. 4 - 6). If you view > page source you will notice that I chose to create a template using HTML5 tags instead of XHTML. Our book was published in March 2011. Over the past 18 months the web has moved forward. I believe we've reached a junction in Web coding where all websites moving forward should be built using HTML5. All "normal" browsers recognize HTML5 code and display contents reasonably well. More importantly, HTML5 is mobile-device ready.

For a nice overview on HTML5, check out Back to basics: how to code an HTML5 template.

The choice is yours. You can use XHTML, if that is what you are comfortable with. Or you can use this opportunity to transition to HTML5.

Larry Ullman
Posted Aug 9, 2012 9:40 AM
user 57195822
Boston, MA
Post #: 1
Send an Email Post a Greeting
I would definitely recommend using HTML5, and that's what I use for work and personal sites. I only choose not to use HTML5 in this book because I didn't want to throw one more new idea at the reader.
Gene Babon
Posted Aug 9, 2012 7:39 PM
babong
Brighton, MA
Post #: 1,413
Send an Email Post a Greeting
@Larry -- smile
Cici Spaulding
Posted Aug 10, 2012 6:08 PM
user 11886015
Charlestown, MA
Post #: 4
Send an Email Post a Greeting
Completed Intro and Chapter 1: http://www.cicidesign...

I'm starting this now because I know that my schedule is unpredictable so I need some lead time.

I installed MAMP and am using Dreamweaver to create and edit files. I usually use Text Wrangler and steer clear of Dreamweaver because I fear sloppy code, but decided that I would like to try designing a web site at some point with Dreamweaver. I was impressed by the glimpse that I got of the Media Queries options page.

The PHP for the Web book is, so far, easy to follow and I am really looking forward to getting to know PHP better so that I can tweak code with confidence.

Good luck everybody!
Gene Babon
Posted Aug 12, 2012 2:18 PM
babong
Brighton, MA
Post #: 1,415
Send an Email Post a Greeting
@Cici -- I'm getting an error when accessing your PHP files.

[an error occurred while processing this directive]

Can others please test as well?

Thanks for the update on software you are using: MAMP and Dreamweaver

Gene
William F. Zachman...
Posted Aug 12, 2012 3:41 PM
canopusresearch
Duxbury, MA
Post #: 31
Send an Email Post a Greeting
@cici I am finding that the first two links and the last two work, but the four in the middle (hello2 through timetest) generate an HTTP 500 error.
Alana
Posted Aug 13, 2012 12:41 AM
user 3584937
Arlington, MA
Post #: 85
Send an Email Post a Greeting
I've completed the chapter 1 exercises and they can be reviewed here

I'm running MAMP, using Komodo Edit as my editor and FileZilla to FTP. I'm trying free hosting from 000webhost.com and using a subdomain so it's not costing me anything. I'll get my own domain soon but I figured I go the free route for now.

I had some difficulty getting started with MAMP, mostly getting the path correct so I didn't get 404 errors. Once I got that figured out I was off and running.
Powered by mvnForum

Northeast PHP 2013

Boston PHP is hosting this event.

above the fold

Provides user experience consulting and user interface design.

Boston PHP Bookstore

Support our group by buying books we recommend from our online bookstore

Cahill Law Group

Cahill Law group is helping Boston PHP become an official non profit.

Microsoft NERD

Provides us venue space for our events.

jQuery jAM

Learn jQuery from the ground up.

People in this
Meetup are also in:

Log in

Not registered with us yet?

Sign up

Meetup members, Log in

or
By clicking the "Sign up using Facebook" or "Sign up" buttons above, you agree to Meetup's Terms of Service