Author: localhost
Date: 2008-10-23 06:42:48 +0200 (Thu, 23 Oct 2008)
New Revision: 12337
Added:
plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/
plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/LICENCE
plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/README
plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/lib/
plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/package.xml
Log:
Created a new tag for sfJqueryReloadedPlugin for sf1.1 with a fixed handling of
jq_submit_to_remote
Copied: plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/LICENCE (from rev 12335,
plugins/sfJqueryReloadedPlugin/1.1/trunk/LICENCE)
===================================================================
--- plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/LICENCE
(rev 0)
+++ plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/LICENCE 2008-10-23
04:42:48 UTC (rev 12337)
@@ -0,0 +1,7 @@
+Copyright (c) 2004-2008 Fourat ZOUARI
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Property changes on: plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/LICENCE
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/README (from rev 12335,
plugins/sfJqueryReloadedPlugin/1.1/trunk/README)
===================================================================
--- plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/README
(rev 0)
+++ plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/README 2008-10-23
04:42:48 UTC (rev 12337)
@@ -0,0 +1,141 @@
+= Jquery Plug-In =
+
+The `sfJqueryReloadedPlugin` offers helpers that integrate the
[http://www.jquery.com/ Jquery] Javascript framework.
+
+== Support ==
+#symfony channel @ Freenode IRC.
+
+== Maintainer ==
+Please report all bugs to Fourat Zouari <fourat[at]gmail[dot]com> (loca|host
on IRC)
+
+== Licence ==
+This plugin is licensed under the MIT license. For the full copyright and
license information, please view the LICENSE file that was distributed with
this source code.
+
+== Introduction ==
+
+Jquery is offering an easy API, very well documented and can be a good
replacement for the Prototype framework wich's used by default on symfony
Javascript's helper.
+
+And since Jquery comes with its powerfull JqueryUI to do effects easily,
there's no need to implement scriptaculous.
+
+The integration of `sfJqueryReloadedPlugin` is made simple, developers will
have to use the new `jQuery` helper and prefix the old ''prototyped'' methods
with '''jq_'''.
+
+So the prototype method:
+
+{{{
+<?php echo link_to_remote(....);?>
+}}}
+
+will get this new Jquery form:
+
+{{{
+<?php echo jq_link_to_remote(....);?>
+}}}
+
+== Installation ==
+
+ * Install the plugin
+{{{
+$ symfony plugin-install
http://plugins.symfony-project.com/sfJqueryReloadedPlugin
+}}}
+ * Alternatively, if you don't have PEAR installed, you can download the
latest package attached to this plugin's wiki page and extract it under your
project's `plugins/` directory
+ * Download the jquery file from www.jquery.com and put it in:
+{{{
+web/js/jq/jquery.js
+}}}
+
+ You can choose to put the jQuery library somewhere alse, but then you'll
need to customize the `app_sfJQueryPlugin_library_path` setting in your
`app.yml`.
+
+== Basic syntax ==
+
+=== Declaring the helper in templates ===
+
+ * Inside a template
+{{{
+<?php use_helper('jQuery') ?>
+}}}
+
+ * In `settings.yml`, for all modules
+{{{
+standard_helpers: [..., jQuery]
+}}}
+
+=== Using Jquery methods ===
+
+To use Jquery methods, refer to ''Chapter 11''
[http://www.symfony-project.com/book/1_0/11-Ajax-Integration Ajax Integration],
all helper functions described on the chapter can be used with the '''jq_'''
prefix.
+
+== jQuery Helpers documentation ==
+
+Below are complete syntax for ready to use methods in the jQuery Helpers.
+
+ * `jq_periodically_call_remote($options = array())`
+ * `jq_link_to_function($name, $function, $html_options = array())`
+ * `jq_link_to_remote($name, $options = array(), $html_options = array())`
+ * `jq_update_element_function($element_id, $options = array())`
+ * `jq_form_remote_tag($options = array(), $options_html = array())`
+ * `jq_submit_to_remote($name, $value, $options = array(), $options_html =
array())`
+ * `jq_javascript_tag($content)`
+
+These are the methods reconverted into jQuery functions till the
`sfJqueryReloadedPlugin` last version. Future changes will integrate more
functions.
+
+== Using JSON ==
+http://trac.symfony-project.com/wiki/AjaxAndJSON#jsonwithoutheader and:
+{{{
+<?php echo jq_link_to_remote(image_tag('icons/delete.png'),
+ array('url' => '@delete')),
+ 'dataType' => 'json',
+ 'success' => 'leaveGroup(request)')) ?>
+}}}
+
+== TODO ==
+
+ * Add unit tests
+ * Use `sprintf` for string manipulation
+ * Implement the rest of the Javascript Helper:
+ * visual_effect
+ * sortable_element
+ * draggable_element
+ * drop_receiving_element
+ * input_auto_complete_tag
+ * input_in_place_editor_tag
+
+== Changelog ==
+
+=== Trunk ===
+
+ * Tiago.Ribeiro: Added JSON dataType support
+ * Tiago.Ribeiro: Removed escaping from 'with' parameter
+ * Tiago.Ribeiro: Added request parameter to `complete` callback
+ * francois: Replaced `$` by `jQuery`
+ * francois: Made the jQuery lib file configurable
+
+=== 2007-10-17 | 1.0.0 Stable ===
+
+ * fourat: success, complete, beforeSend and error .ajax options updated just
as the jQuery documentation.
+
+=== 2007-10-17 | 0.0.8 Beta ===
+
+ * fourat: Fixed data parameter handling in `jq_remote_function()`.
+
+=== 2007-10-16 | 0.0.7 Beta ===
+
+ * fourat: Fixed dataType parameter handling in `jq_remote_function()`.
+
+=== 2007-10-15 | 0.0.6 Beta ===
+
+ * fourat: Jquery has fixed the documentation and now providing a
dataType:text to forbid script execution in returned data (see ticket
[http://dev.jquery.com/ticket/1788 1788])
+
+=== 2007-10-11 | 0.0.5 Beta ===
+
+ * fourat: Fixed `method` parameter and data serialisation in
`jq_remote_function`.
+
+=== 2007-10-10 | 0.0.4 Beta ===
+
+ * fourat: Initial release
+ * fourat: Implementing basic ajax functions:
+ * jq_periodically_call_remote
+ * jq_link_to_function
+ * jq_link_to_remote
+ * jq_update_element_function
+ * jq_form_remote_tag
+ * jq_submit_to_remote
+ * jq_javascript_tag
Property changes on: plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/README
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/lib (from rev 12335,
plugins/sfJqueryReloadedPlugin/1.1/trunk/lib)
Property changes on: plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/lib
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/package.xml (from rev
12335, plugins/sfJqueryReloadedPlugin/1.1/trunk/package.xml)
===================================================================
--- plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/package.xml
(rev 0)
+++ plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/package.xml 2008-10-23
04:42:48 UTC (rev 12337)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package packagerversion="1.5.4" version="2.0"
xmlns="http://pear.php.net/dtd/package-2.0"
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
+ <name>sfJqueryReloadedPlugin</name>
+ <channel>pear.symfony-project.com</channel>
+ <summary>sfJqueryReloadedPlugin offers helpers that integrate the jQuery
Javascript framework.</summary>
+ <description>Easy integration of jQuery</description>
+ <lead>
+ <name>Fourat ZOUARI</name>
+ <user>fourat</user>
+ <email>[EMAIL PROTECTED]</email>
+ <active>yes</active>
+ </lead>
+ <date>2008-10-22</date>
+ <time>11:57:00</time>
+ <version>
+ <release>1.1.5</release>
+ <api>1.1.5</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.symfony-project.com/license">MIT license</license>
+ <notes>-</notes>
+ <contents>
+ <dir name="/">
+ <file name="lib/helper/jQueryHelper.php" role="data" />
+ <file name="README" role="data" />
+ <file name="LICENCE" role="data" />
+ </dir>
+ </contents>
+ <dependencies>
+ <required>
+ <php>
+ <min>5.1.0</min>
+ </php>
+ <pearinstaller>
+ <min>1.4.1</min>
+ </pearinstaller>
+ <package>
+ <name>symfony</name>
+ <channel>pear.symfony-project.com</channel>
+ <min>1.1.0</min>
+ <max>1.1.99</max>
+ </package>
+ </required>
+ </dependencies>
+ <phprelease />
+ <changelog />
+</package>
Property changes on: plugins/sfJqueryReloadedPlugin/1.1/tags/1.1.6/package.xml
___________________________________________________________________
Name: svn:mergeinfo
+
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en
-~----------~----~----~----~------~----~------~--~---