Difference between revisions of "Sean Hoffman"
(→Resources) |
m (Reverted edits by Ysukivewug (talk) to last revision by Shoffman) |
||
(41 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== The Project == | == The Project == | ||
− | ====Description==== | + | ==== Description ==== |
Create several plugins using [http://www.php.net PHP] for use with [http://www.wordpress.com Wordpress] and/or other blogging platforms [http://www.mu.wordpress.org Wordpress MU], [http://www.buddypress.org BuddyPress], etc. | Create several plugins using [http://www.php.net PHP] for use with [http://www.wordpress.com Wordpress] and/or other blogging platforms [http://www.mu.wordpress.org Wordpress MU], [http://www.buddypress.org BuddyPress], etc. | ||
Create graphically appealing website templates using PHP and [http://en.wikipedia.org/wiki/JavaScript Javascript], [http://en.wikipedia.org/wiki/Ajax_(programming) Ajax]. | Create graphically appealing website templates using PHP and [http://en.wikipedia.org/wiki/JavaScript Javascript], [http://en.wikipedia.org/wiki/Ajax_(programming) Ajax]. | ||
− | ====Details==== | + | [[Image:diphp.jpg|thumb|Diving into PHP]] |
+ | ==== Details ==== | ||
* All templates and plugins will be compatible with the latest version of Wordpress | * All templates and plugins will be compatible with the latest version of Wordpress | ||
** Other compatible blogging systems may include the platforms listed below | ** Other compatible blogging systems may include the platforms listed below | ||
Line 16: | Line 17: | ||
== Goals == | == Goals == | ||
+ | |||
+ | ==== Goal Overview ==== | ||
+ | '''Updated Goals: 01/20/10''' | ||
These are the goals I hope to complete during the first quarter: | These are the goals I hope to complete during the first quarter: | ||
− | *Install PHP, MySql, Apache 2, and Wordpress on [http://www.washlee.net washlee.net] server. | + | *Install PHP, MySql, Apache 2, and Wordpress on [http://www.washlee.net washlee.net] server.[[Image:Checkmark.gif|right]] |
− | *Install PHP, MySql, Apache 2, and Wordpress locally on [http://www.ubuntu.com Ubuntu Jaunty] | + | *Install PHP, MySql, Apache 2, and Wordpress locally on [http://www.ubuntu.com Ubuntu Jaunty][[Image:Checkmark.gif|right]] |
*Learn Basic and some Advanced Javascript | *Learn Basic and some Advanced Javascript | ||
− | *Learn PHP | + | *Learn Basic PHP |
*Learn to communicate with MySQL using PHP | *Learn to communicate with MySQL using PHP | ||
*Create several functional applications using Javascript and PHP | *Create several functional applications using Javascript and PHP | ||
*Create a basic blog | *Create a basic blog | ||
− | == ''' | + | ==== Diving into PHP Course Goals ==== |
+ | |||
+ | *'''Day 1''': Downloading the Language [[Image:Checkmark.gif|right]] | ||
+ | *'''Day 2''': Variables [[Image:Checkmark.gif|right]] | ||
+ | *'''Day 3''': Passing Values From Page to Page [[Image:Checkmark.gif|right]] | ||
+ | *'''Day 4''': Multiple Variables and the “foreach” Statement | ||
+ | *'''Day 5''': Refactoring, Arrays, and Functions – Oh My! | ||
+ | *'''Day 6''': Includes | ||
+ | *'''Day 7''': Regular Expressions | ||
+ | *'''Day 8''': Strings | ||
+ | *'''Day 9''': Detecting First-Time Visitors | ||
+ | *'''Day 10''': Mysql | ||
+ | *'''Day 11''': INSERT and foreach Statements | ||
+ | |||
+ | == Current Updates == | ||
*Due to some errors with Ubuntu I was unable to install LAMP on my local install of Ubuntu during the first quarter | *Due to some errors with Ubuntu I was unable to install LAMP on my local install of Ubuntu during the first quarter | ||
Line 34: | Line 52: | ||
*XAMPP install was successful. I am now moving onto basic PHP tutorials. My first project will be creating a basic PHP Address Book | *XAMPP install was successful. I am now moving onto basic PHP tutorials. My first project will be creating a basic PHP Address Book | ||
**I plan to use my netbook's install of dreamweaver to code and port the documents over to my Ubuntu install using a program called Dropbox. | **I plan to use my netbook's install of dreamweaver to code and port the documents over to my Ubuntu install using a program called Dropbox. | ||
+ | |||
+ | *I have also installed WAMPP on my netbook as a backup just in case XAMPP doesn't working on the local install of Ubuntu | ||
+ | |||
+ | == Completed Code == | ||
+ | |||
+ | ==== Hello, World ==== | ||
+ | '''Description:''' A basic beginner script that displays "''Hello, world''" in the browser window. | ||
+ | <source lang="php"> | ||
+ | <?php | ||
+ | echo "?Hello world"; | ||
+ | exit(); | ||
+ | ?> | ||
+ | </source> | ||
+ | |||
+ | |||
+ | ==== Working with Variables ==== | ||
+ | |||
+ | '''Description:''' "''$myVariable''" is assigned the string value of "''Sean''" that variable is then echoed to the browser printing "''Hello, Sean.''" A conditional then checks to see if "''$myVariable''" is set as "''Sean''" if it is "''Welcome Back!''" will be printed, if it is not "''Where's Sean?''" will be printed. | ||
+ | <source lang="php"> | ||
+ | <?php | ||
+ | |||
+ | $myVariable = 'Sean'; | ||
+ | |||
+ | echo 'Hello, ' . $myVariable . '.'; | ||
+ | |||
+ | if ($myVariable == 'Sean') { | ||
+ | print '<br/ >Welcome Back!'; | ||
+ | } else { | ||
+ | print "<br/ >Where's Sean?"; | ||
+ | } | ||
+ | |||
+ | ?> | ||
+ | </source> | ||
+ | |||
+ | == Web Development == | ||
+ | |||
+ | I've been contracted to work on the Washington-Lee High School Baseball team's website. | ||
+ | |||
+ | The following is a list of requirements/goals for the website: | ||
+ | |||
+ | * [http://www.w-lbaseball.org Create basic website layout] [[Image:Checkmark.gif|right]] | ||
+ | * [http://www.w-lbaseball.org Integrate website layout into wordpress theme] [[Image:Checkmark.gif|right]] | ||
+ | * [http://www.w-lbaseball.org Code the design to allow wordpress post updates] [[Image:Checkmark.gif|right]] | ||
+ | * [http://www.twitter.com/WLHSBaseball Create WLHSBaseball twitter] [[Image:Checkmark.gif|right]] | ||
+ | ** Create gmail account to correspond to twitter [[Image:Checkmark.gif|right]] | ||
+ | * Create Scheduling Page | ||
+ | ** Code highlighting css table, that links to articles that corresponds to the game, currently clicked. | ||
+ | * Create Team Page | ||
+ | ** Individual player pictures as well as team photo. | ||
+ | ** Seperate by JV and Varsity | ||
+ | * Create Contact Page | ||
+ | * Create Annoucement page | ||
+ | ** Twitter implemented within annoucements page | ||
+ | *Spaces for Ads | ||
+ | |||
+ | [[Image:Wlbaseball.JPG|thumb|Washington-Lee Baseball Logo]] | ||
+ | |||
+ | === Redesign === | ||
+ | In order to better accommodate the Washington-Lee Baseball Team logo I chose to redesign the website into a modified three column layout. | ||
+ | |||
+ | === Documentation === | ||
+ | For more documentation on the Washington-Lee Baseball Website please click [http://paulbui.net/wl/images/4/4b/Intro.pdf here] | ||
== Resources == | == Resources == | ||
Line 41: | Line 121: | ||
*How to install XAMPP - [http://ubuntuforums.org/showthread.php?t=223410 Ubuntu XAMPP Installation Documentation] | *How to install XAMPP - [http://ubuntuforums.org/showthread.php?t=223410 Ubuntu XAMPP Installation Documentation] | ||
*Learn PHP from Scratch: A Training Regimen - [http://net.tutsplus.com/tutorials/php/learn-php-from-scratch-a-training-regimen/ Nettuts+ Tutorial] | *Learn PHP from Scratch: A Training Regimen - [http://net.tutsplus.com/tutorials/php/learn-php-from-scratch-a-training-regimen/ Nettuts+ Tutorial] | ||
− | *Lynda.com : PHP With MySQL Essential Training [http://movielibrary.lynda.com/html/modPage.asp?ID=435] | + | *Lynda.com : PHP With MySQL Essential Training [http://movielibrary.lynda.com/html/modPage.asp?ID=435 Lynda.com] |
− | *PHP 101 : Down The Rabbit Hole [http://devzone.zend.com/node/view/id/625] | + | *PHP 101 : Down The Rabbit Hole [http://devzone.zend.com/node/view/id/625 DevZone Zend] |
− | *PHPBuddy.com : Your First PHP Code [http://www.phpbuddy.com/article.php?id=17] | + | *PHPBuddy.com : Your First PHP Code [http://www.phpbuddy.com/article.php?id=17 PHPBuddy.com] |
− | *PHP.NET : A Simple Tutorial [http://us2.php.net/tut.php] | + | *PHP.NET : A Simple Tutorial [http://us2.php.net/tut.php PHP.NET] |
− | W3Schools.com : PHP Tutorial [http://www.w3schools.com/PHP/Default.asp] | + | *W3Schools.com : PHP Tutorial [http://www.w3schools.com/PHP/Default.asp W3Schools.com] |
*Dropbox - [http://getdropbox.com Dropbox Application] | *Dropbox - [http://getdropbox.com Dropbox Application] |
Latest revision as of 13:53, 29 November 2010
Contents
The Project
Description
Create several plugins using PHP for use with Wordpress and/or other blogging platforms Wordpress MU, BuddyPress, etc. Create graphically appealing website templates using PHP and Javascript, Ajax.
Details
- All templates and plugins will be compatible with the latest version of Wordpress
- Other compatible blogging systems may include the platforms listed below
- pHp plugins may include the following:
- Shopping Cart
- Photo Gallery
- Member System
- Dynamic News Rotator
Goals
Goal Overview
Updated Goals: 01/20/10
These are the goals I hope to complete during the first quarter:
- Install PHP, MySql, Apache 2, and Wordpress on washlee.net server.
- Install PHP, MySql, Apache 2, and Wordpress locally on Ubuntu Jaunty
- Learn Basic and some Advanced Javascript
- Learn Basic PHP
- Learn to communicate with MySQL using PHP
- Create several functional applications using Javascript and PHP
- Create a basic blog
Diving into PHP Course Goals
- Day 1: Downloading the Language
- Day 2: Variables
- Day 3: Passing Values From Page to Page
- Day 4: Multiple Variables and the “foreach” Statement
- Day 5: Refactoring, Arrays, and Functions – Oh My!
- Day 6: Includes
- Day 7: Regular Expressions
- Day 8: Strings
- Day 9: Detecting First-Time Visitors
- Day 10: Mysql
- Day 11: INSERT and foreach Statements
Current Updates
- Due to some errors with Ubuntu I was unable to install LAMP on my local install of Ubuntu during the first quarter
- I was informed of another solution by Mr. Bui, XAMPP is similar to LAMP but it has PHP, MySQL, and Apache condensed into one program.
- XAMPP install was successful. I am now moving onto basic PHP tutorials. My first project will be creating a basic PHP Address Book
- I plan to use my netbook's install of dreamweaver to code and port the documents over to my Ubuntu install using a program called Dropbox.
- I have also installed WAMPP on my netbook as a backup just in case XAMPP doesn't working on the local install of Ubuntu
Completed Code
Hello, World
Description: A basic beginner script that displays "Hello, world" in the browser window.
<?php
echo "?Hello world";
exit();
?>
Working with Variables
Description: "$myVariable" is assigned the string value of "Sean" that variable is then echoed to the browser printing "Hello, Sean." A conditional then checks to see if "$myVariable" is set as "Sean" if it is "Welcome Back!" will be printed, if it is not "Where's Sean?" will be printed.
<?php
$myVariable = 'Sean';
echo 'Hello, ' . $myVariable . '.';
if ($myVariable == 'Sean') {
print '<br/ >Welcome Back!';
} else {
print "<br/ >Where's Sean?";
}
?>
Web Development
I've been contracted to work on the Washington-Lee High School Baseball team's website.
The following is a list of requirements/goals for the website:
- Create basic website layout
- Integrate website layout into wordpress theme
- Code the design to allow wordpress post updates
- Create WLHSBaseball twitter
- Create gmail account to correspond to twitter
- Create Scheduling Page
- Code highlighting css table, that links to articles that corresponds to the game, currently clicked.
- Create Team Page
- Individual player pictures as well as team photo.
- Seperate by JV and Varsity
- Create Contact Page
- Create Annoucement page
- Twitter implemented within annoucements page
- Spaces for Ads
Redesign
In order to better accommodate the Washington-Lee Baseball Team logo I chose to redesign the website into a modified three column layout.
Documentation
For more documentation on the Washington-Lee Baseball Website please click here
Resources
- How to install LAMP (Linux-Apache-MYSQL-PHP) - Ubuntu LAMP Installation Documentation
- How to install Wordpress - Wordpress Installation Documentation
- How to install XAMPP - Ubuntu XAMPP Installation Documentation
- Learn PHP from Scratch: A Training Regimen - Nettuts+ Tutorial
- Lynda.com : PHP With MySQL Essential Training Lynda.com
- PHP 101 : Down The Rabbit Hole DevZone Zend
- PHPBuddy.com : Your First PHP Code PHPBuddy.com
- PHP.NET : A Simple Tutorial PHP.NET
- W3Schools.com : PHP Tutorial W3Schools.com
- Dropbox - Dropbox Application