Welcome! Chicago Ajax Developers Friday, June 12 2009

  • 629 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
629
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
3
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Welcome! Chicago Ajax Developers Friday, June 12 2009
  • 2. Who Am I?
    • Arthur Kay
    • Web Developer at GFX International
    • ASP.NET and AJAX
  • 3. Who Am I?
    • 10+ years of Web Development
    • .NET, Classic ASP, PHP, Python, JavaScript, CSS
    • Analytics, SEO, Email Marketing
    • www.akawebdesign.com
    • blog.akawebdesign.com
  • 4. Chicago Ajax Developers
    • Monthly JavaScript Meetup
    • www.ChicagoAjaxDevelopers.com
  • 5. Our First Meeting!
  • 6. Agenda
    • An Introduction to ExtJS
    • Unit Testing in ExtJS
  • 7. ExtJS
    • Open Source JavaScript library for building rich internet applications.
    • Object-oriented, customizable widgets
    • www.extjs.com
    • Huge community of developers, forums
    • Ext Conference 2009
    • Lightweight Ext Core
    • Ext GWT (Java)
  • 8. ExtJS Example
    • Viewport and Grid
    • UI for my Unit Testing example
  • 9. About Unit Testing
    • Confidence that your application works when future changes are made.
    • “Unit” – the smallest testable part of an application:
      • Function
      • Class
    • Commonly done in C#, Java and similar languages.
  • 10. Unit Testing in JavaScript
    • It sucks.
    • Common problems:
      • Limited to browser
      • Global namespace
      • Latency between client/server
    • If JS developers can accept these limitations, Unit Testing is great!
  • 11. Unit Testing in JavaScript
    • Other JS Libraries have Unit Test classes
      • YUI > YUI Test
      • jQuery > QUnit
      • Prototype > TestCase
      • Script.aculo.us > UnitTest
    • ExtJS has nothing.
  • 12. Unit Testing in ExtJS
    • Ext.ux.UnitTest ()
      • TestArray[] - array
      • Store() - object
      • Test() - object
      • NewUnitTest() - function
  • 13. Ext.ux.UnitTest.Test()
    • generateGuid()
    • wait()
    • assertEquals()
    • assertNotEquals()
    • assertUndefinedOrNull ()
    • assertNotUndefinedOrNull ()
    • assertContains ()
    • assertNotContains ()
  • 14. Let’s Build Some Tests!
  • 15. Resources
    • aKa Web Design – ExtJS Unit Testing
    • ExtJS - Unit Testing Thread