Wednesday, 24 March 2010
login jsp
HANDLING (java)bwork.action.*;
public class LoginAction extends ActionSupport
{
private String userName;
private String password; public String getPassword() { return password; } public String getUserName() { return userName; } public void setPassword(String password) { this.password = password; } public void setUserName(String userName) { this.userName = userName; } public String doExecute() { return SUCCESS; } public void doValidation() { if (userName == null || userName.length() < 1) addError("UserName", "Please enter username."); if (password == null || password.length() < 1) addError("Password", "Please enter password."); } }
PROCESSING (HTML/java)actions>
action name="LoginAction" alias="loginJSP">
view name="input">login.jsp/view>
view name="success">success.html/view>
/action>
action name="LoginAction" alias="loginVelocity">
view name="input">login.vm/view>
view name="success">success.html/view>
/action>/actions>
PUBLISHING (HTML) html>
head>
title>WebWork Velocity Example/title>
/head>
body>
form action="loginVelocity.action" method="post">
input type="text" name="userName" value="$!userName"/>
input type="text" name="password" value="$!password"/>
input type="submit" value="Submit"/>
/form>
#foreach ($error in $errors)
$error
#end
/body>/html>
Monday, 22 March 2010
Thursday, 18 March 2010
server hosts
The user will host their own videos and pictures from their computer whereas the server will host the users blogs mail and subscribers (fans)
ALL SERVER!! - fee
design needs
- messaging
- reply
- comments
- post
- network
- people
- photos
- videos
- text
change background
Tuesday, 16 March 2010
Friday, 12 March 2010
fame/gratification/satisfaction
home
new
views
messages
interaction
subscribe
message
comment
[mail]
editing
pictures
- upload
- delete
- upload
- delete
- upload
- edit
- delete
- upload
- delete
file handling
blogs
blog widget feed*
videos
youtube
widget feed*
pictures
slideshow
games
?
blog widget feed*
videos
youtube
widget feed*
pictures
slideshow
music
player*games
?
Tuesday, 9 March 2010
logo moves
logo
??? (m) ???
position - centre
hold - moveable
1 click - non move - home
*USERS CAN CHANGE THE FOCUS OF THE PAGE*
??? (m) ???
position - centre
hold - moveable
1 click - non move - home
*USERS CAN CHANGE THE FOCUS OF THE PAGE*
network
[mail][edit][photos][videos][blogs][exit]
mail hosting - allow users to recieve send and check mail
edit layout - users can change their layout
edit photo 1/4 - edit photos in its quarter?
edit video 1/4 - edit videos in its quarter?
edit blog 1/4 - edit blogs in its quarter?
exit network - end session
*music = no go!
mail hosting - allow users to recieve send and check mail
edit layout - users can change their layout
edit photo 1/4 - edit photos in its quarter?
edit video 1/4 - edit videos in its quarter?
edit blog 1/4 - edit blogs in its quarter?
exit network - end session
*music = no go!
page layout
1/4 text - writing is one of the best communications in the world
1/4 pics - imagery is one of the six senses
1/4 vids - moving images attract more audiences
1/4 sounds - another one of the senses
personal data
individual
- pictures
locations
people
landmarks
- sounds
recordings
music
- videos
vlog
Profile =anonymous
- pictures
locations
people
landmarks
- sounds
recordings
music
- videos
vlog
- text
blog
- friends
- messages
Profile =
Saturday, 6 March 2010
current social networks
customizability
myspace : *****
youtube : ****
blogger : ****
facebook : ***
anything with interaction...
such as...
- messaging
- comments
- ratings
- fans
- subscribers
- games*
personalization:
PROFILE
controllers
microphone
camera
keyboard
mouse
why?
fame
gratification
safe
needs!
security
individual
mind@large
Subscribe to:
Posts (Atom)











.svg.png)