Thursday, September 18, 2008

Day 4 - Session 1 - PHP, JS, AIR, et al

This is our last day at ZendCon, and you can tell the buzz has died down QUITE a bit.


PHP vs JS

  • JS is a functional language, the functions are objects.
  • Anonymous functions
  • Define functions inside functions
  • Object model is different, using the prototype model.
  • Everything in JS is an object.
  • Arrays are not associative.
  • No include/require statements
  • Event driven model/asynchronous actions.
Communicate via JSON to JS (jQuery).

No comments: