Notepad++, Smultron, Text Wrangler, or BBEdit Lite (get from www.download.com or www.versiontracker.com)

My address is on www.aurigroup.com.

Best,

-Auri

Scripting Class: No RSVPs…

Posted: September 23, 2008 in Uncategorized

Well, I didn’t get any emails asking for directions, so I’m guessing nobody is coming. I’ll just cancel and hope you read the chapter πŸ™‚

Databases *will* be covered on the final, so practice up!

Best,

-Auri

Email me for directions… sorry, AII didn’t have any rooms available…

Best,

-Auri

1. Read up on databases.

2. Finish skinning your shopping cart.

Last day of class is next week – we’ll have an Experience (a.k.a. "Final").

Please call or email me with any questions.

Best,

-Auri

Assignment 1: Take the working Shopping Cart script and skin it with a complete user interface. Make it purty. See how the PHP code interacts with your design. IM, email, or call me with questions!

Assignment 2: Read the Shopping Cart example chapters in the book. You don’t have to worry about getting the cart in the book working – just review it to see how they are adding and removing items.

Assignment 3: Re-read Chapter 3 on Arrays and read Chapter 10 on Sessions.

I’ve uploaded the code to the Scripting Class files area on my space.

Good luck and see you Friday!

Class Notes from August 29

Posted: August 31, 2008 in Uncategorized

I’ve uploaded the notes from class to the files section on my blog:

http://aurirahimzadeh.spaces.live.com/files/

Your assignment, due September 5:

Create a Shopping Cart

Business Rules:

  1. Display list of products for selection, including prices
  2. Allow user to Select from that list and Enter a Quantity and add that item to the Shopping Cart
  3. Allow user to View the Shopping Cart
  4. Allow user to Update Quantity or use 0 to signify they want to remove an item
  5. Allow user to Check Out, with Check Out screen showing all items being purchased, their prices, and a total price
  6. Check Out Screen should also require the user to enter their First and Last Name, Shipping Address, and Email Address
  7. Upon successfully filling out the Check Out Screen, the user should be taken to a Thank You page, which should summarize the order and show where it’s shipping

Concepts Used:

  • Arrays
  • Session
  • Loops
  • Include Files
  • Comments

Please email or call me with any questions!

Have a great Labor Day weekend!

Best,

-Auri

We discussed XAMPP Lite, which is another good PHP + Apache + MySQL server for Windows.

To download XAMPP Lite, go to http://www.apachefriends.org/download.php?xampplite-win32-1.6.7.exe

For info on how to install and use XAMPP Lite, go to: http://www.apachefriends.org/en/xampp-windows.html

Build the following applications yourself and show me they work on Friday: