July 19: Create a few examples using Ajax

Lien,

Chu nghi, truoc khi apply Ajax vao “Cao Pho hay Phan Uu” applications, Chau co the tao 1 example don giang de hieu ro hon Ajax.

What do we want to see with Ajax?

a) The feature of updating a field without having the web page refresh
b) The feature of uploading a photo without having the web page refresh beacuse the photo comes from the computer hard disk, not from the web
c) The feature of resizing the photo to fit a certain box. I will explain later what I mean

Lien: July 18: how to improve form

chu Le,
I read your new posting and understood what I should do.
Now I have some ideas about web application as follow:
1. Do we need to have many forms to input information while content of them is rather same.
Cac form thuong khac nhau cau dau tien: gia dinh chung toi vo cung dau don loan tin,… hay ong, ba, co, bac; phap danh, nhu danh, ten thuong goi; man phan, qua doi; tang gia dong khap bao, tang gia dong kinh bao;…
Chau nghi minh co tao rat nhieu form cung chua chac dung y cua user muon.
Hay la minh chi tao mot form thoi, nhung minh se de san noi dung cho nhung cai label: ong ba, phap danh, huong tho,….nhung cell thong tin cu the thi de trong.

Chu Le: Agree, tao 1 form

Va user cung co the sua “phap danh” thanh “nhu danh” neu muon. Nhu vay user khong mat cong chon lua sample ma co the sua theo dung y minh muon mot cach de dang, minh cung khong phai resfresh lai nua. Trong phan fill information, minh se co mot huong dan nho nho cho user biet cach su dung, khong phai la kho khan lam.

Chu Le: OK

2. About sajax, it is good way to update directly.
Nhung chau da khog lam co so du lieu cho form, ma dung bien session de lay gia tri user nhap tao thanh mot posting, va posting do se duoc insert hay update tren co so du lieu cua wordpress. Vi minh phai dua vao database cua wordpress de lam, nen sajax tuy hay nhung chau nghi la khong phu hop lam.

Chu Le: Dung SAJAX de user thay minh type in va edit de dang. Khi submit xong, thi format la cua Wordpress

Chu Muon thay la user co the edit de dang ra ket qua xuat hien ngay

3. “Phong to message” chau se ap dung cho condolence, user click vao sample nao se co mot cua so hien thi ro rang noi dung cua sample do.
Hope you agree with me!
LienNguyen