PHPackages                             rayamedia/yima-jquery - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. rayamedia/yima-jquery

ActiveYima-core-module[Templating &amp; Views](/categories/templating)

rayamedia/yima-jquery
=====================

jQuery view helper for integration into application.

012PHP

Since Sep 8Pushed 11y ago1 watchersCompare

[ Source](https://github.com/YiMAproject/yimaJquery)[ Packagist](https://packagist.org/packages/rayamedia/yima-jquery)[ RSS](/packages/rayamedia-yima-jquery/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

jQuery Integration View Helper Module
=====================================

[](#jquery-integration-view-helper-module)

*this module is part of Yima Application Framework*

The jQuery() view helper simplifies setup of your jQuery environment in your application. All jQuery view helpers put their javascript code onto this stack. It acts as a collector for js scripts in your application.

Why we need this?
-----------------

[](#why-we-need-this)

We working on modular system and each module can plugged into application and played his role, if module need some jQuery script in view then we have to use up jquery library, how to know that library not attached before, or which version from which address attached ?

In other hand we may used another js library like mootools in theme layout of site, and we need to use no conflict mode for jQuery scripts. Are we must edit whole modules script for this?

Also we have a collector of whole jQuery scripts, you can do more if thinking more.

Usage
-----

[](#usage)

Basic usage in view layout:

```
