This plugin is not maintained anymore. Please read my article about it.

However, the documentation webstie will stay up, and PHP-Dynamics documentation website will stay up too, with the associated source code repository.

Example: jquery / Hello world

Example Controller Template
Click here...
Hello World!
<?php

class exampleAction extends sfAction
{
  public function execute($request)
  {
    sfDynamics::load('jquery');
  }
}
<style>
  div#hello
  {
    display: none;
  }
</style>

<script>
  $(document).ready(function() {
    $('a#say-hello').click(function() {
      $('div#hello').toggle();
      return false;
    })
  });
</script>

<a href="#" id="say-hello">Click here...</a>
<div id="hello">
  Hello World!
</div>