Introduction to Cappuccino

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Introduction to Cappuccino - Presentation Transcript

    1. Intro to Cappuccino jason harwig
    2. [cappuccino description] • Open source (LGPL2) • Client side (BYOBE) • Web application Framework
    3. [cappuccino background]
    4. Extending JavaScript
    5. • Classical Inheritance • Imports • No Compilation step (GWT)
    6. Prototype, Jquery, Dojo extend without new syntax
    7. var Animal = Class.create({ initialize: function(name, sound) { this.name = name; this.sound = sound; }, speak: function() { alert(this.name + \" says: \" + this.sound + \"!\"); } });
    8. ES4, JS 2 Syntax
    9. class C extends B { function C(m) { mem = m } public function getmem() { return mem } private var mem : Object };
    10. Extend a language without breaking legacy/future scripts? create a superset of JavaScript
    11. Look to History Objective-C
    12. Objective-J superset of JavaScript
    13. Objective-J Implementation
    14. Obj ective-J Ja vaScript Object ive-J File Prep rocessor
    15. -J File • Valid JavaScript is valid Objective-J Objective • Syntax resembled Objective-C
    16. import <Foundation/CPObject.j> @implementation Animal : CPObject { CPString name; CPString sound; } - (void)speak { alert(name + \" says: \" + sound + \"!\"); }
    17. • Written in JavaScript ive-J Object • No Plugin Required • No Compile Step P repro cessor
    18. Language Features
    19. @import \"MyClass.j\" ...
    20. No Memory Management
    21. Categories
    22. import <Foundation/CPString.j> @implementation CPString (Reversing) - (CPString)reverse { var reversedString = \"\", index = [self length]; while(index--) reversedString += [self characterAtIndex: index]; return reversedString; } @end
    23. Static Variables
    24. Cappuccino Cocoa Framework implemented in Objective-J
    25. \"Cappuccino is designed for applications, not web pages.\" - cappuccino.org
    26. Goodbye HTML, CSS, DOM
    27. Hello Cocoa for the web
    28. NSTex tField CPTe xtField
    29. CAAnimation CPDocument CPMutableArray CPString CABasicAnimation CPDocumentController CPMutableIndexSet CPTabView CAFlashLayer CPDOMDisplayServer CPNinePartImage CPTabViewItem CALayer CPDOMWindowBridge CPNotification CPTextField CAMediaTimingFunction CPDOMWindowLayer CPNotificationCenter CPThreePartImage CAPropertyAnimation CPEnumerator CPNull CPToolbar CPAnimation CPEvent CPNumber CPToolbarItem CPApplication CPException CPObject CPUndoManager CPArray CPFlashMovie CPPanel CPURLConnection CPArray CPFlashView CPPasteboard CPURLRequest CPBundle CPFont CPPopUpButton CPURLResponse CPButton CPFontManager CPProgressIndicator CPUserSessionManager CPClipView CPGraphicsContext CPPropertyListSerialization CPValue CPCoder CPHTTPURLResponse CPResponder CPView CPCollectionView CPImage CPRunLoop CPWebScriptObject CPCollectionViewItem CPImageView CPScroller CPWebView CPColorPanel CPIndexSet CPScrollView CPWindow CPColorPicker CPIndexSet CPSecureTextField CPWindowController CPColorWell CPInvocation CPSegmentedControl CPColorWheelColorPicker CPJSONPConnection CPShadow CPControl CPKeyedArchiver CPShadowView CPCookie CPKeyedUnarchiver CPSlider CPData CPKulerColorPicker CPSliderColorPicker CPDate CPMenu CPSortDescriptor CPDictionary CPMenuItem CPSplitView
    30. Application Structure
    31. AppController.j AppKit Frameworks Foundation NewApplication index.html Objective-J Info.plist main.j
    32. Cappuccino Starter
    33. Lights Off
    34. Build Tools Steam Press Bake
    35. • Manage the build proces • Create application S team • Compile application for release
    36. • Code optimizer Press • Combine into on js
    37. • Like Rails Capistrano Bake • Atomic releases
    38. Further Research • NIB2CIB - User Interface Builder github.com/280north/cappuccino/wikis/nib2cib • Cappucchino Documentation, Tutorials, Demos cappuccino.org

    + Jason HarwigJason Harwig, 12 months ago

    custom

    1556 views, 0 favs, 0 embeds more stats

    Introduction to the Cappuccino web application fram more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1556
      • 1556 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 18
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags