Package | com.ericfeminella.examples.login.service |
Class | public class QueryService |
Keep in mind that this service API serves as a starting point for a real world application. It is intended to serve as a base class for real world implementations. You should sub class QueryService and tailor it to your specific applications needs. Name / value pairs are not encrypted over the wire so a proper MD5 encryption should be implemented
Property | Defined by | ||
---|---|---|---|
QUERY_URI : String = "php/login-service.php" [static]
| QueryService |
Method | Defined by | ||
---|---|---|---|
QueryService(onResult:Function, onFault:Function)
Creates a QueryService Object for handling simple user logins
| QueryService | ||
Sends login Value Object to PHP script specified in static QUERY_URI for processing.
| QueryService |
QUERY_URI | property |
public static var QUERY_URI:String = "php/login-service.php"
QueryService | () | constructor |
public function QueryService(onResult:Function, onFault:Function)
Creates a QueryService Object for handling simple user logins
ParametersonResult:Function — query result responder which handles login result callbacks
|
|
onFault:Function — query fault responder which handles login fault callbacks
|
send | () | method |
public function send(loginVO:LoginVO):void
Sends login Value Object to PHP script specified in static QUERY_URI for processing.
LoginVO data is passed to a URLVariables
object as Querystring name / value pairs
Keep in mind that this service API serves as a starting point for a real world application. You should
sub class QueryService and tailor it to your specific applications needs. Name / value pairs are not encrypted
so a proper MD5 encryption should be implemented
loginVO:LoginVO — LoginVO which represents the RDMS fields client side
|