Boston PHP Message Board › Chapter 1: PHP Percolate! Season 4
| Gene Babon | |
|
|
![]() 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... | |
|
|
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...
|
| Gene Babon | |
|
|
@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 | |
|
|
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 | |
|
|
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 | |
|
|
@Larry --
![]() |
| Cici Spaulding | |
|
|
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 | |
|
|
@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... | |
|
|
@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.
Edited by William F. Zachmann on Aug 12, 2012 3:43 PM |
| Alana | |
|
|
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. |