Sunday, May 15, 2011

Soaps Without Betaine

AppFuse with Prototype Ajax Programming


Prototype, a JavaScript that implements the Ajax frameworks. Is object oriented, general purpose, ie can be used even in projects that involved no Ajax. Prototype

introduces an object called Ajax that, like all other objects and other functions seeks to eliminate the incompatibilities between browsers. In the case of Ajax, the XMLHttpRequest object differences between Mozilla Firefox and Microsoft ActiveX object in Internet Explorer. Internally, Prototype initializes an XMLHttpRequest object as follows:

 var Ajax = {
getTransport: function () {return
Try.these (
function () {return new XMLHttpRequest ()},
function () {return new ActiveXObject ('Msxml2.XMLHTTP ')},
function () {return new ActiveXObject (' Microsoft.XMLHTTP ')}
)

{method: 'get', parameters
'a = 1 & b = 2', onComplete
: funcionReceptora

});

 Request 
The method takes two arguments: the URL destination in which to settle the request (page, web service, flat file, etc.) and a series of data in JSON notation. Some of the possible are:


method: communication method (POST or GET).

parameters: parameters.

onComplete: function that is invoked when the transaction is complete.
asynchronous: asynchronous communication (true by default) or synchronous (false).

onSuccess: function to invoke when the transaction is completed successfully.
    onFailure: function to be invoked if there is a problem during the transaction.
  • evalScripts: true to evaluate JavaScript code of the response.
  • The function that takes control upon completion of the transaction (known as funcionReceptora) automatically takes the response as an argument:
  • funcionReceptora function (response) {
  • $ ('result'). InnerHTML = Respuesta.responseText;}
  • The answer admits the XMLHttpRequest object's properties, eg


responseText (response returned by the server).
 responseXML (response returned by the server validates as XML). 

status (response status).
statusText (description of the state).


This was a short summary of the use of Prototype
  • , leave links:
  • http://www.prototypejs.org/
  • http://api.prototypejs.org/

http : / / www.prototypejs.org / learn

Saturday, May 14, 2011

Substitute To Polaroid 600 Film




We have often heard the phrase "Programming is learned programming" and I personally believe that nothing is further from the truth. The program is a strategy game like chess, it is necessary to study. Because anyone can move the chess pieces but playing well with basics and knowing the plays, very few.
is also true that some people are born with the ability to solve problems more easily and learn, but equally it does not excuse to stop studying.
Experience is a great tool but not the only developer. He left a The smart learn from their mistakes, the wise man's mistakes.

Wednesday, May 11, 2011

Soap To Treat Folliculitis

phrase you learn programming in Erlang Concurrency



intelligent person recovers from a failure, it is not never recover from a success.





... Nor the success of others.