Mommy's Greetings

"Welcome to Mommy's Life Journey As Master Student..."
Feeds RSS
Feeds RSS

Weekly Reflection 9: PHP

Before mommy start with PHP coding, we must download xampp software which is a package of Apache Server and MySQL databases. Long time ago, we need to download and install one-by-one. But now, you can get it in a package. Besides xampp, there are other package that available in internet like EasyPHP, wampp, and many more. It is free because the software is open source. So, mommy give the xampp to download it:


To install it, you just click Next button untill end. Then, you need to Start the Apache and MySQL:


If you are using ASP before this, you must to stop the IIS first. To stop the IIS, you need to go to Administrative Tools -> Information Internet Services (IIS) Manager -> Stop button (at the right corner). Then you can Start the Apache.

Weekly Reflection 8: IIS, Microsoft Access (database), Guestbook

Today, mommy learned about ASP. When we want to use ASP coding, we need to make sure our IIS is in Start mode. What is IIS? IIS stands for Internet Information Services. How to check our IIS is in Start mode? Lets Mommy show you.


Start button -> Control Panel

Click Programs

Click System and Security -> Administrative Tools


Double click Internet Information Service (IIS) Manager

Look at the right corner, Manage Server.


CREATE DATABASE AND TABLES USING MICROSOFT ACCESS 2007

Go to Start button -> Microsoft Office -> Microsoft Access 2007

 Click Blank Database

 At the right corner, type database name in the Text Field. Example: database name is "data"

 Save As the table that had been created for you. Example: table name is "guestbook"

 Click View and choose Design View

Fill the field name of guestbook table.



CREATING GUESTBOOK USING ASP

Open Adobe Dreamweaver CS3.

 Choose ASP VBScript

 Save As at C:\inetpub\wwwroot\ASP

 Create table.

 At Properties below the page, width set to 50% and Align set to Center.

 At Properties below the page, click Page Properties button.

 Insert Text Field
Click at the Text Field, change TextField Name at the Properties below the page. (Every Text Field must give their names)

 Insert Submit button

 Click Application -> Database -> Custom Connection String

Click Test button. Make sure "Connection was successfully!"

Then, go to Server Behaviors -> Recordset (Query) -> choose Connection name and your guestbook table. After that, go to Server Behaviors -> Insert Record -> choose Connection name, your guestbook table, look at Column (check and make sure your field name in guestbook table match with TextField name in dreamweaver, set URL if the insert succeed -> OK. Try run the guestbook. Had Fun!

Weekly Reflection 7: Manage Sites

INTRODUCTION TO WEB-BASED DEVELOPMENT

STATIC WEBPAGE
DYNAMIC WEB PAGE
made of simple HTML pages that are uploaded on the server
use server programming capabilities to generate pages
passed straight to browser. (no database)
server process scripting language, querying database and other functions then passes resulting HTML page to browser

THE DIFFERENCE BETWEEN ASP AND PHP

ASP
VERSUS
PHP
Microsoft Server
SERVER
Linux or Unix Server, NT Server
Window-based platform (can run in Linux platform with install ASP-APACHE program)
PALTFORM
Window, Solaris, Linux, Unix
Visual Basic Programming
BASE LANGUAGE (SIMILARITY)
C/C++ Programming
Microsoft SQL (Microsoft product) - need to purchase the product
DATABASE
MySQL (free)
Run in its very own memory space
SPEED
Run much quick
Windows & IIS need to purchase. Using the original product.
COSTING & EXPENSES
Linux is open source. No need to purchase.

MANAGE SITES IN ADOBE DREAMWEAVER CS3: ASP

 Click at Manage Sites at the right corner. Then, click New button. Then, follow the steps below:

Click Next button.

 Click Next button. 

Click Next button. 

 Click Next button. 
 Click Next button. 

 Click Next button. 

 Click Next button.

Click Next button. 

  
Click Next button -> Done button -> Done button