Why Use Frameworks?

by: Ken Ketola

Three Questions

What are frameworks?

Why should I use a framework?

How do I use a framework?

Framework Definition

Programming frameworks are application agnostic, algorithm agnostic and platform agnostic (they help you Program efficiently).

Popular Frameworks for Popular Languages

Java

  • Spring
  • Seam
  • Struts

PHP

  • Zend Framework
  • symphony
  • CakePHP

Javascript

  • Prototype
  • Moo Tools
  • JQuery

Criteria For Picking A Framework

  1. Popularity & Community Size
  2. Philosophy
  3. Sustainability
  4. Support
  5. Technique
  6. Security
  7. Documentation
  8. License
  9. Availability of Resources on the Market
  10. Try it out!

“jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.”

Pros and Cons of Frameworks

Pros

Cons

Demonstrating JQuery Features

$( "#sortable" ).sortable();
$( "#sortable" ).disableSelection();

Resizable

$( "#resizable" ).resizable();

Drag me around

$( "#draggable" ).draggable();

How To Implement JQuery

<script type="text/javascript" src="jquery.js"></script>

Resources for Using JQuery

The BIG Finale