1. Comparison between xajax and other ajax frameworks
The function of xajax is very simple, but very flexible! ~It is not like some other large frameworks. Its functions are indeed powerful, but its execution speed cannot be complimented. . Although it has many functions, it is not flexible enough. There are so many APIs that it’s like learning a new language.
2. Introduction to xajax functions
The functions of xajax are relatively simple, but because of its simplicity, it is flexible. At the same time, this also requires users to have a certain understanding of javascrīpt/vbs client scripts. Because its function is relatively lively. It can be said that nothing can be done by simply using xajax, but everything can be done with js/vbs.
xajax mainly uses the xajaxResponse class, which provides some methods, for example:
1. addAlert($sMsg)
pops up a warning
2. addscrīpt($sJS)
execute a certain Section js
3. $objResponse->addAssign("","","")
Add a value to an element in the page, or modify its attributes
and so on. . . .
So xajax is not dead, it cannot make XXX XXX functions, but it can flexibly control the js/vbs of the client to achieve the effect we want to achieve.
3. Xajax installation configuration
No special installation and configuration is required. Just download the file package and extract it to the website directory
Download address:
http: //www.xajaxproject.org/
4. Use xajax for member registration and login
1. The database
uses mysql5.0, database name zl table name zl_user table Structure
id int(11) auto_increment
zl_user varchar(50)
zl_pwd varchar(50)
email varchar(50)
http://blog.knowsky.com/
2. reg.php registration file (with instructions inside)