Wednesday, May 4, 2011

Tugasan 1 - Membina Perisian Flash

Dalam Assignment 1, saya dan ahli kumpulan ASAP diminta membina satu perisian yang menggabungkan pelbagai Scene. Sebelum itu, terlebih dahulu saya mencadangkan agar dibuat Storyboard dan Carta Alir sebagaimana yang pernah dipelajari semasa di peringkat Sarjana Muda dahulu, bagi memudahkan proses authoring menggunakan Flash. Berikut adalah antara paparan-paparan skrin perisian Animal World yang telah saya reka. Kekangan masa yang ada memang terhad, namun kami telah cuba sedaya-upaya untuk menyiapkan tugasan ini.

Ini adalah montaj perisian Animal World. Rekaan teks dibuat oleh saya sendiri, manakala imej latar belakang adalah dicari menerusi internet. Montaj ini turut memuatkan bunyi audio yang telah diimport ke Library sebelum ini.


Ini pula adalah paparan skrin Menu Utama perisian kami. Saya menggabungkan pelbagai gambar haiwan yang diambil dari internet. Kemudian saya memasukkan kod untuk setiap butang.

Ini adalah paparan di ruangan Nota. Pada skrin ini saya telah mencadangkan agar dibuat Button Frame, atau bingkai untuk menyeragamkan susunan Butang Perisian bagi memudahkan proses salin semula butang perisian, dan juga menjadikan paparan yang dihasilkan lebih kemas.


Ini pula paparan untuk Scene Kuiz dibuat oleh Afidah berdasarkan apa yang telah dipelajari menerusi aktiviti di Makmal Komputer.

Ini adalah paparan untuk permainan oleh Khairunnisa. Kebanyakan bahan yang dibuat untuk setiap Scene adalah didasarkan daripada latihan-latihan aktiviti di Makmal Komputer.

Seterusnya saya memasukkan video di bahagian Kredit sebagai penutup tugasan kami. Video ini bertemakan kesedaran terhadap menjaga kebajikan haiwan-haiwan di dunia, di mana haiwan-haiwan ini semakin diancam kepupusan akibat kerakusan manusia mencari keuntungan dunia.

Tuesday, May 3, 2011

Cara untuk Embed Flash ke dalam Blogger

Pertama, kita harus mengupload fail .swf atau fail flash yang kita mahu gunakan ke satu akaun internet yang boleh diakses secara terbuka.

Kemudian gunakan kod di bawah ini untuk disalin ke New Post > Edit Html


Sunday, May 1, 2011

What is Apache Web Server?

Often referred to as simply Apache, a public-domain open source Web server developed by a loosely-knit group of programmers. The first version of Apache, based on the NCSA httpd Web server, was developed in 1995.

Core development of the Apache Web server is performed by a group of about 20 volunteer programmers, called the Apache Group. However, because the source code is freely available, anyone can adapt the server for specific needs, and there is a large public library of Apache add-ons. In many respects, development of Apache is similar to development of the Linux operating system.

The original version of Apache was written for UNIX, but there are now versions that run under OS/2, Windows and other platforms.

The name is a tribute to the Native American Apache Indian tribe, a tribe well known for its endurance and skill in warfare. A common misunderstanding is that it was called Apache because it was developed from existing NCSA code plus various patches, hence the name a patchy server, or Apache server.

What Is XAMPP and how to Install it?

XAMPP is a protocol which allows messages to be sent in XML, the messages are constrained to type, it can be anything, IM messages, or an application talking to another application over the internet. Jabber has the most popular implementation and it is the same protocol used by Gtalk. There might be PHP library that allows you to use XAMPP for communcation.

XAMPP is a free and open source cross-platform web server package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages.

It is used as a development tool, to allow website designers and programmers to test their work on their own computers without any access to the Internet.

XAMPP is developed by Apache Friends to promote the Apache web server. Apache Friends was founded in the spring of 2002 by Kai ‘Oswald’ Seidler and Kay Vogelgesang. It’s Alexa rank is 7,939 as on today. Because, I use any software or website based on it’s alexa rank, I am mentioning it’s rank here to help my blog readers. XAMPP Acronym is X(Apache, MySQL, PHP, PERL)

Apache Friends developed this software to help the people to install and configure Apache web server along with MySQL, PHP and Perl.


* The file name of the software after downloading from specified location is xampp-win32-1.7.3.exe
* Right click on the file and click Run as administrator and click Run in the Open File – Security warning
* Click Install in “XAMPP for Windows” screen
* Type “y” for the question “Should I add shortcuts to the start menu/desktop? (y/n):” and hit enter
* Type “y” for the question “Should I Proceed? (y/x=exit setup):”
* Type “y” for the question “Should I make a portable XAMPP without drive letters? Your choice:”
* Press Enter – Enter and Type x and Enter in the next 3 steps
* You have successfully installed XAMPP in your computer now

Now we will see how to test web server with PHP, MySQL. The following steps for testing Apache web server, PHP and MySQL

* Open web browser and type http://local host in address bar and hit enter
* If you get “Internet Explorer cannot display the webpage” message, we have forgotten to start the web server
* To start web server Click start – click all programs – click XAMPP for Windows – Click XAMPP Control Panel
* Click start button which opposite to Apache label
* Now try to browse using above url http://localhost
* Now you should get the welcome page of XAMPP for Windows
* If you can be able to see the XAMPP home page means you can understand that Apache web server is working fine
* Now click on the link phpinfo() from left navigation of XAMPP to get the information about PHP
* If you get the information about PHP version and other details in the right pane you can understand that PHP is installed and configured on your computer
* You also can check whether Perl installed and configured or not by clicking on the link perlinfo() in the left page. Detailed information should be displayed in the right pane
* You have to start MySQL from XAMPP control panel to test the phpMyAdmin. phpMyAdmin is a tool to manage MySql databases


Saturday, April 16, 2011

CREATE A CONTACT FORM IN DREAMWEAVER CS3 USING ASP

CREATE A CONTACT FORM IN DREAMWEAVER CS3 USING ASP
  • Create a new site in Dreamweaver CS 3. Save the new site in c:\inetpub\wwwroot\project.
  • Create a database in Access and save the database in the folder c:\inetpub\wwwroot\data. The database must save in MS Access 2002-2003 with .mdb file extension
  • create a table in database and create the following fields:
  1. name1
  2. username
  3. password
  4. remarks
  • 4. For remarks field, choose Memo as its data type.
  • 5. Then create connection in Dreamweaver CS3. Open the database panel, click at + button, select Custom Connection String. Enter a name for the connection as dmx. Enter the connection string as
"Driver={Microsoft Access Driver (*.mdb)};DBQ="& Server.MapPath("/data/guest.mdb").
  • Click the button Test to connect to the database and then click OK.

  • Create a new ASP VBScript page. Insert a form. Insert a table and insert the text and text field.
  • Give the name to the text field in Properties panel.
  • Save the page as daftar.asp in c:\inetpub\wwwroot\project
  • Then set the Insert Record to write data into database. Click Active Server Behaviors tab. Click the + button then select Insert Record, select the connection that you gad created then click ok. Save the file.
  • Create a new ASP VBScript page. Save the file as view.asp.
  • Create the text and text field for name, username, password and remarks.
  • Click Server Behaviors tab. Click the + button, select RecordSet. Select the connection that you had created. Select sort: name1 and Ascending to sort the data for viewing. Click Test.
  • Activate Bindings tab. Click + button select RecordSet. Click at + button sign in front of the RecordSet and you can see all the fields in the database.
  • Drag nama into cell 1 in column 2 in the table that you create in view.asp. drag other fields also into the following cell in column 2. Draw a line below the table. Next highlight the table including the line below the table. Click the + button on the panel, select Repeat Region. Click OK.
  • Open back your daftar.asp file. Double click Insert Record behavior in Server Behavior and add view.asp in After inserting go to: Click OK.
  • Click at Preview in Browser icon. Type any data and click save button. Automatically the view.asp file will be displayed and you can see the data that you typed.

Solve IIS Installation Problem For Windows User

QUESTION:
I am a windows users and I always have face the same problem when installing IIS on my computer. What I need to do?

ANSWER:
Here are the solution for problems in Microsoft Windows.
  1. Open Windows Explorer > click tools > folder options > activate view tab.
  2. Then deactivate Use simple file sharing (recommended) options.
  3. Click OK.
  4. Open your inetpub folder at c:\Inetpub\wwwroot\folder using windows explorer.
  5. Right click at the folder that holds the access database file and click at properties.
  6. Click at security tab and click add button > then click advanced button.
  7. Click at find now button and choose everyone.Click ok.
  8. Then activate write options for everyone user.
  9. Click OK.

Friday, April 8, 2011

WEEK 12 - PHP

Buka xampp untuk Start MySQL

pilih SCM (window Services akan terbuka) dan stop kan IIS

C:\xampp\htdocs\learning
C:\xampp\mysql\data\data

Cuba tengok di bahagian Application dalam Dreamweaver
dah ada dmx

Cuba http://localhost/ di Firefox untuk ke xampp

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | belt buckles