Saturday, April 28, 2012

First Touch on Ipad and Flash

Introduction to Flash using Ipad

Well, this is the first time I’ve touched an Ipad.  Ha! Ha! It shows that I’m not that advanced with tehnological gadgets, right!  Anyway, it delighted me to be able to use the Ipad even though some of us are sharing L

Anyway, This is what we learned
a)      Flash Interface
b)      Application of Flash
c)      Type of Interaction
d)     What do I need

Flash Interface

There are 5 types of flash interface: 

a)      Tools Panel - on the left side

Tools needed to draw and edit objects

b)      Timeline - on top

Contains frames of animation in sequential order

c)      Using the library - on the right side

Contains all imported media such as photographs, clipart, video and sound files

Symbol - Name of any object saved in the libray
Instance - A copy of symbol that is used in a flash movie

d)     Stage - at the center

Displays animations, images and other content

e)      Properties Panel

Contains options and properties for the tools and object selected

Application of Flash

There are 4 applications where Flash is widely used:

a)      Web Banner
b)      Animation
c)      Games
d)     Courseware

Types of Interaction

3 types of interaction are used when dealing with users:

a)      Button & Hotspot

Button
- used for timeline navigation
- add interactivity to movie
- respond to mouse clicks, key press or rollovers
- have 4 frames in timeline (up, over, down, hit area)

Hotspot
-          sets up interaction with user
-          respond tu user ‘click’

Example
        
        Add a Flash hotspot to a callout to add interactivity within a produced Flash video. Use Flash hotspots to:
* Direct customers to a link to download your software.
* Show viewers websites in a new browser window.
* Demonstrate examples through hyperlinks in the callout.
* Take viewers to specific markers within the video.
* Allow viewers to replay a section in the video


b)      Text

Static Text - Display Static / Unchanged Text
Input Text - Capture Text Input from user
Dynamic Text - Display characters that are updated or change at runtime.

(Example)

c)      Drag & Drop

Users are able to drag and drop objects in the application.  This interaction is very good for educational purposes.

What Do I Need (Minimum Requirements)

a)      Intel Pentium 4 or AMD Athlon 64
b)      Windows XP SP2, Windows Vista, Windows 7
c)      1 GB RAM
d)     3.5 GB hard disk space
e)      1024 x 768 display with 16 bit video card
f)       DVD-ROM drive

Well, we cannot memorize the facts, right.  Practice using the tools will make us familiar with the application. 

Well, practice time..!

Saturday, April 7, 2012

PHP - Updating, Deleting and Finding records

Update, Delete, and the Find function usually involves 2 files for proper execution
1)      1st file – viewing  ,  and Go to Detail page using passed parameter
2)      2nd file – The details of the filtered record through passed parameter for handling the task

The second file, Update2   and delete2   and find2 needs
(This is detail page set from   update   and    delete)
·         Form
·         Record Set
·         Update

 Update

1. Create a view file for viewing the records from which the particular record is to be updated or deleted
 2. Use Recordset  and Repeat Region accordingly
     Drag the fields into tables



Monday, April 2, 2012

PHP - Security

SECURITY
1.       CREATE A NEW TABLE TO HOLD THE LOGINS


     (Text – can take in numbers)

2.       Authenticating the user



    
7.       Create registration page

Create a new php file
Insert a new form for getting input from uses
Insert the necessary fields

(Maintain the same field names, both in database and in the php file to avoid confusion)

8.       Create insert record for the registration page


10.   Restrict access to all the .php files



Important for cases of user register by themselves  
 


11.   Verify that the new registration has no duplicates

13.   Create the exist.html for redirect after login

14.   Head tag… delay and then go to registration field

Window – Behaviour
Click + on behavior – to produce a pop up message

 

       

 15) Set security to all the related files..
Admin login
Login page
Add user page
Delete user page
Update user page

Inserting, updating and delete data directly from phpAdmin


Insert
 
Browse
Create adminlogin.php
Authenticate user with access level

Create main.php (for admin)

Restrict access to page (based on username, password and access level)

Z

Sunday, April 1, 2012

Reflection on Assignment 1


Group members: Diyana, Haslinda, myself

Almost frustrated. Reason?

Failed connection between Dreamweaver and Access..  Countless days and hours were spent to rectify the problem by 3 of us..

- tried reinstalling - FAILED
- tried various methods searched from internet - FAILED
- tried reinstalling OS using Windows XP - FAILED

Lastly, Diyana asked Dr. Zaida and Dr. Zaida permits on develop the assignment using PHP.

FUHHHH!  Alhamdulillah..

Love you Dr. Zaida...

PHP - Creating input file and view file



Creating a file for getting input from users

                Input form (input.php)
1.       insert form
use table as layout
2.       Insert text field (field from database – check field properties)
·         Textfield
·         Charwidth
·         Etc
3.       Insert submit form
Make sure that your dotted red square is only ONE (1 form in a file)
Insert Record
     
   


Creating a file for viewing data in database

View file (view.php)
1.       Create php file

2.       Server recordset



3.       Drag the fields into the view file

4.       Create separator

5.       Create repeat region

Highlight dulu apa yang nak direpeat




ANY PROBLEMS à RECREATE THE TABLE!!!