IM3420 Advanced Scripting Languages
Tuesday, December 4th, 2007
IM3420 Advanced Scripting Languages
Students will refine dynamic scripting skills to develop complex interactivity and applications (applets). The course also examines client-side forms in conjunction with server-side scripting applications. Note: WDIM students must earn a C or better to pass this capstone course
Instructor: John Keston (Schedule)
Meeting Times and Location (M/W):
Session 1 ...
Posted in IM3420 Advanced Scripting Languages | No Comments »
Tuesday, December 4th, 2007
Session 1: Make sure that you can login to your OLS account. Setup a site definition in Dreamweaver or use an FTP client to complete the php tutorial at: http://www.php.net/tut.php from "Your first PHP-enabled page" to "Dealing with forms".
Recommended Text: "Beginning PHP5" Published by WROX (Available at the bookstore)
Reading assignment: ...
Posted in IM3420 Advanced Scripting Languages | 1 Comment »
Tuesday, December 4th, 2007
Session 1: Now we will continue our discussion on some of the fundamentals of cgi (common gateway interface) scripting, commonly refered to as server side scripting. We'll look at usefully troubleshooting techniques such as phpinfo() and using the echo statement to display variable values. In the lab make the guestbook ...
Posted in IM3420 Advanced Scripting Languages | No Comments »
Tuesday, December 4th, 2007
Session 1: Some important pre-processing is required for text areas within forms, otherwise every time a user hits enter in a text field the flat file will contain the "return" and "new line" characters. This means our flat file will essentially be corrupt because the "new line" character is used ...
Posted in IM3420 Advanced Scripting Languages | No Comments »
Tuesday, December 4th, 2007
Session 1: Don't forget that the "guestbook" project is due today. Create the link to the working guestbook area and copy the source files with the link file (this includes the form html document, the form's action PHP, and the PHP script to display the guests) to the drop off ...
Posted in IM3420 Advanced Scripting Languages | No Comments »
Tuesday, December 4th, 2007
Session 1: What if you want to make sure that none of the links you're adding to the links file are duplicates? You're not going to want the same link in the same page twice and it may be difficult to remember every link that you've added. Here's an example ...
Posted in IM3420 Advanced Scripting Languages | No Comments »
Tuesday, December 4th, 2007
Session 1: The links project is due on Session 2, Week 6. This project and the guestbook project is what will determine your midterm grade, please add any finishing touches before Session 2. Most of you have this included already, but to add a dynamically generated drop down list of ...
Posted in IM3420 Advanced Scripting Languages | No Comments »
Tuesday, December 4th, 2007
Session 1: Once you have database authentication working create the add_news.php script which will check to make sure that the user_id cookie has been written and if so display the "Add News" form similar to what's below. At the top of the form document insert the PHP code below to ...
Posted in IM3420 Advanced Scripting Languages | No Comments »
Tuesday, December 4th, 2007
Session 1: Now we can move on the the "front-end" of the application. This is where users can view news that has been inserted into the database. The first page will list all the news stories in the database as links and the links for each story will display the ...
Posted in IM3420 Advanced Scripting Languages | No Comments »
Tuesday, December 4th, 2007
Session 1: Now our news project is nearly fully functional, but in order to remove or archive news articles we would have to access the database and "manually" remove records or change the status of those records. A better solution would be to create a page that allows the user ...
Posted in IM3420 Advanced Scripting Languages | No Comments »
Tuesday, December 4th, 2007
Session 1: The last step that we'll take in the administrative area is building the functionality necessary to allow administrators to completely update a news article in the database via a web form. This will require two scripts the first script will be the form, prefilled, so that the administrator ...
Posted in IM3420 Advanced Scripting Languages | No Comments »
Tuesday, December 4th, 2007
Session 1: Today we will be reviewing for the final quiz. Afterwards in the studio, let's add some final touches to the news project. Early presentations of the news project are acceptable as well.
Session 2: The final quiz is today. Afterwards we will discuss the questions and then present the ...
Posted in IM3420 Advanced Scripting Languages | No Comments »