Code igniter

Solo disponible en BuenasTareas
  • Páginas : 3 (748 palabras )
  • Descarga(s) : 0
  • Publicado : 8 de marzo de 2011
Leer documento completo
Vista previa del texto
jQuery Category:Library -> External | Category:Library -> jQuery

WARNING: THIS PAGE IS OUT OF DATE. The example provided doesn’t work because the author’s site no longer contains all of thecontent. The library may work, but you’ll have to spend some time to test it yourself.

Introduction
For all my fancy Web 2.0 stuff I use jQuery. It’s lean, it’s easy, it’s fast and it’s fun. Anyway, tospeed up production I put some stuff into a jQuery class. It’s far from complete, probably has bugs, error handling broke but I’ll post it anyway. Knowledge of jQuery is necessary to work with it, itmight be helpful for some. Using VisualjQuery is very much recommended, the jquery API is on it.

Name the code below; jquery.php and put in the libraries folder. This is the class. Load it bycalling

$this->load->library('jquery'); How it worksExample is here
The view file


CI,jquery test


body {
margin: 0;
padding: 0;
font-family:Lucida Grande, Verdana, Geneva, Sans-serif;
font-size: 14px;
color: #4F5155;
background: #fff url(images/background.jpg) repeat-x left top;
}Welcome to Code Igniter

Code Igniter is an Application Development Framework - a toolkit - for people who build web sites using PHP.
Its goal is to enable you to develop projects muchfaster than you could if you were writing code
from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and
logical structure to access theselibraries. Code Igniter lets you creatively focus on your project by
minimizing the amount of code needed for a given task.

Please read the Introduction section of the User Guide to learnthe broad concepts behind Code Igniter,
then read the Getting Started page.






The CI stuff
I think it should be clear. Some jQuery stuff is loaded in the beginning....
tracking img