Wiki

Articles tagged with "javascript", sorted by ratingX
Displaying 1-7 of 7 result(s).

Javascript and AJAX with Yii

Created about a year ago by Fran├žois GannazHow-tos2 comments – viewed 88,476 times – ( +39 ) – version 1.1
This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".
tags: javascript, AJAX

Clean JavaScript code in your views

Created 11 months ago by nineinchnickTutorials6 comments – viewed 13,022 times – ( +19 )
This tutorial presents a way of separating JS code from views and passing to it values from PHP.

Using Grunt for deploying client scripts

Created about a year ago by Chris83How-tos8 comments – viewed 10,267 times – ( +10 ) – version 1.1
For a long time I have struggled to find a suitable tool for doing server tasks such as compiling LESS files, concatenating and minifying of JavaScript files and copying the minified JavaScript files. While most of these tasks can be done with Yii extensions I would still not recommend using them because it requires you to include these extensions in your project, and therefore also deploying them in your production environment.

Reliable Alternative For Yii::app()->request->isAjaxRequest AND Adding Data To Ajax Form With JS

Created 2 years ago by ibo_sHow-tos2 comments – viewed 32,794 times – ( +15 / -1 ) – version 1.1
In this How-To I'll show you:

Ember.js with Yii REST backend,demo application

Created about a year ago by drumaddictOthers4 comments – viewed 22,303 times – ( +9 / -1 ) – version 1.1
Ember with Yii REST backend,demo application.

How to include Javascript, CSS

Created 9 months ago by InterboyHow-tos2 comments – viewed 283,880 times – ( +7 / -2 ) – version 1.1
There are many methods that we can include javascript, css into your Yii App. Today I will demonstrate three simple and helpul methods.

Entire Messages into javascript object

Created about a year ago by markuxHow-tos0 comments – viewed 4,289 times – ( +2 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution: